Skip to content

Commit

Permalink
Bug 1683483 [wpt PR 26959] - Update wpt metadata, a=testonly
Browse files Browse the repository at this point in the history
wpt-pr: 26959
wpt-type: metadata
  • Loading branch information
moz-wptsync-bot committed Jan 22, 2021
1 parent 9868d90 commit b40982e
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 0 deletions.
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

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

0 comments on commit b40982e

Please sign in to comment.