mirror of
https://github.com/servo/servo.git
synced 2025-09-12 07:58:20 +01:00
Use NaN-safe comparisons in DOMQuad::GetBounds (#33794)
* Use nan-safe comparison in DOMQuad::GetBounds This fixes at least the following WPT test: * css/geometry/DOMQuad-nan.html Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
f15da16da4
commit
fc2c77be83
3 changed files with 52 additions and 54 deletions
|
@ -1,4 +0,0 @@
|
|||
[DOMQuad-001.html]
|
||||
[fromRect() method on DOMQuad with Infinity: bounds]
|
||||
expected: FAIL
|
||||
|
25
tests/wpt/meta/css/geometry/DOMQuad-nan.html.ini
vendored
25
tests/wpt/meta/css/geometry/DOMQuad-nan.html.ini
vendored
|
@ -1,25 +0,0 @@
|
|||
[DOMQuad-nan.html]
|
||||
[Setting DOMQuad's p1.x to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p2.y to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p2.x to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p4.x to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p3.x to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p3.y to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p4.y to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[Setting DOMQuad's p1.y to NaN]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue