-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1683483 [wpt PR 26959] - Update wpt metadata, a=testonly
wpt-pr: 26959 wpt-type: metadata
- Loading branch information
1 parent
9868d90
commit b40982e
Showing
2 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
testing/web-platform/meta/css/css-values/calc-catch-divide-by-0.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[calc-catch-divide-by-0.html] | ||
['calc(100px * 0 / 0)' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px / 0)' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px / (0))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px / (2 - 2))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px / (2 - (-62 + 64)))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px * (1 / 0))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px * (1 / (0)))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px * (1 / (2 - 2)))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(100px * (1 / (2 - (-62 + 64))))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(1/0, 0))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * min(1/0, 0))' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0/0, 0))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * min(0/0, 0))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0/0, min(0,10)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(0/0, 0, 10))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0, min(10, 0/0)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(0, 10, 0/0))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0, min(0/0, 10)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(0, 0/0, 10))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(-1/0, 0, 1/0))' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(-1/0, 1/0, 10))' as a specified value should serialize as 'calc(10px)'.] | ||
expected: FAIL | ||
|
85 changes: 85 additions & 0 deletions
85
testing/web-platform/meta/css/css-values/calc-infinity-nan.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
[calc-infinity-nan.html] | ||
['calc(1px * NaN)' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * nan)' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * infinity / infinity)' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * 0 * infinity)' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * (infinity + -infinity))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * (-infinity + infinity))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * (infinity - infinity))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * infinity)' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * -infinity)' as a specified value should serialize as 'calc(-infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * iNFinIty)' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * (infinity + infinity))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * (-infinity + -infinity))' as a specified value should serialize as 'calc(-infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * 1/infinity)' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * infinity * infinity)' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * -infinity * -infinity)' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1 * max(INFinity*3px, 0px))' as a specified value should serialize as 'calc(infinity * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1 * min(inFInity*4px, 0px))' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1 * max(nAn*2px, 0px))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1 * min(nan*3px, 0px))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1 * clamp(-INFINITY*20px, 0px, infiniTY*10px))' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(NaN, min(0,10)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(NaN, 0, 10))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0, min(10, NaN)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(0, 10, NaN))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * max(0, min(NaN, 10)))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(0, NaN, 10))' as a specified value should serialize as 'calc(NaN * 1px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(-Infinity, 0, infinity))' as a specified value should serialize as 'calc(0px)'.] | ||
expected: FAIL | ||
|
||
['calc(1px * clamp(-inFinity, infinity, 10))' as a specified value should serialize as 'calc(10px)'.] | ||
expected: FAIL | ||
|