summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-values/calc-catch-divide-by-0.html.ini
blob: f4a6df627d4dcc9aee68b2b110dd32c3fce962c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[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 * 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