mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Use NaN safe min() and max() functions to compute DOMQuad bounds
This commit is contained in:
parent
607880cbd3
commit
5136b495a6
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/tcl3
Commit: 5136b495a6
Pull-request: https://github.com/SerenityOS/serenity/pull/23228
Reviewed-by: https://github.com/AtkinsSJ
3 changed files with 25 additions and 4 deletions
|
@ -2,3 +2,4 @@
|
|||
2. {"p1":{"x":0,"y":0,"z":0,"w":1},"p2":{"x":100,"y":0,"z":0,"w":1},"p3":{"x":100,"y":100,"z":0,"w":1},"p4":{"x":0,"y":100,"z":0,"w":1}}
|
||||
3. {"p1":{"x":0,"y":0,"z":0,"w":1},"p2":{"x":100,"y":0,"z":0,"w":1},"p3":{"x":100,"y":100,"z":0,"w":1},"p4":{"x":0,"y":100,"z":0,"w":1}}
|
||||
4. {"x":0,"y":0,"width":100,"height":100,"top":0,"right":100,"bottom":100,"left":0}
|
||||
5. {"x":null,"y":null,"width":null,"height":null,"top":null,"right":null,"bottom":null,"left":null}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue