mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
LibWeb: Don't crash when querying offsets of empty inline elements
Previously, querying `offsetTop` or `offsetLeft` of an inline element with no text would cause a crash.
This commit is contained in:
parent
99fbd33d7d
commit
d1226f0b15
3 changed files with 15 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
Top: 0
|
||||
Left: 0
|
Loading…
Add table
Add a link
Reference in a new issue