14.62css/css-values/

1,821 / 1,947 WPT subtests passing

Failed
126
Timed out
0
Not run
0
Test files
56
Blocking files
0

Chrome 1,827 / 1,947 WPT subtests passing on the same files, none blocking

Tests

3 directories, 49 test files here
DirectorySubtests passingChromeTest filesStanding
calc-size/63 / 101101 / 1013none blocking
tree-counting/47 / 4747 / 471none blocking
urls/40 / 4040 / 403none blocking

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
acos-asin-atan-atan2-computed.html52 / 52 passingChrome 51 / 520 failedClean
Standing
Clean runner status OK
Chrome
With failures 51 / 52 WPT subtests passing runner status OK
52 passing subtests
  1. acos(1) should be used-value-equivalent to 0deg
  2. atan(0) should be used-value-equivalent to 0deg
  3. asin(0) should be used-value-equivalent to 0deg
  4. atan2(0,0) should be used-value-equivalent to 0deg
  5. calc(asin(sin(pi/2))) should be used-value-equivalent to 90deg
  6. calc(acos(cos(pi - 3.14159265358979323846))) should be used-value-equivalent to 0deg
  7. calc(atan(e - 2.7182818284590452354) ) should be used-value-equivalent to 0deg
  8. calc(asin(sin(30deg + 1.0471967rad ) )) should be used-value-equivalent to 90deg
  9. calc(acos(cos(30deg - 0.523599rad ) )) should be used-value-equivalent to 0deg
  10. calc(asin(sin(3.14159 / 2 + 1 - 1) )) should be used-value-equivalent to 90deg
  11. calc(asin(sin(100grad) )) should be used-value-equivalent to 90deg
  12. calc(acos(cos(0 / 2 + 1 - 1) )) should be used-value-equivalent to 0deg
  13. calc(atan(tan(30deg + 0.261799rad ) )) should be used-value-equivalent to 45deg
  14. calc(atan(tan(0.7853975rad ) )) should be used-value-equivalent to 45deg
  15. calc(atan(tan(3.14159 / 4 + 1 - 1) )) should be used-value-equivalent to 45deg
  16. calc(asin(sin(0.25turn)) ) should be used-value-equivalent to 90deg
  17. calc(atan2(0,1)) should be used-value-equivalent to 0deg
  18. calc(atan2(0,-1) / 4) should be used-value-equivalent to 45deg
  19. calc(atan2(1,-1)) should be used-value-equivalent to 135deg
  20. calc(atan2(-1,1)) should be used-value-equivalent to -45deg
  21. calc(asin(sin(180deg * sibling-index()))) should be used-value-equivalent to 0deg
  22. calc(acos(cos(180deg * sibling-index()))) should be used-value-equivalent to 180deg
  23. calc(atan(tan(180deg * sibling-index()))) should be used-value-equivalent to 0deg
  24. calc(atan2(1, sibling-index())) should be used-value-equivalent to 45deg
  25. calc(asin(sin(180deg * sign(1em - 1px)))) should be used-value-equivalent to 0deg
  26. calc(acos(cos(180deg * sign(1em - 1px)))) should be used-value-equivalent to 180deg
  27. calc(atan(tan(180deg * sign(1em - 1px)))) should be used-value-equivalent to 0deg
  28. calc(atan2(1, sign(1em - 1px))) should be used-value-equivalent to 45deg
  29. calc(tan(atan2(round(up,1px,100%),round(up,1px,100%)))*1px) should be computed-value-equivalent to calc(tan(atan2(round(up,1px,100%),round(up,1px,100%)))*1px)
  30. calc(1px * pow(tan(atan2(50%, 1px)), 1)) should be computed-value-equivalent to calc(1px * pow(tan(atan2(50%, 1px)), 1))
  31. calc(cos(sin(acos(cos(pi))))) should be used-value-equivalent to 1
  32. atan2(1px, -1px) should be used-value-equivalent to 135deg
  33. atan2(1cm, -1cm) should be used-value-equivalent to 135deg
  34. atan2(1mm, -1mm) should be used-value-equivalent to 135deg
  35. atan2(1Q, -1Q) should be used-value-equivalent to 135deg
  36. atan2(1in, -1in) should be used-value-equivalent to 135deg
  37. atan2(1pc, -1pc) should be used-value-equivalent to 135deg
  38. atan2(1pt, -1pt) should be used-value-equivalent to 135deg
  39. atan2(1em, -1em) should be used-value-equivalent to 135deg
  40. atan2(1ex, -1ex) should be used-value-equivalent to 135deg
  41. atan2(1ch, -1ch) should be used-value-equivalent to 135deg
  42. atan2(1rem, -1rem) should be used-value-equivalent to 135deg
  43. atan2(1rem + 1px - 1px, -1rem) should be used-value-equivalent to 135deg
  44. atan2(1vh, -1vh) should be used-value-equivalent to 135deg
  45. atan2(1vh + 0px, -1vh + 0px) should be used-value-equivalent to 135deg
  46. atan2(1vw, -1vw) should be used-value-equivalent to 135deg
  47. atan2(1deg, -1deg) should be used-value-equivalent to 135deg
  48. atan2(1grad, -1grad) should be used-value-equivalent to 135deg
  49. atan2(1turn, -1turn) should be used-value-equivalent to 135deg
  50. atan2(1rad, -1rad) should be used-value-equivalent to 135deg
  51. atan2(1s, -1s) should be used-value-equivalent to 135deg
  52. atan2(1ms, -1ms) should be used-value-equivalent to 135deg
attr-IACVT.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values Test: attr() IACVT
attr-all-types.html175 / 175 passingChrome 175 / 1750 failedClean
Standing
Clean runner status OK
Chrome
Clean 175 / 175 WPT subtests passing runner status OK
175 passing subtests
  1. Invariant behaviour for var
  2. CSS Values and Units Test: attr
  3. CSS Values and Units Test: attr 1
  4. CSS Values and Units Test: attr 2
  5. CSS Values and Units Test: attr 3
  6. CSS Values and Units Test: attr 4
  7. CSS Values and Units Test: attr 5
  8. CSS Values and Units Test: attr 6
  9. CSS Values and Units Test: attr 7
  10. CSS Values and Units Test: attr 8
  11. CSS Values and Units Test: attr 9
  12. CSS Values and Units Test: attr 10
  13. CSS Values and Units Test: attr 11
  14. CSS Values and Units Test: attr 12
  15. CSS Values and Units Test: attr 13
  16. CSS Values and Units Test: attr 14
  17. CSS Values and Units Test: attr 15
  18. CSS Values and Units Test: attr 16
  19. CSS Values and Units Test: attr 17
  20. CSS Values and Units Test: attr 18
  21. CSS Values and Units Test: attr 19
  22. CSS Values and Units Test: attr 20
  23. CSS Values and Units Test: attr 21
  24. CSS Values and Units Test: attr 22
  25. CSS Values and Units Test: attr 23
  26. CSS Values and Units Test: attr 24
  27. CSS Values and Units Test: attr 25
  28. CSS Values and Units Test: attr 26
  29. CSS Values and Units Test: attr 27
  30. CSS Values and Units Test: attr 28
  31. CSS Values and Units Test: attr 29
  32. CSS Values and Units Test: attr 30
  33. CSS Values and Units Test: attr 31
  34. CSS Values and Units Test: attr 32
  35. CSS Values and Units Test: attr 33
  36. CSS Values and Units Test: attr 34
  37. CSS Values and Units Test: attr 35
  38. CSS Values and Units Test: attr 36
  39. CSS Values and Units Test: attr 37
  40. CSS Values and Units Test: attr 38
  41. CSS Values and Units Test: attr 39
  42. CSS Values and Units Test: attr 40
  43. CSS Values and Units Test: attr 41
  44. CSS Values and Units Test: attr 42
  45. CSS Values and Units Test: attr 43
  46. CSS Values and Units Test: attr 44
  47. CSS Values and Units Test: attr 45
  48. CSS Values and Units Test: attr 46
  49. CSS Values and Units Test: attr 47
  50. CSS Values and Units Test: attr 48
  51. CSS Values and Units Test: attr 49
  52. CSS Values and Units Test: attr 50
  53. CSS Values and Units Test: attr 51
  54. CSS Values and Units Test: attr 52
  55. CSS Values and Units Test: attr 53
  56. CSS Values and Units Test: attr 54
  57. CSS Values and Units Test: attr 55
  58. CSS Values and Units Test: attr 56
  59. CSS Values and Units Test: attr 57
  60. CSS Values and Units Test: attr 58
  61. CSS Values and Units Test: attr 59
  62. CSS Values and Units Test: attr 60
  63. CSS Values and Units Test: attr 61
  64. CSS Values and Units Test: attr 62
  65. CSS Values and Units Test: attr 63
  66. CSS Values and Units Test: attr 64
  67. CSS Values and Units Test: attr 65
  68. CSS Values and Units Test: attr 66
  69. CSS Values and Units Test: attr 67
  70. CSS Values and Units Test: attr 68
  71. CSS Values and Units Test: attr 69
  72. CSS Values and Units Test: attr 70
  73. CSS Values and Units Test: attr 71
  74. CSS Values and Units Test: attr 72
  75. CSS Values and Units Test: attr 73
  76. CSS Values and Units Test: attr 74
  77. CSS Values and Units Test: attr 75
  78. CSS Values and Units Test: attr 76
  79. CSS Values and Units Test: attr 77
  80. CSS Values and Units Test: attr 78
  81. CSS Values and Units Test: attr 79
  82. CSS Values and Units Test: attr 80
  83. CSS Values and Units Test: attr 81
  84. CSS Values and Units Test: attr 82
  85. CSS Values and Units Test: attr 83
  86. CSS Values and Units Test: attr 84
  87. CSS Values and Units Test: attr 85
  88. CSS Values and Units Test: attr 86
  89. CSS Values and Units Test: attr 87
  90. CSS Values and Units Test: attr 88
  91. CSS Values and Units Test: attr 89
  92. CSS Values and Units Test: attr 90
  93. CSS Values and Units Test: attr 91
  94. CSS Values and Units Test: attr 92
  95. CSS Values and Units Test: attr 93
  96. CSS Values and Units Test: attr 94
  97. CSS Values and Units Test: attr 95
  98. CSS Values and Units Test: attr 96
  99. CSS Values and Units Test: attr 97
  100. CSS Values and Units Test: attr 98
  101. CSS Values and Units Test: attr 99
  102. CSS Values and Units Test: attr 100
  103. CSS Values and Units Test: attr 101
  104. CSS Values and Units Test: attr 102
  105. CSS Values and Units Test: attr 103
  106. CSS Values and Units Test: attr 104
  107. CSS Values and Units Test: attr 105
  108. CSS Values and Units Test: attr 106
  109. CSS Values and Units Test: attr 107
  110. CSS Values and Units Test: attr 108
  111. CSS Values and Units Test: attr 109
  112. CSS Values and Units Test: attr 110
  113. CSS Values and Units Test: attr 111
  114. CSS Values and Units Test: attr 112
  115. CSS Values and Units Test: attr 113
  116. CSS Values and Units Test: attr 114
  117. CSS Values and Units Test: attr 115
  118. CSS Values and Units Test: attr 116
  119. CSS Values and Units Test: attr 117
  120. CSS Values and Units Test: attr 118
  121. CSS Values and Units Test: attr 119
  122. CSS Values and Units Test: attr 120
  123. CSS Values and Units Test: attr 121
  124. CSS Values and Units Test: attr 122
  125. CSS Values and Units Test: attr 123
  126. CSS Values and Units Test: attr 124
  127. CSS Values and Units Test: attr 125
  128. CSS Values and Units Test: attr 126
  129. CSS Values and Units Test: attr 127
  130. CSS Values and Units Test: attr 128
  131. CSS Values and Units Test: attr 129
  132. CSS Values and Units Test: attr 130
  133. CSS Values and Units Test: attr 131
  134. CSS Values and Units Test: attr 132
  135. CSS Values and Units Test: attr 133
  136. CSS Values and Units Test: attr 134
  137. CSS Values and Units Test: attr 135
  138. CSS Values and Units Test: attr 136
  139. CSS Values and Units Test: attr 137
  140. CSS Values and Units Test: attr 138
  141. CSS Values and Units Test: attr 139
  142. CSS Values and Units Test: attr 140
  143. CSS Values and Units Test: attr 141
  144. CSS Values and Units Test: attr 142
  145. CSS Values and Units Test: attr 143
  146. CSS Values and Units Test: attr 144
  147. CSS Values and Units Test: attr 145
  148. CSS Values and Units Test: attr 146
  149. CSS Values and Units Test: attr 147
  150. CSS Values and Units Test: attr 148
  151. CSS Values and Units Test: attr 149
  152. CSS Values and Units Test: attr 150
  153. CSS Values and Units Test: attr 151
  154. CSS Values and Units Test: attr 152
  155. CSS Values and Units Test: attr 153
  156. CSS Values and Units Test: attr 154
  157. CSS Values and Units Test: attr 155
  158. CSS Values and Units Test: attr 156
  159. CSS Values and Units Test: attr 157
  160. CSS Values and Units Test: attr 158
  161. CSS Values and Units Test: attr 159
  162. CSS Values and Units Test: attr 160
  163. CSS Values and Units Test: attr 161
  164. CSS Values and Units Test: attr 162
  165. CSS Values and Units Test: attr 163
  166. CSS Values and Units Test: attr 164
  167. CSS Values and Units Test: attr 165
  168. CSS Values and Units Test: attr 166
  169. CSS Values and Units Test: attr 167
  170. CSS Values and Units Test: attr 168
  171. CSS Values and Units Test: attr 169
  172. CSS Values and Units Test: attr 170
  173. CSS Values and Units Test: attr 171
  174. CSS Values and Units Test: attr 172
  175. CSS Values and Units Test: attr 173
attr-argument-grammar.html15 / 18 passingChrome 8 / 183 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 8 / 18 WPT subtests passing runner status OK
  1. FAILCSS Values and Units Test: attr() argument grammar 8
    assert_equals: Value 'attr(data-foo &, 30)', where 'data-foo=10' should be valid for the property 'font-weight'. expected "30" but got "400"
  2. FAILCSS Values and Units Test: attr() argument grammar 9
    assert_equals: Value 'attr(data-foo type(<number>) | <length>, 30)', where 'data-foo=10' should be valid for the property 'font-weight'. expected "30" but got "400"
  3. FAILCSS Values and Units Test: attr() argument grammar 10
    assert_equals: Value 'attr(data-foo type(invalid |), 10)', where 'data-foo=0' should be valid for the property 'font-weight'. expected "10" but got "400"
15 passing subtests
  1. CSS Values and Units Test: attr() argument grammar
  2. CSS Values and Units Test: attr() argument grammar 1
  3. CSS Values and Units Test: attr() argument grammar 2
  4. CSS Values and Units Test: attr() argument grammar 3
  5. CSS Values and Units Test: attr() argument grammar 4
  6. CSS Values and Units Test: attr() argument grammar 5
  7. CSS Values and Units Test: attr() argument grammar 6
  8. CSS Values and Units Test: attr() argument grammar 7
  9. CSS Values and Units Test: attr() argument grammar 11
  10. CSS Values and Units Test: attr() argument grammar 12
  11. CSS Values and Units Test: attr() argument grammar 13
  12. CSS Values and Units Test: attr() argument grammar 14
  13. CSS Values and Units Test: attr() argument grammar 15
  14. CSS Values and Units Test: attr() argument grammar 16
  15. CSS Values and Units Test: attr() argument grammar 17
attr-container-style-query.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. style query should implement to true
attr-css-wide-keywords.html21 / 21 passingChrome 15 / 210 failedClean
Standing
Clean runner status OK
Chrome
With failures 15 / 21 WPT subtests passing runner status OK
21 passing subtests
  1. font-style: attr(data-foo type(*)) with data-foo="inherit"
  2. font-style: attr(data-foo type(*)) with data-foo="revert"
  3. color: attr(data-foo type(*)) with data-foo="initial"
  4. color: attr(data-foo type(*)) with data-foo="unset"
  5. --x: attr(data-foo type(*)) with data-foo="inherit"
  6. --y: attr(data-foo type(*)) with data-foo="initial"
  7. --y: attr(data-foo type(*)) with data-foo="unset"
  8. font-style: attr(invalid, inherit) with data-foo=""
  9. font-style: attr(invalid, revert) with data-foo=""
  10. color: attr(invalid, initial) with data-foo=""
  11. color: attr(invalid, unset) with data-foo=""
  12. --x: attr(invalid, inherit) with data-foo=""
  13. --y: attr(invalid, initial) with data-foo=""
  14. --y: attr(invalid, unset) with data-foo=""
  15. --z: attr(invalid, inherit) with data-foo=""
  16. --z: attr(invalid, initial) with data-foo=""
  17. font-style: attr(data-foo type(*)) with data-foo="attr(invalid, inherit)"
  18. --x: attr(data-foo type(*)) with data-foo="attr(invalid, inherit)"
  19. --y: attr(data-foo type(*)) with data-foo="attr(invalid, initial)"
  20. --y: attr(data-foo type(*)) with data-foo="attr(invalid, unset)"
  21. --z: attr(data-foo type(*)) with data-foo="attr(invalid, inherit)"
attr-cycle.html37 / 37 passingChrome 37 / 370 failedClean
Standing
Clean runner status OK
Chrome
Clean 37 / 37 WPT subtests passing runner status OK
37 passing subtests
  1. CSS Values and Units Test: attr
  2. CSS Values and Units Test: attr 1
  3. CSS Values and Units Test: attr 2
  4. CSS Values and Units Test: attr 3
  5. CSS Values and Units Test: attr 4
  6. CSS Values and Units Test: attr 5
  7. CSS Values and Units Test: attr 6
  8. CSS Values and Units Test: attr 7
  9. CSS Values and Units Test: attr 8
  10. CSS Values and Units Test: attr 9
  11. CSS Values and Units Test: attr 10
  12. CSS Values and Units Test: attr 11
  13. CSS Values and Units Test: attr 12
  14. CSS Values and Units Test: attr 13
  15. CSS Values and Units Test: attr 14
  16. CSS Values and Units Test: attr 15
  17. CSS Values and Units Test: attr 16
  18. CSS Values and Units Test: attr 17
  19. CSS Values and Units Test: attr 18
  20. CSS Values and Units Test: attr 19
  21. CSS Values and Units Test: attr 20
  22. CSS Values and Units Test: attr 21
  23. CSS Values and Units Test: attr 22
  24. CSS Values and Units Test: attr 23
  25. CSS Values and Units Test: attr 24
  26. CSS Values and Units Test: attr 25
  27. CSS Values and Units Test: attr 26
  28. CSS Values and Units Test: attr 27
  29. CSS Values and Units Test: attr 28
  30. CSS Values and Units Test: attr 29
  31. CSS Values and Units Test: attr 30
  32. CSS Values and Units Test: attr 31
  33. CSS Values and Units Test: attr 32
  34. CSS Values and Units Test: attr 33
  35. CSS Values and Units Test: attr 34
  36. CSS Values and Units Test: attr 35
  37. CSS Values and Units Test: attr 36
attr-invalidation-after-stylesheet-change.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. attr() invalidates on attribute change after a style sheet is added
attr-invalidation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: attr() invalidation
attr-length-specified.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. type(<length>) lowercase
  2. type(<length>) uppercase
  3. Unit (em) number
attr-null-namespace.xhtml5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Sanity check
  2. Attribute in null-namespace is substituted
  3. Fallback is taken when attribute does not exist in null-namespace
  4. Attribute in null-namespace is substituted (JS)
  5. Fallback is taken when attribute does not does exist in null-namespace (JS)
attr-parse-url.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: Parsing URLs in attr
attr-pseudo-elem-invalidation-2.html9 / 9 passingChrome 6 / 90 failedClean
Standing
Clean runner status OK
Chrome
With failures 6 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. CSS Values and Units Test: attr() invalidation of pseudo elements
  2. CSS Values and Units Test: attr() invalidation of pseudo elements 1
  3. CSS Values and Units Test: attr() invalidation of pseudo elements 2
  4. CSS Values and Units Test: attr() invalidation of pseudo elements 3
  5. CSS Values and Units Test: attr() invalidation of pseudo elements 4
  6. CSS Values and Units Test: attr() invalidation of pseudo elements 5
  7. CSS Values and Units Test: attr() invalidation of pseudo elements 6
  8. CSS Values and Units Test: attr() invalidation of pseudo elements 7
  9. CSS Values and Units Test: attr() invalidation of pseudo elements 8
attr-pseudo-elem-invalidation.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. CSS Values and Units Test: attr() invalidation of pseudo elements
  2. CSS Values and Units Test: attr() invalidation of pseudo elements 1
  3. CSS Values and Units Test: attr() invalidation of pseudo elements 2
  4. CSS Values and Units Test: attr() invalidation of pseudo elements 3
  5. CSS Values and Units Test: attr() invalidation of pseudo elements 4
  6. CSS Values and Units Test: attr() invalidation of pseudo elements 5
attr-pseudo-element-originating.html6 / 6 passingChrome 1 / 60 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. ::part() attr() resolves on shadow host
  2. ::part() attr() with percentage type resolves on shadow host
  3. ::part() attr() invalidation on host attribute change
  4. ::part() attr() resolves on the originating host across exportparts
  5. ::part() attr() invalidation across exportparts
  6. ::slotted() attr() invalidation on the slotted element
attr-revert-rule.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. The revert-rule works in an attr() fallback
attr-security-if.html14 / 14 passingChrome 14 / 140 failedClean
Standing
Clean runner status OK
Chrome
Clean 14 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. '--x: image-set(if(style(--true): attr(data-foo);))' with data-foo="https://does-not-exist.test/404.png"
  2. 'background-image: image-set(if(style(--true): attr(data-foo);))' with data-foo="https://does-not-exist.test/404.png"
  3. 'background-image: image-set( if(style(--true): url(https://does-not-exist-2.test/404.png); else: attr(data-foo);))' with data-foo="https://does-not-exist-2.test/404.png"
  4. 'background-image: image-set( if(style(--some-string): url(https://does-not-exist.test/404.png);))' with data-foo="https://does-not-exist.test/404.png"
  5. 'background-image: image-set( if(style(--condition-val: attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  6. 'background-image: image-set( if(style(--condition-val: attr(data-foo type(*))): url(https://does-not-exist.test/404.png); style(--true): url(https://does-not-exist.test/404.png); else: url(https://does-not-exist.test/404.png);))' with data-foo="1"
  7. 'background-image: image-set(if(style(--true): url(https://does-not-exist.test/404.png); style(--condition-val): url(https://does-not-exist.test/404.png); else: url(https://does-not-exist.test/404.png);))' with data-foo="attr(data-foo type(*))"
  8. 'background-image: image-set( if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  9. '--x: image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  10. '--x: image-set(if(style(--condition-val >= attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  11. 'background-image: image-set( if(style(--condition-val >= attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  12. 'background-image: image-set( if(style(--condition-val < attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  13. 'background-image: image-set( if(style(--str < attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"
  14. 'background-image: image-set( if(style(--condition-val < attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="text"
attr-security.html31 / 32 passingChrome 32 / 321 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 32 / 32 WPT subtests passing runner status OK
  1. FAIL'background-image: image("https://does-not-exist.test/404.png")' with data-foo="https://does-not-exist.test/404.png"
    assert_equals: expected "image(url(\"https://does-not-exist.test/404.png\"))" but got "image(\"https://does-not-exist.test/404.png\")"
31 passing subtests
  1. '--x: image-set(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  2. 'background-image: image-set(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  3. 'background: image-set(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  4. 'background-image: image-set("https://does-not-exist.test/404.png")' with data-foo="https://does-not-exist.test/404.png"
  5. '--x: src(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  6. 'background-image: src(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  7. 'background-image: src("https://does-not-exist.test/404.png")' with data-foo="https://does-not-exist.test/404.png"
  8. '--x: src(string("https://does-not-exist.test" attr(data-foo)))' with data-foo="/404.png"
  9. 'background-image: src(string("https://does-not-exist.test" attr(data-foo)))' with data-foo="/404.png"
  10. 'background-image: src(string("https://does-not-exist.test/""404.png"))' with data-foo="/404.png"
  11. 'background-image: attr(data-foo type(<url>))' with data-foo="url(https://does-not-exist.test/404.png)"
  12. 'background-image: url("https://does-not-exist.test/404.png")' with data-foo="url(https://does-not-exist.test/404.png)"
  13. '--x: image(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  14. 'background-image: image(attr(data-foo))' with data-foo="https://does-not-exist.test/404.png"
  15. 'background-image: url(https://does-not-exist.test/404.png), attr(data-foo type(<image>))' with data-foo="linear-gradient(#000000, #ffffff)"
  16. '--x: image-set(var(--y, attr(data-foo)))' with data-foo="https://does-not-exist.test/404.png"
  17. 'background-image: image-set(var(--y, attr(data-foo)))' with data-foo="https://does-not-exist.test/404.png"
  18. '--x: image-set(var(--some-string))' with data-foo="https://does-not-exist.test/404.png"
  19. 'background-image: image-set(var(--some-string))' with data-foo="https://does-not-exist.test/404.png"
  20. '--x: image-set(var(--some-string-list))' with data-foo="https://does-not-exist.test/404.png"
  21. 'background-image: image-set(var(--some-string-list))' with data-foo="https://does-not-exist.test/404.png"
  22. '--registered-url: attr(data-foo type(<url>))' with data-foo="${url}"
  23. '--registered-color: attr(data-foo type(<color>))' with data-foo="blue"
  24. '--x: image-set(var(--some-other-url))' with data-foo="https://does-not-exist.test/404.png"
  25. 'background-image: image-set(var(--some-other-url))' with data-foo="https://does-not-exist.test/404.png"
  26. 'background-image: attr(data-foo type(*))' with data-foo="url(https://does-not-exist.test/404.png), linear-gradient(black, white)"
  27. 'background-image: image-set(var(--image-set-valid))' with data-foo="image/jpeg"
  28. 'background-image: image-set(var(--image-set-invalid))' with data-foo="https://does-not-exist.test/404.png"
  29. 'background-image: attr(data-foo type(*))' with data-foo="linear-gradient(black, white), url(https://does-not-exist.test/404.png)"
  30. 'background-image: var(--url-after-gradients)' with data-foo="https://does-not-exist.test/404.png"
  31. 'background-image: var(--undefined, var(--url-after-gradients))' with data-foo="https://does-not-exist.test/404.png"
attr-serialization.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. 'attr(data-foo type(<length>))' as a computed value should serialize as '10px'.
attr-universal-selector.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: attr() security limitations in universal selector
calc-dimension-serialization-order.html44 / 44 passingChrome 44 / 440 failedClean
Standing
Clean runner status OK
Chrome
Clean 44 / 44 WPT subtests passing runner status OK
44 passing subtests
  1. all dimensions reverse-sorted serialize back in canonical order
  2. cap sorts after %
  3. ch sorts after cap
  4. cqb sorts after ch
  5. cqh sorts after cqb
  6. cqi sorts after cqh
  7. cqmax sorts after cqi
  8. cqmin sorts after cqmax
  9. cqw sorts after cqmin
  10. dvb sorts after cqw
  11. dvh sorts after dvb
  12. dvi sorts after dvh
  13. dvmax sorts after dvi
  14. dvmin sorts after dvmax
  15. dvw sorts after dvmin
  16. em sorts after dvw
  17. ex sorts after em
  18. ic sorts after ex
  19. lh sorts after ic
  20. lvb sorts after lh
  21. lvh sorts after lvb
  22. lvi sorts after lvh
  23. lvmax sorts after lvi
  24. lvmin sorts after lvmax
  25. lvw sorts after lvmin
  26. px sorts after lvw
  27. rcap sorts after px
  28. rch sorts after rcap
  29. rem sorts after rch
  30. rex sorts after rem
  31. ric sorts after rex
  32. rlh sorts after ric
  33. svb sorts after rlh
  34. svh sorts after svb
  35. svi sorts after svh
  36. svmax sorts after svi
  37. svmin sorts after svmax
  38. svw sorts after svmin
  39. vb sorts after svw
  40. vh sorts after vb
  41. vi sorts after vh
  42. vmax sorts after vi
  43. vmin sorts after vmax
  44. vw sorts after vmin
calc-infinity-nan-computed.html60 / 73 passingChrome 68 / 7313 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 68 / 73 WPT subtests passing runner status OK
  1. FAILProperty width value 'calc(NaN * 1%)'
    assert_equals: expected "0px" but got "0%"
  2. FAILProperty width value 'min(50%, NaN * 1px)'
    assert_equals: expected "0px" but got "min(50%, NaN * 1px)"
  3. FAILProperty width value 'min(NaN * 1px, 50%)'
    assert_equals: expected "0px" but got "min(NaN * 1px, 50%)"
  4. FAILProperty width value 'max(50%, NaN * 1px)'
    assert_equals: expected "0px" but got "max(50%, NaN * 1px)"
  5. FAILProperty width value 'max(NaN * 1px, 50%)'
    assert_equals: expected "0px" but got "max(NaN * 1px, 50%)"
  6. FAILProperty width value 'clamp(50%, NaN * 1px, 100px)'
    assert_equals: expected "0px" but got "clamp(50%, NaN * 1px, 100px)"
  7. FAILProperty width value 'clamp(10px, 50%, NaN * 1px)'
    assert_equals: expected "0px" but got "clamp(10px, 50%, NaN * 1px)"
  8. FAILProperty width value 'clamp(NaN * 1px, 50%, 100px)'
    assert_equals: expected "0px" but got "clamp(NaN * 1px, 50%, 100px)"
  9. FAILProperty width value 'calc(min(50%, NaN * 1px) + 10px)'
    assert_equals: expected "0px" but got "calc(10px + min(50%, NaN * 1px))"
  10. FAILProperty width value 'calc(infinity * 1px - infinity * 1%)'
    assert_equals: expected "0px" but got "calc(-infinity * 1% + infinity * 1px)"
  11. FAILProperty width value 'calc(infinity * 1px + infinity * 1%)'
    assert_true: calc(infinity * 1px + infinity * 1%) expected finite value but got NaN expected true got false
  12. FAILProperty width value 'calc(infinity * 1px - max(infinity * 1%, 0%))'
    assert_equals: expected "0px" but got "calc(infinity * 1px - max(infinity * 1%, 0%))"
  13. FAILProperty margin-left value 'calc(min(1px, -infinity * 1%))'
    assert_true: calc(min(1px, -infinity * 1%)) expected finite value but got NaN expected true got false
60 passing subtests
  1. Property width value 'calc(NaN * 1px)'
  2. Property width value 'calc(infinity * 1px)'
  3. Property width value 'calc(infinity * 1%)'
  4. Property width value 'calc(infinity * 1cm)'
  5. Property width value 'calc(NaN * 1rem)'
  6. Property width value 'calc(10.135262721212548pc - 199pt / NaN)'
  7. Property width value 'max(15px, NaN * 1px)'
  8. Property width value 'max(NaN * 1px, 15px)'
  9. Property width value 'max(-15px, NaN * 1px)'
  10. Property width value 'max(NaN * 1px, -15px)'
  11. Property width value 'min(15px, NaN * 1px)'
  12. Property width value 'min(NaN * 1px, 15px)'
  13. Property width value 'min(-15px, NaN * 1px)'
  14. Property width value 'min(NaN * 1px, -15px)'
  15. Property width value 'calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))'
  16. Property width value 'calc(max(infinity * 1px, 10px))'
  17. Property margin-left value 'calc(-infinity * 1px)'
  18. Property margin-left value 'calc(-infinity * 1%)'
  19. Property margin-left value 'calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))'
  20. Property margin-left value 'calc(-infinity * 1px - infinity * 1px)'
  21. Property margin-left value 'calc(min(-infinity * 1px, 10px))'
  22. Property margin-left value 'calc(1em / sign(1em - 16px))'
  23. Property margin-left value 'calc(1em / (-1 * sign(1em - 16px)))'
  24. Property animation-duration value 'calc(NaN * 1s)'
  25. Property animation-duration value 'calc(infinity * 1s)'
  26. Property animation-duration value 'calc(1 / 0 * 1s)'
  27. Property animation-duration value 'calc(max(infinity * 1s, 10s)'
  28. Property transition-delay value 'calc(-infinity* 1s)'
  29. Property transition-delay value 'calc(max(10000s, 0s) + min(-infinity * 1s, infinity * 1s))'
  30. Property transition-delay value 'calc(min(-infinity * 1s, 10s))'
  31. Property transition-delay value 'calc(1s / sign(1em - 16px))'
  32. Property transition-delay value 'calc(1s / (-1 * sign(1em - 16px)))'
  33. Property rotate(calc(infinity * 1deg)) value expected same with rotate(0deg) in +/-0.0001
  34. Property rotate(calc(-infinity * 1deg)) value expected same with rotate(0deg) in +/-0.0001
  35. Property rotate(calc(NaN * 1deg)) value expected same with rotate(0deg) in +/-0.0001
  36. Property rotate(calc(infinity * 1turn)) value expected same with rotate(0deg) in +/-0.0001
  37. Property rotate(calc(-infinity * 1turn)) value expected same with rotate(0deg) in +/-0.0001
  38. Property rotate(calc(NaN * 1turn)) value expected same with rotate(0deg) in +/-0.0001
  39. Property rotate(calc(infinity * 1rad)) value expected same with rotate(0deg) in +/-0.0001
  40. Property rotate(calc(-infinity * 1rad)) value expected same with rotate(0deg) in +/-0.0001
  41. Property rotate(calc(NaN * 1rad)) value expected same with rotate(0deg) in +/-0.0001
  42. Property rotate(calc(infinity * 1grad)) value expected same with rotate(0deg) in +/-0.0001
  43. Property rotate(calc(-infinity * 1grad)) value expected same with rotate(0deg) in +/-0.0001
  44. Property rotate(calc(NaN * 1grad)) value expected same with rotate(0deg) in +/-0.0001
  45. Property rotate(calc(1deg / sign(1em - 16px)) value expected same with rotate(0deg) in +/-0.0001
  46. Property rotate(calc(1deg / (-1 * sign(1em - 16px))) value expected same with rotate(0deg) in +/-0.0001
  47. Property scale value 'calc(max(infinity, 10))'
  48. Property scale value 'calc(infinity)'
  49. Property scale value 'calc(-infinity * 10)'
  50. Property scale value 'calc(1 / sign(1em - 16px))'
  51. Property scale value 'calc(1 / (-1 * sign(1em - 16px)))'
  52. Property scale value 'calc(max(infinity * 100%, 1000%))'
  53. Property scale value 'calc(infinity * 100%)'
  54. Property scale value 'calc(-infinity * 1000%)'
  55. Property scale value 'calc(100% / sign(1em - 16px))'
  56. Property scale value 'calc(100% / (-1 * sign(1em - 16px)))'
  57. Property translate value 'calc(infinity * 100%)'
  58. Property translate value 'calc(-infinity * 1000%)'
  59. Property translate value 'calc(100% / sign(1em - 16px))'
  60. Property translate value 'calc(100% / (-1 * sign(1em - 16px)))'
calc-invalid-parsing.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. e.style['transform'] = "rotate(calc((0.25turn error)))" should not set the property value
  2. e.style['width'] = "calc(7px * up)" should not set the property value
  3. e.style['width'] = "round(nearest, 1px, 1px, 1px)" should not set the property value
  4. e.style['width'] = "round(nearest, 1px)" should not set the property value
  5. e.style['width'] = "calc([])" should not set the property value
  6. e.style['width'] = "calc( [])" should not set the property value
calc-serialization-002.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. testing calc(1vh + 2px + 3%)
  2. testing calc(4px + 1vh)
  3. testing calc(5px + 6em + 1vh)
  4. testing calc(-8px + 9em + 1vh)
  5. testing calc(1pc + 1in + 1vh + 10%)
  6. testing calc(25.4q + 1vh + 12%)
  7. testing calc(1em + 1.27cm + 13% + 3em)
  8. testing calc(15vw + 16vmin - 17vh)
  9. testing calc(9pt + calc(9rem + 10px))
  10. testing calc(5pt + 5em + 4pt + 3em)
  11. testing calc(4vmin + 0pt + 3pc)
  12. testing calc(4vmin + 0pt)
  13. testing calc(100% - 100% + 1em)
  14. testing calc(100% + 1em - 100%)
  15. testing calc(1vh - 7px)
  16. testing calc(5ex - 9ex)
  17. testing calc(-80px + 25.4mm)
  18. testing calc(2 * (10px + 1rem))
  19. testing calc(2 * (10px - 1rem))
  20. testing calc((10px + 1rem) / 2)
  21. testing calc(2 * (min(10px, 20%) + max(1rem, 2%)))
  22. testing calc((min(10px, 20%) + max(1rem, 2%)) * 2)
  23. testing calc(1vmin - 14%)
  24. testing calc(4 * 3px + 4pc / 8)
calc-serialization.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. calc() serialization
clamp-color-computed.html15 / 15 passingChrome 15 / 150 failedClean
Standing
Clean runner status OK
Chrome
Clean 15 / 15 WPT subtests passing runner status OK
15 passing subtests
  1. Property color value 'rgb(clamp(10, 20, 30) 0 0)'
  2. Property color value 'rgb(clamp(none, 30, 33) 0 0)'
  3. Property color value 'rgb(clamp(none, 33, 30) 0 0)'
  4. Property color value 'rgb(clamp(30, 33, none) 0 0)'
  5. Property color value 'rgb(clamp(33, 30, none) 0 0)'
  6. Property color value 'rgb(clamp(none, 30, none) 0 0)'
  7. Property color value 'rgb(from red clamp(r, 30, 300) g b)'
  8. Property color value 'rgb(from red clamp(30, 300, r) g b)'
  9. Property color value 'rgb(from red clamp(3, r, 300) g b)'
  10. Property color value 'rgb(from red clamp(3, r, r + 30) g b)'
  11. Property color value 'rgb(from red clamp(r - 30, r, 300) g b)'
  12. Property color value 'rgb(from red clamp(3, r, none) g b)'
  13. Property color value 'rgb(from red clamp(r, 30, none) g b)'
  14. Property color value 'rgb(from red clamp(none, r, 300) g b)'
  15. Property color value 'rgb(from red clamp(none, r, r + 30) g b)'
clamp-integer-computed.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Property z-index value 'clamp(10, 20, 30)'
  2. Property z-index value 'clamp(none, 30, 33)'
  3. Property z-index value 'clamp(none, 33, 30)'
  4. Property z-index value 'clamp(30, 33, none)'
  5. Property z-index value 'clamp(33, 30, none)'
  6. Property z-index value 'clamp(none, 30, none)'
clamp-length-computed.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. Property letter-spacing value 'clamp(10px, 20px, 30px)'
  2. Property letter-spacing value 'clamp(10px, 5px, 30px)'
  3. Property letter-spacing value 'clamp(10px, 35px, 30px)'
  4. Property letter-spacing value 'clamp(10px, 35px , 30px)'
  5. Property letter-spacing value 'clamp(10px, 35px /*foo*/, 30px)'
  6. Property letter-spacing value 'clamp(10px /* foo */ , 35px, 30px)'
  7. Property letter-spacing value 'clamp(10px , 35px, 30px)'
  8. Property letter-spacing value 'clamp(30px, 100px, 20px)'
  9. Property letter-spacing value 'clamp(-30px, -20px, -10px)'
  10. Property letter-spacing value 'clamp(-30px, -100px, -10px)'
  11. Property letter-spacing value 'clamp(-30px, 100px, -10px)'
  12. Property letter-spacing value 'clamp(-10px, 100px, -30px)'
  13. Property letter-spacing value 'clamp(-10px, -100px, -30px)'
  14. Property letter-spacing value 'calc(0px + clamp(10px, 20px, 30px))'
  15. Property letter-spacing value 'calc(0px - clamp(10px, 20px, 30px))'
  16. Property letter-spacing value 'calc(0px + clamp(30px, 100px, 20px))'
  17. Property letter-spacing value 'calc(0px - clamp(30px, 100px, 20px))'
  18. Property letter-spacing value 'clamp(none, 30px, 33px)'
  19. Property letter-spacing value 'clamp(none, 33px, 30px)'
  20. Property letter-spacing value 'clamp(30px, 33px, none)'
  21. Property letter-spacing value 'clamp(33px, 30px, none)'
  22. Property letter-spacing value 'clamp(none, 30px, none)'
  23. Property letter-spacing value 'clamp(1000px, 1em / 1rem * 1px, none)'
  24. Property letter-spacing value 'clamp(1600px / 1em * 1px, 1em / 1rem * 1px, none)'
hypot-pow-sqrt-computed.html111 / 127 passingChrome 111 / 12716 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 111 / 127 WPT subtests passing runner status OK
  1. FAILhypot(0% + 3px, 0% + 4px) should be used-value-equivalent to 5px
    assert_equals: hypot(0% + 3px, 0% + 4px) and 5px serialize to the same thing in used values. expected "5px" but got "hypot(0% + 3px, 0% + 4px)"
  2. FAILhypot(0% + 772.333px) should be used-value-equivalent to calc(0% + 772.333px)
    assert_equals: hypot(0% + 772.333px) and calc(0% + 772.333px) serialize to the same thing in used values. expected "772.333px" but got "hypot(0% + 772.333px)"
  3. FAILhypot(0% + 772.35px) should be used-value-equivalent to calc(0% + 772.35px)
    assert_equals: hypot(0% + 772.35px) and calc(0% + 772.35px) serialize to the same thing in used values. expected "772.35px" but got "hypot(0% + 772.35px)"
  4. FAILhypot(0% + 600px, 0% + 800px) should be used-value-equivalent to 1000px
    assert_equals: hypot(0% + 600px, 0% + 800px) and 1000px serialize to the same thing in used values. expected "1000px" but got "hypot(0% + 600px, 0% + 800px)"
  5. FAILpow(-1, infinity) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(-1, infinity) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  6. FAILcalc(-1 * pow(-1, infinity)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(-1, infinity)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
  7. FAILpow(1, infinity) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(1, infinity) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  8. FAILcalc(-1 * pow(1, infinity)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(1, infinity)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
  9. FAILpow(-1, -infinity) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(-1, -infinity) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  10. FAILcalc(-1 * pow(-1, -infinity)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(-1, -infinity)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
  11. FAILpow(1, -infinity) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(1, -infinity) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  12. FAILcalc(-1 * pow(1, -infinity)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(1, -infinity)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
  13. FAILpow(NaN, 0) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(NaN, 0) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  14. FAILcalc(-1 * pow(NaN, 0)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(NaN, 0)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
  15. FAILpow(1, NaN) should be used-value-equivalent to calc(NaN)
    assert_equals: pow(1, NaN) and calc(NaN) serialize to the same thing in used values. expected "0" but got "1"
  16. FAILcalc(-1 * pow(1, NaN)) should be used-value-equivalent to calc(NaN)
    assert_equals: calc(-1 * pow(1, NaN)) and calc(NaN) serialize to the same thing in used values. expected "0" but got "-1"
111 passing subtests
  1. pow(1,1) should be used-value-equivalent to 1
  2. sqrt(1) should be used-value-equivalent to 1
  3. hypot(1) should be used-value-equivalent to 1
  4. sqrt(pow(1,1)) should be used-value-equivalent to 1
  5. hypot(pow(1, sqrt(1))) should be used-value-equivalent to 1
  6. calc(hypot(pow((1 + sqrt(1)) / 2, sqrt(1)))) should be used-value-equivalent to 1
  7. calc(100px * pow(2, pow(2, 2))) should be used-value-equivalent to 1600px
  8. calc(1px * pow(2, 3)) should be used-value-equivalent to 8px
  9. calc(100px * sqrt(100)) should be used-value-equivalent to 1000px
  10. calc(1px * pow(2, sqrt(100)) should be used-value-equivalent to 1024px
  11. hypot(3px, 4px) should be used-value-equivalent to 5px
  12. hypot(3e+9px, 4e+9px) should be used-value-equivalent to 5e+9px
  13. calc(100px * hypot(3, 4)) should be used-value-equivalent to 500px
  14. hypot(-5px) should be used-value-equivalent to 5px
  15. calc(1px * hypot(-5)) should be used-value-equivalent to 5px
  16. calc(1px * hypot(10000)) should be used-value-equivalent to 10000px
  17. calc(2px * sqrt(100000000)) should be used-value-equivalent to 20000px
  18. calc(3px * pow(20, 4)) should be used-value-equivalent to 480000px
  19. calc(-2 * hypot(3px, 4px)) should be used-value-equivalent to -10px
  20. calc(100px - hypot(30px, 40px)) should be used-value-equivalent to 50px
  21. calc(100px - hypot(-30px, -40px)) should be used-value-equivalent to 50px
  22. calc(10 - hypot(3, 4)) should be used-value-equivalent to 5
  23. calc(10 - hypot(10 - hypot(3, 4), 12)) should be used-value-equivalent to -3
  24. sqrt(sibling-index()) should be used-value-equivalent to 2
  25. calc(1px * sqrt(sibling-index())) should be used-value-equivalent to 2px
  26. sqrt(pow(sibling-index(), 2)) should be used-value-equivalent to 4
  27. hypot(3, sibling-index()) should be used-value-equivalent to 5
  28. sqrt(4 * sign(1em - 1px)) should be used-value-equivalent to 2
  29. calc(1px * sqrt(4 * sign(1em - 1px))) should be used-value-equivalent to 2px
  30. sqrt(pow(4 * sign(1em - 1px), 2)) should be used-value-equivalent to 4
  31. hypot(3, 4 * sign(1em - 1px)) should be used-value-equivalent to 5
  32. calc(pow(tan(atan2(round(up,1px,100%),round(up,1px,100%))),2)*1px) should be computed-value-equivalent to calc(pow(tan(atan2(round(up,1px,100%),round(up,1px,100%))),2)*1px)
  33. pow(-2, 0.5) should be used-value-equivalent to calc(NaN)
  34. calc(-1 * pow(-2, 0.5)) should be used-value-equivalent to calc(NaN)
  35. pow(-8, 1 / 3) should be used-value-equivalent to calc(NaN)
  36. calc(-1 * pow(-8, 1 / 3)) should be used-value-equivalent to calc(NaN)
  37. calc(1 / pow(-infinity, -3)) should be used-value-equivalent to calc(-infinity)
  38. calc(1 / pow(-infinity, -2)) should be used-value-equivalent to calc(infinity)
  39. calc(1 / pow(-infinity, -1)) should be used-value-equivalent to calc(-infinity)
  40. pow(-infinity, 0) should be used-value-equivalent to 1
  41. pow(-infinity, 1) should be used-value-equivalent to calc(-infinity)
  42. pow(-infinity, 2) should be used-value-equivalent to calc(infinity)
  43. pow(-infinity, 3) should be used-value-equivalent to calc(-infinity)
  44. pow(-0, -3) should be used-value-equivalent to calc(-infinity)
  45. pow(-0, -2) should be used-value-equivalent to calc(infinity)
  46. pow(-0, -1) should be used-value-equivalent to calc(-infinity)
  47. pow(-0, 0) should be used-value-equivalent to 1
  48. calc(1 / pow(-0, 1)) should be used-value-equivalent to calc(-infinity)
  49. calc(1 / pow(-0, 2)) should be used-value-equivalent to calc(infinity)
  50. calc(1 / pow(-0, 3)) should be used-value-equivalent to calc(-infinity)
  51. pow(0, -3) should be used-value-equivalent to calc(infinity)
  52. pow(0, -1) should be used-value-equivalent to calc(infinity)
  53. pow(0, 0) should be used-value-equivalent to 1
  54. calc(1 / pow(0, 1)) should be used-value-equivalent to calc(infinity)
  55. calc(1 / pow(0, 2)) should be used-value-equivalent to calc(infinity)
  56. calc(1 / pow(infinity, -3)) should be used-value-equivalent to calc(infinity)
  57. calc(1 / pow(infinity, -1)) should be used-value-equivalent to calc(infinity)
  58. pow(infinity, 0) should be used-value-equivalent to 1
  59. pow(infinity, 1) should be used-value-equivalent to calc(infinity)
  60. pow(infinity, 2) should be used-value-equivalent to calc(infinity)
  61. pow(-2, infinity) should be used-value-equivalent to calc(infinity)
  62. calc(1 / pow(-0.5, infinity)) should be used-value-equivalent to calc(infinity)
  63. calc(1 / pow(0.5, infinity)) should be used-value-equivalent to calc(infinity)
  64. pow(2, infinity) should be used-value-equivalent to calc(infinity)
  65. calc(1 / pow(-2, -infinity)) should be used-value-equivalent to calc(infinity)
  66. pow(-0.5, -infinity) should be used-value-equivalent to calc(infinity)
  67. pow(0.5, -infinity) should be used-value-equivalent to calc(infinity)
  68. calc(1 / pow(2, -infinity)) should be used-value-equivalent to calc(infinity)
  69. pow(NaN, NaN) should be used-value-equivalent to calc(NaN)
  70. calc(-1 * pow(NaN, NaN)) should be used-value-equivalent to calc(NaN)
  71. calc(1 / sqrt(-0)) should be used-value-equivalent to calc(-infinity)
  72. sqrt(infinity) should be used-value-equivalent to calc(infinity)
  73. sqrt(-1) should be used-value-equivalent to calc(NaN)
  74. calc(-1 * sqrt(-1)) should be used-value-equivalent to calc(NaN)
  75. sqrt(NaN) should be used-value-equivalent to calc(NaN)
  76. calc(-1 * sqrt(NaN)) should be used-value-equivalent to calc(NaN)
  77. sqrt(-infinity) should be used-value-equivalent to calc(NaN)
  78. calc(-1 * sqrt(-infinity)) should be used-value-equivalent to calc(NaN)
  79. hypot(3, 4) should be used-value-equivalent to 5
  80. hypot(infinity, 5) should be used-value-equivalent to calc(infinity)
  81. hypot(5, infinity) should be used-value-equivalent to calc(infinity)
  82. hypot(-infinity, 5) should be used-value-equivalent to calc(infinity)
  83. hypot(NaN, 5) should be used-value-equivalent to calc(NaN)
  84. calc(-1 * hypot(NaN, 5)) should be used-value-equivalent to calc(NaN)
  85. hypot(5, NaN) should be used-value-equivalent to calc(NaN)
  86. calc(-1 * hypot(5, NaN)) should be used-value-equivalent to calc(NaN)
  87. hypot(infinity, NaN) should be used-value-equivalent to calc(NaN)
  88. calc(-1 * hypot(infinity, NaN)) should be used-value-equivalent to calc(NaN)
  89. hypot(NaN, infinity) should be used-value-equivalent to calc(NaN)
  90. calc(-1 * hypot(NaN, infinity)) should be used-value-equivalent to calc(NaN)
  91. hypot(1px) should be used-value-equivalent to 1px
  92. hypot(1cm) should be used-value-equivalent to 1cm
  93. hypot(1mm) should be used-value-equivalent to 1mm
  94. hypot(1Q) should be used-value-equivalent to 1Q
  95. hypot(1in) should be used-value-equivalent to 1in
  96. hypot(1pc) should be used-value-equivalent to 1pc
  97. hypot(1pt) should be used-value-equivalent to 1pt
  98. hypot(1em) should be used-value-equivalent to 1em
  99. hypot(1ex) should be used-value-equivalent to 1ex
  100. hypot(1ch) should be used-value-equivalent to 1ch
  101. hypot(1rem) should be used-value-equivalent to 1rem
  102. hypot(1vh) should be used-value-equivalent to 1vh
  103. hypot(1vw) should be used-value-equivalent to 1vw
  104. hypot(1vmin) should be used-value-equivalent to 1vmin
  105. hypot(1vmax) should be used-value-equivalent to 1vmax
  106. hypot(1s) should be used-value-equivalent to 1s
  107. hypot(1ms) should be used-value-equivalent to 1ms
  108. hypot(1deg) should be used-value-equivalent to 1deg
  109. hypot(1grad) should be used-value-equivalent to 1grad
  110. hypot(1rad) should be used-value-equivalent to 1rad
  111. hypot(1turn) should be used-value-equivalent to 1turn
ident-function-parsing.html4 / 19 passingChrome 4 / 1915 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 4 / 19 WPT subtests passing runner status OK
  1. FAILe.style['view-transition-name'] = "ident(rgb(1, 2, 3))" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  2. FAILe.style['view-transition-name'] = "ident(5px)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  3. FAILe.style['view-transition-name'] = "ident(myident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  4. FAILe.style['view-transition-name'] = "ident( myident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  5. FAILe.style['view-transition-name'] = "ident(myident )" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  6. FAILe.style['view-transition-name'] = "ident(\"myident\")" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  7. FAILe.style['view-transition-name'] = "ident(\"myident\" 3)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  8. FAILe.style['view-transition-name'] = "ident(3 \"myident\")" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  9. FAILe.style['view-transition-name'] = "ident(\"my\" \"ident\")" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  10. FAILe.style['view-transition-name'] = "ident(my \"ident\")" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  11. FAILe.style['view-transition-name'] = "ident(\"my\" ident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  12. FAILe.style['view-transition-name'] = "ident(my ident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  13. FAILe.style['view-transition-name'] = "ident(-- myident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  14. FAILe.style['view-transition-name'] = "ident(my 3 3 3 3 ident)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  15. FAILe.style['view-transition-name'] = "ident(\"myident\" 42)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
4 passing subtests
  1. e.style['view-transition-name'] = "ident()" should not set the property value
  2. e.style['view-transition-name'] = "ident( )" should not set the property value
  3. e.style['view-transition-name'] = "ident({})" should not set the property value
  4. e.style['view-transition-name'] = "ident(a, b)" should not set the property value
if-conditionals.html199 / 203 passingChrome 199 / 2034 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 199 / 203 WPT subtests passing runner status OK
  1. FAILCSS Values and Units Test: CSS inline if() function 6
    assert_equals: "if(style(--x: 0): ;)" should be substituted to "". expected "" but got " "
  2. FAILCSS Values and Units Test: CSS inline if() function 7
    assert_equals: "if(style(--x: 0): )" should be substituted to "". expected "" but got " "
  3. FAILCSS Values and Units Test: CSS inline if() function 28
    assert_equals: "if(style(--x: 0): true_value;
              else: )" should be substituted to "". expected "" but got " "
  4. FAILCSS Values and Units Test: CSS inline if() function 29
    assert_equals: "if(style(--x: 3): ;
              else: false_value)" should be substituted to "". expected "" but got " "
199 passing subtests
  1. CSS Values and Units Test: CSS inline if() function
  2. CSS Values and Units Test: CSS inline if() function 1
  3. CSS Values and Units Test: CSS inline if() function 2
  4. CSS Values and Units Test: CSS inline if() function 3
  5. CSS Values and Units Test: CSS inline if() function 4
  6. CSS Values and Units Test: CSS inline if() function 5
  7. CSS Values and Units Test: CSS inline if() function 8
  8. CSS Values and Units Test: CSS inline if() function 9
  9. CSS Values and Units Test: CSS inline if() function 10
  10. CSS Values and Units Test: CSS inline if() function 11
  11. CSS Values and Units Test: CSS inline if() function 12
  12. CSS Values and Units Test: CSS inline if() function 13
  13. CSS Values and Units Test: CSS inline if() function 14
  14. CSS Values and Units Test: CSS inline if() function 15
  15. CSS Values and Units Test: CSS inline if() function 16
  16. CSS Values and Units Test: CSS inline if() function 17
  17. CSS Values and Units Test: CSS inline if() function 18
  18. CSS Values and Units Test: CSS inline if() function 19
  19. CSS Values and Units Test: CSS inline if() function 20
  20. CSS Values and Units Test: CSS inline if() function 21
  21. CSS Values and Units Test: CSS inline if() function 22
  22. CSS Values and Units Test: CSS inline if() function 23
  23. CSS Values and Units Test: CSS inline if() function 24
  24. CSS Values and Units Test: CSS inline if() function 25
  25. CSS Values and Units Test: CSS inline if() function 26
  26. CSS Values and Units Test: CSS inline if() function 27
  27. CSS Values and Units Test: CSS inline if() function 30
  28. CSS Values and Units Test: CSS inline if() function 31
  29. CSS Values and Units Test: CSS inline if() function 32
  30. CSS Values and Units Test: CSS inline if() function 33
  31. CSS Values and Units Test: CSS inline if() function 34
  32. CSS Values and Units Test: CSS inline if() function 35
  33. CSS Values and Units Test: CSS inline if() function 36
  34. CSS Values and Units Test: CSS inline if() function 37
  35. CSS Values and Units Test: CSS inline if() function 38
  36. CSS Values and Units Test: CSS inline if() function 39
  37. CSS Values and Units Test: CSS inline if() function 40
  38. CSS Values and Units Test: CSS inline if() function 41
  39. CSS Values and Units Test: CSS inline if() function 42
  40. CSS Values and Units Test: CSS inline if() function 43
  41. CSS Values and Units Test: CSS inline if() function 44
  42. CSS Values and Units Test: CSS inline if() function 45
  43. CSS Values and Units Test: CSS inline if() function 46
  44. CSS Values and Units Test: CSS inline if() function 47
  45. CSS Values and Units Test: CSS inline if() function 48
  46. CSS Values and Units Test: CSS inline if() function 49
  47. CSS Values and Units Test: CSS inline if() function 50
  48. CSS Values and Units Test: CSS inline if() function 51
  49. CSS Values and Units Test: CSS inline if() function 52
  50. CSS Values and Units Test: CSS inline if() function 53
  51. CSS Values and Units Test: CSS inline if() function 54
  52. CSS Values and Units Test: CSS inline if() function 55
  53. CSS Values and Units Test: CSS inline if() function 56
  54. CSS Values and Units Test: CSS inline if() function 57
  55. CSS Values and Units Test: CSS inline if() function 58
  56. CSS Values and Units Test: CSS inline if() function 59
  57. CSS Values and Units Test: CSS inline if() function 60
  58. CSS Values and Units Test: CSS inline if() function 61
  59. CSS Values and Units Test: CSS inline if() function 62
  60. CSS Values and Units Test: CSS inline if() function 63
  61. CSS Values and Units Test: CSS inline if() function 64
  62. CSS Values and Units Test: CSS inline if() function 65
  63. CSS Values and Units Test: CSS inline if() function 66
  64. CSS Values and Units Test: CSS inline if() function 67
  65. CSS Values and Units Test: CSS inline if() function 68
  66. CSS Values and Units Test: CSS inline if() function 69
  67. CSS Values and Units Test: CSS inline if() function 70
  68. CSS Values and Units Test: CSS inline if() function 71
  69. CSS Values and Units Test: CSS inline if() function 72
  70. CSS Values and Units Test: CSS inline if() function 73
  71. CSS Values and Units Test: CSS inline if() function 74
  72. CSS Values and Units Test: CSS inline if() function 75
  73. CSS Values and Units Test: CSS inline if() function 76
  74. CSS Values and Units Test: CSS inline if() function 77
  75. CSS Values and Units Test: CSS inline if() function 78
  76. CSS Values and Units Test: CSS inline if() function 79
  77. CSS Values and Units Test: CSS inline if() function 80
  78. CSS Values and Units Test: CSS inline if() function 81
  79. CSS Values and Units Test: CSS inline if() function 82
  80. CSS Values and Units Test: CSS inline if() function 83
  81. CSS Values and Units Test: CSS inline if() function 84
  82. CSS Values and Units Test: CSS inline if() function 85
  83. CSS Values and Units Test: CSS inline if() function 86
  84. CSS Values and Units Test: CSS inline if() function 87
  85. CSS Values and Units Test: CSS inline if() function 88
  86. CSS Values and Units Test: CSS inline if() function 89
  87. CSS Values and Units Test: CSS inline if() function 90
  88. CSS Values and Units Test: CSS inline if() function 91
  89. CSS Values and Units Test: CSS inline if() function 92
  90. CSS Values and Units Test: CSS inline if() function 93
  91. CSS Values and Units Test: CSS inline if() function 94
  92. CSS Values and Units Test: CSS inline if() function 95
  93. CSS Values and Units Test: CSS inline if() function 96
  94. CSS Values and Units Test: CSS inline if() function 97
  95. CSS Values and Units Test: CSS inline if() function 98
  96. CSS Values and Units Test: CSS inline if() function 99
  97. CSS Values and Units Test: CSS inline if() function 100
  98. CSS Values and Units Test: CSS inline if() function 101
  99. CSS Values and Units Test: CSS inline if() function 102
  100. CSS Values and Units Test: CSS inline if() function 103
  101. CSS Values and Units Test: CSS inline if() function 104
  102. CSS Values and Units Test: CSS inline if() function 105
  103. CSS Values and Units Test: CSS inline if() function 106
  104. CSS Values and Units Test: CSS inline if() function 107
  105. CSS Values and Units Test: CSS inline if() function 108
  106. CSS Values and Units Test: CSS inline if() function 109
  107. CSS Values and Units Test: CSS inline if() function 110
  108. CSS Values and Units Test: CSS inline if() function 111
  109. CSS Values and Units Test: CSS inline if() function 112
  110. CSS Values and Units Test: CSS inline if() function 113
  111. CSS Values and Units Test: CSS inline if() function 114
  112. CSS Values and Units Test: CSS inline if() function 115
  113. CSS Values and Units Test: CSS inline if() function 116
  114. CSS Values and Units Test: CSS inline if() function 117
  115. CSS Values and Units Test: CSS inline if() function 118
  116. CSS Values and Units Test: CSS inline if() function 119
  117. CSS Values and Units Test: CSS inline if() function 120
  118. CSS Values and Units Test: CSS inline if() function 121
  119. CSS Values and Units Test: CSS inline if() function 122
  120. CSS Values and Units Test: CSS inline if() function 123
  121. CSS Values and Units Test: CSS inline if() function 124
  122. CSS Values and Units Test: CSS inline if() function 125
  123. CSS Values and Units Test: CSS inline if() function 126
  124. CSS Values and Units Test: CSS inline if() function 127
  125. CSS Values and Units Test: CSS inline if() function 128
  126. CSS Values and Units Test: CSS inline if() function 129
  127. CSS Values and Units Test: CSS inline if() function 130
  128. CSS Values and Units Test: CSS inline if() function 131
  129. CSS Values and Units Test: CSS inline if() function 132
  130. CSS Values and Units Test: CSS inline if() function 133
  131. CSS Values and Units Test: CSS inline if() function 134
  132. CSS Values and Units Test: CSS inline if() function 135
  133. CSS Values and Units Test: CSS inline if() function 136
  134. CSS Values and Units Test: CSS inline if() function 137
  135. CSS Values and Units Test: CSS inline if() function 138
  136. CSS Values and Units Test: CSS inline if() function 139
  137. CSS Values and Units Test: CSS inline if() function 140
  138. CSS Values and Units Test: CSS inline if() function 141
  139. CSS Values and Units Test: CSS inline if() function 142
  140. CSS Values and Units Test: CSS inline if() function 143
  141. CSS Values and Units Test: CSS inline if() function 144
  142. CSS Values and Units Test: CSS inline if() function 145
  143. CSS Values and Units Test: CSS inline if() function 146
  144. CSS Values and Units Test: CSS inline if() function 147
  145. CSS Values and Units Test: CSS inline if() function 148
  146. CSS Values and Units Test: CSS inline if() function 149
  147. CSS Values and Units Test: CSS inline if() function 150
  148. CSS Values and Units Test: CSS inline if() function 151
  149. CSS Values and Units Test: CSS inline if() function 152
  150. CSS Values and Units Test: CSS inline if() function 153
  151. CSS Values and Units Test: CSS inline if() function 154
  152. CSS Values and Units Test: CSS inline if() function 155
  153. CSS Values and Units Test: CSS inline if() function 156
  154. CSS Values and Units Test: CSS inline if() function 157
  155. CSS Values and Units Test: CSS inline if() function 158
  156. CSS Values and Units Test: CSS inline if() function 159
  157. CSS Values and Units Test: CSS inline if() function 160
  158. CSS Values and Units Test: CSS inline if() function 161
  159. CSS Values and Units Test: CSS inline if() function 162
  160. CSS Values and Units Test: CSS inline if() function 163
  161. CSS Values and Units Test: CSS inline if() function 164
  162. CSS Values and Units Test: CSS inline if() function 165
  163. CSS Values and Units Test: CSS inline if() function 166
  164. CSS Values and Units Test: CSS inline if() function 167
  165. CSS Values and Units Test: CSS inline if() function 168
  166. CSS Values and Units Test: CSS inline if() function 169
  167. CSS Values and Units Test: CSS inline if() function 170
  168. CSS Values and Units Test: CSS inline if() function 171
  169. CSS Values and Units Test: CSS inline if() function 172
  170. CSS Values and Units Test: CSS inline if() function 173
  171. CSS Values and Units Test: CSS inline if() function 174
  172. CSS Values and Units Test: CSS inline if() function 175
  173. CSS Values and Units Test: CSS inline if() function 176
  174. CSS Values and Units Test: CSS inline if() function 177
  175. CSS Values and Units Test: CSS inline if() function 178
  176. CSS Values and Units Test: CSS inline if() function 179
  177. CSS Values and Units Test: CSS inline if() function 180
  178. CSS Values and Units Test: CSS inline if() function 181
  179. CSS Values and Units Test: CSS inline if() function 182
  180. CSS Values and Units Test: CSS inline if() function 183
  181. CSS Values and Units Test: CSS inline if() function 184
  182. CSS Values and Units Test: CSS inline if() function 185
  183. CSS Values and Units Test: CSS inline if() function 186
  184. CSS Values and Units Test: CSS inline if() function 187
  185. CSS Values and Units Test: CSS inline if() function 188
  186. CSS Values and Units Test: CSS inline if() function 189
  187. CSS Values and Units Test: CSS inline if() function 190
  188. CSS Values and Units Test: CSS inline if() function 191
  189. CSS Values and Units Test: CSS inline if() function 192
  190. CSS Values and Units Test: CSS inline if() function 193
  191. CSS Values and Units Test: CSS inline if() function 194
  192. CSS Values and Units Test: CSS inline if() function 195
  193. CSS Values and Units Test: CSS inline if() function 196
  194. CSS Values and Units Test: CSS inline if() function 197
  195. CSS Values and Units Test: CSS inline if() function 198
  196. CSS Values and Units Test: CSS inline if() function 199
  197. CSS Values and Units Test: CSS inline if() function 200
  198. CSS Values and Units Test: CSS inline if() function 201
  199. CSS Values and Units Test: CSS inline if() function 202
if-cycle.html46 / 46 passingChrome 46 / 460 failedClean
Standing
Clean runner status OK
Chrome
Clean 46 / 46 WPT subtests passing runner status OK
46 passing subtests
  1. CSS Values and Units Test: CSS if() function cycles
  2. CSS Values and Units Test: CSS if() function cycles 1
  3. CSS Values and Units Test: CSS if() function cycles 2
  4. CSS Values and Units Test: CSS if() function cycles 3
  5. CSS Values and Units Test: CSS if() function cycles 4
  6. CSS Values and Units Test: CSS if() function cycles 5
  7. CSS Values and Units Test: CSS if() function cycles 6
  8. CSS Values and Units Test: CSS if() function cycles 7
  9. CSS Values and Units Test: CSS if() function cycles 8
  10. CSS Values and Units Test: CSS if() function cycles 9
  11. CSS Values and Units Test: CSS if() function cycles 10
  12. CSS Values and Units Test: CSS if() function cycles 11
  13. CSS Values and Units Test: CSS if() function cycles 12
  14. CSS Values and Units Test: CSS if() function cycles 13
  15. CSS Values and Units Test: CSS if() function cycles 14
  16. CSS Values and Units Test: CSS if() function cycles 15
  17. CSS Values and Units Test: CSS if() function cycles 16
  18. CSS Values and Units Test: CSS if() function cycles 17
  19. CSS Values and Units Test: CSS if() function cycles 18
  20. CSS Values and Units Test: CSS if() function cycles 19
  21. CSS Values and Units Test: CSS if() function cycles 20
  22. CSS Values and Units Test: CSS if() function cycles 21
  23. CSS Values and Units Test: CSS if() function cycles 22
  24. CSS Values and Units Test: CSS if() function cycles 23
  25. CSS Values and Units Test: CSS if() function cycles 24
  26. CSS Values and Units Test: CSS if() function cycles 25
  27. CSS Values and Units Test: CSS if() function cycles 26
  28. CSS Values and Units Test: CSS if() function cycles 27
  29. CSS Values and Units Test: CSS if() function cycles 28
  30. CSS Values and Units Test: CSS if() function cycles 29
  31. CSS Values and Units Test: CSS if() function cycles 30
  32. CSS Values and Units Test: CSS if() function cycles 31
  33. CSS Values and Units Test: CSS if() function cycles 32
  34. CSS Values and Units Test: CSS if() function cycles 33
  35. CSS Values and Units Test: CSS if() function cycles 34
  36. CSS Values and Units Test: CSS if() function cycles 35
  37. CSS Values and Units Test: CSS if() function cycles 36
  38. CSS Values and Units Test: CSS if() function cycles 37
  39. CSS Values and Units Test: CSS if() function cycles 38
  40. CSS Values and Units Test: CSS if() function cycles 39
  41. CSS Values and Units Test: CSS if() function cycles 40
  42. CSS Values and Units Test: CSS if() function cycles 41
  43. CSS Values and Units Test: CSS if() function cycles 42
  44. CSS Values and Units Test: CSS if() function cycles 43
  45. CSS Values and Units Test: CSS if() function cycles 44
  46. CSS Values and Units Test: CSS if() function cycles 45
if-function-revert-rule.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. The revert-rule works as a branch in if()
  2. The revert-rule works as a branch in if(), earlier return
if-initial-unregistered.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. if-testing the initial keyword without any property registrations
if-invalidation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: if() invalidation
if-style-invalidation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: if() style() condition invalidation
if-supports-quirks.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Values and Units Test: CSS inline if() function supports() in quirks mode
inherit-function-parsing.html2 / 8 passingChrome 2 / 86 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 8 WPT subtests passing runner status OK
  1. FAILe.style['left'] = "inherit(--x)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  2. FAILe.style['left'] = "calc(inherit(--x) + 1px)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  3. FAILe.style['left'] = "inherit(--x,)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  4. FAILe.style['left'] = "inherit(--x, )" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  5. FAILe.style['left'] = "inherit(--x , )" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  6. FAILe.style['left'] = "inherit(--x, foo)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
2 passing subtests
  1. e.style['left'] = "inherit(!!, foo)" should not set the property value
  2. e.style['left'] = "inherit(, foo)" should not set the property value
minmax-angle-computed.html32 / 32 passingChrome 32 / 320 failedClean
Standing
Clean runner status OK
Chrome
Clean 32 / 32 WPT subtests passing runner status OK
32 passing subtests
  1. min(1deg) should be used-value-equivalent to 1deg
  2. min(1grad) should be used-value-equivalent to 1grad
  3. min(1rad) should be used-value-equivalent to 1rad
  4. min(1turn) should be used-value-equivalent to 1turn
  5. max(1deg) should be used-value-equivalent to 1deg
  6. max(1grad) should be used-value-equivalent to 1grad
  7. max(1rad) should be used-value-equivalent to 1rad
  8. max(1turn) should be used-value-equivalent to 1turn
  9. min(1deg, 2deg) should be used-value-equivalent to 1deg
  10. min(1grad, 2grad) should be used-value-equivalent to 1grad
  11. min(1rad, 2rad) should be used-value-equivalent to 1rad
  12. min(1turn, 2turn) should be used-value-equivalent to 1turn
  13. max(1deg, 2deg) should be used-value-equivalent to 2deg
  14. max(1grad, 2grad) should be used-value-equivalent to 2grad
  15. max(1rad, 2rad) should be used-value-equivalent to 2rad
  16. max(1turn, 2turn) should be used-value-equivalent to 2turn
  17. min(90deg, 0.26turn) should be used-value-equivalent to 90deg
  18. min(1.57rad, 95deg) should be used-value-equivalent to 1.57rad
  19. max(91deg, 0.25turn) should be used-value-equivalent to 91deg
  20. max(1.58rad, 90deg) should be used-value-equivalent to 1.58rad
  21. min(270deg, max(0.25turn, 3.14rad)) should be used-value-equivalent to 3.14rad
  22. max(0.25turn, min(270deg, 3.14rad)) should be used-value-equivalent to 3.14rad
  23. calc(min(90deg, 1.58rad) + 0.125turn) should be used-value-equivalent to 135deg
  24. calc(min(90deg, 1.58rad) - 0.125turn) should be used-value-equivalent to 45deg
  25. calc(min(90deg, 1.58rad) * 1.5 should be used-value-equivalent to 135deg
  26. calc(min(90deg, 1.58rad) / 2 should be used-value-equivalent to 45deg
  27. calc(max(90deg, 1.56rad) + 0.125turn should be used-value-equivalent to 135deg
  28. calc(max(90deg, 1.56rad) - 0.125turn) should be used-value-equivalent to 45deg
  29. calc(max(90deg, 1.56rad) * 1.5 should be used-value-equivalent to 135deg
  30. calc(max(90deg, 1.56rad) / 2 should be used-value-equivalent to 45deg
  31. calc(min(90deg, 1.58rad) + max(0.125turn, 49grad)) should be used-value-equivalent to 135deg
  32. calc(min(90deg, 1.58rad) - max(0.25turn, 99grad)) should be used-value-equivalent to 0deg
minmax-integer-computed.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. min(1) should be used-value-equivalent to 1
  2. max(1) should be used-value-equivalent to 1
  3. min(0.4) should be used-value-equivalent to 0
  4. min(0.6) should be used-value-equivalent to 1
  5. max(0.4) should be used-value-equivalent to 0
  6. max(0.6) should be used-value-equivalent to 1
  7. min(1.1, max(0.4, 0.6)) should be used-value-equivalent to 1
  8. max(0.3, min(1.1, 0.4)) should be used-value-equivalent to 0
  9. calc(min(0.3, 0.6) * 2) should be used-value-equivalent to 1
  10. calc(max(0.3, 0.6) / 2) should be used-value-equivalent to 0
minmax-length-computed.html80 / 80 passingChrome 80 / 800 failedClean
Standing
Clean runner status OK
Chrome
Clean 80 / 80 WPT subtests passing runner status OK
80 passing subtests
  1. min(1px) should be used-value-equivalent to 1px
  2. min(1cm) should be used-value-equivalent to 1cm
  3. min(1mm) should be used-value-equivalent to 1mm
  4. min(1Q) should be used-value-equivalent to 1Q
  5. min(1in) should be used-value-equivalent to 1in
  6. min(1pc) should be used-value-equivalent to 1pc
  7. min(1pt) should be used-value-equivalent to 1pt
  8. min(1em) should be used-value-equivalent to 1em
  9. min(1ex) should be used-value-equivalent to 1ex
  10. min(1ch) should be used-value-equivalent to 1ch
  11. min(1rem) should be used-value-equivalent to 1rem
  12. min(1vh) should be used-value-equivalent to 1vh
  13. min(1vw) should be used-value-equivalent to 1vw
  14. min(1vmin) should be used-value-equivalent to 1vmin
  15. min(1vmax) should be used-value-equivalent to 1vmax
  16. max(1px) should be used-value-equivalent to 1px
  17. max(1cm) should be used-value-equivalent to 1cm
  18. max(1mm) should be used-value-equivalent to 1mm
  19. max(1Q) should be used-value-equivalent to 1Q
  20. max(1in) should be used-value-equivalent to 1in
  21. max(1pc) should be used-value-equivalent to 1pc
  22. max(1pt) should be used-value-equivalent to 1pt
  23. max(1em) should be used-value-equivalent to 1em
  24. max(1ex) should be used-value-equivalent to 1ex
  25. max(1ch) should be used-value-equivalent to 1ch
  26. max(1rem) should be used-value-equivalent to 1rem
  27. max(1vh) should be used-value-equivalent to 1vh
  28. max(1vw) should be used-value-equivalent to 1vw
  29. max(1vmin) should be used-value-equivalent to 1vmin
  30. max(1vmax) should be used-value-equivalent to 1vmax
  31. min(1px, 2px) should be used-value-equivalent to 1px
  32. min(1cm, 2cm) should be used-value-equivalent to 1cm
  33. min(1mm, 2mm) should be used-value-equivalent to 1mm
  34. min(1Q, 2Q) should be used-value-equivalent to 1Q
  35. min(1in, 2in) should be used-value-equivalent to 1in
  36. min(1pc, 2pc) should be used-value-equivalent to 1pc
  37. min(1pt, 2pt) should be used-value-equivalent to 1pt
  38. min(1em, 2em) should be used-value-equivalent to 1em
  39. min(1ex, 2ex) should be used-value-equivalent to 1ex
  40. min(1ch, 2ch) should be used-value-equivalent to 1ch
  41. min(1rem, 2rem) should be used-value-equivalent to 1rem
  42. min(1vh, 2vh) should be used-value-equivalent to 1vh
  43. min(1vw, 2vw) should be used-value-equivalent to 1vw
  44. min(1vmin, 2vmin) should be used-value-equivalent to 1vmin
  45. min(1vmax, 2vmax) should be used-value-equivalent to 1vmax
  46. max(1px, 2px) should be used-value-equivalent to 2px
  47. max(1cm, 2cm) should be used-value-equivalent to 2cm
  48. max(1mm, 2mm) should be used-value-equivalent to 2mm
  49. max(1Q, 2Q) should be used-value-equivalent to 2Q
  50. max(1in, 2in) should be used-value-equivalent to 2in
  51. max(1pc, 2pc) should be used-value-equivalent to 2pc
  52. max(1pt, 2pt) should be used-value-equivalent to 2pt
  53. max(1em, 2em) should be used-value-equivalent to 2em
  54. max(1ex, 2ex) should be used-value-equivalent to 2ex
  55. max(1ch, 2ch) should be used-value-equivalent to 2ch
  56. max(1rem, 2rem) should be used-value-equivalent to 2rem
  57. max(1vh, 2vh) should be used-value-equivalent to 2vh
  58. max(1vw, 2vw) should be used-value-equivalent to 2vw
  59. max(1vmin, 2vmin) should be used-value-equivalent to 2vmin
  60. max(1vmax, 2vmax) should be used-value-equivalent to 2vmax
  61. min(95px, 1in) should be used-value-equivalent to 95px
  62. max(95px, 1in) should be used-value-equivalent to 1in
  63. min(15px, 1em) should be used-value-equivalent to 15px
  64. min(25px, 1em) should be used-value-equivalent to 20px
  65. max(15px, 1em) should be used-value-equivalent to 20px
  66. max(25px, 1em) should be used-value-equivalent to 25px
  67. min(15px, 1em) should be used-value-equivalent to 10px; fontSize=10px
  68. max(15px, 2em) should be used-value-equivalent to 20px; fontSize=10px
  69. min(25px, max(15px, 1em)) should be used-value-equivalent to 20px
  70. max(15px, min(25px, 1em)) should be used-value-equivalent to 20px
  71. calc(min(1em, 21px) + 10px) should be used-value-equivalent to 30px
  72. calc(min(1em, 21px) - 10px) should be used-value-equivalent to 10px
  73. calc(min(1em, 21px) * 2 should be used-value-equivalent to 40px
  74. calc(min(1em, 21px) / 2 should be used-value-equivalent to 10px
  75. calc(max(1em, 19px) + 10px) should be used-value-equivalent to 30px
  76. calc(max(1em, 19px) - 10px) should be used-value-equivalent to 10px
  77. calc(max(1em, 19px) * 2 should be used-value-equivalent to 40px
  78. calc(max(1em, 19px) / 2 should be used-value-equivalent to 10px
  79. calc(min(1em, 21px) + max(0.9em, 20px)) should be used-value-equivalent to 40px
  80. calc(min(1em + 1px, 22px) - max(0.9em, 20px)) should be used-value-equivalent to 1px
minmax-number-computed.html14 / 14 passingChrome 14 / 140 failedClean
Standing
Clean runner status OK
Chrome
Clean 14 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. min(1) should be used-value-equivalent to 1
  2. max(1) should be used-value-equivalent to 1
  3. min(0.2, max(0.1, 0.15)) should be used-value-equivalent to 0.15
  4. max(0.1, min(0.2, 0.15)) should be used-value-equivalent to 0.15
  5. calc(min(0.1, 0.2) + 0.05) should be used-value-equivalent to 0.15
  6. calc(min(0.1, 0.2) - 0.05) should be used-value-equivalent to 0.05
  7. calc(min(0.1, 0.2) * 2) should be used-value-equivalent to 0.2
  8. calc(min(0.1, 0.2) / 2) should be used-value-equivalent to 0.05
  9. calc(max(0.1, 0.2) + 0.05) should be used-value-equivalent to 0.25
  10. calc(max(0.1, 0.2) - 0.05) should be used-value-equivalent to 0.15
  11. calc(max(0.1, 0.2) * 2) should be used-value-equivalent to 0.4
  12. calc(max(0.1, 0.2) / 2) should be used-value-equivalent to 0.1
  13. calc(min(0.1, 0.2) + max(0.1, 0.05)) should be used-value-equivalent to 0.2
  14. calc(min(0.1, 0.2) - max(0.1, 0.05)) should be used-value-equivalent to 0
minmax-time-computed.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. min(1s) should be used-value-equivalent to 1s
  2. min(1ms) should be used-value-equivalent to 1ms
  3. max(1s) should be used-value-equivalent to 1s
  4. max(1ms) should be used-value-equivalent to 1ms
  5. min(1s, 2s) should be used-value-equivalent to 1s
  6. min(1ms, 2ms) should be used-value-equivalent to 1ms
  7. max(1s, 2s) should be used-value-equivalent to 2s
  8. max(1ms, 2ms) should be used-value-equivalent to 2ms
  9. min(1s, 1100ms) should be used-value-equivalent to 1s
  10. max(0.9s, 1000ms) should be used-value-equivalent to 1000ms
  11. min(2s, max(1s, 1500ms)) should be used-value-equivalent to 1500ms
  12. max(1000ms, min(2000ms, 1.5s)) should be used-value-equivalent to 1.5s
  13. calc(min(0.5s, 600ms) + 500ms) should be used-value-equivalent to 1s
  14. calc(min(0.6s, 700ms) - 500ms) should be used-value-equivalent to 0.1s
  15. calc(min(0.5s, 600ms) * 2) should be used-value-equivalent to 1s
  16. calc(min(0.5s, 600ms) / 2) should be used-value-equivalent to 0.25s
  17. calc(max(0.5s, 400ms) + 500ms) should be used-value-equivalent to 1s
  18. calc(max(0.5s, 400ms) - 400ms) should be used-value-equivalent to 0.1s
  19. calc(max(0.5s, 400ms) * 2) should be used-value-equivalent to 1s
  20. calc(max(0.5s, 400ms) / 2) should be used-value-equivalent to 0.25s
  21. calc(min(0.5s, 600ms) + max(500ms, 0.4s)) should be used-value-equivalent to 1s
  22. calc(min(0.6s, 700ms) - max(500ms, 0.4s)) should be used-value-equivalent to 0.1s
  23. min(1s + 100ms, 500ms * 3) should be used-value-equivalent to 1.1s
  24. calc(min(1s, 2s) + max(3s, 4s) + 10s) should be used-value-equivalent to 15s
progress-computed.html34 / 36 passingChrome 25 / 362 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 25 / 36 WPT subtests passing runner status OK
  1. FAILcalc(progress(50%, 0px, 100px) * 10px) should be used-value-equivalent to 5px
    assert_equals: calc(progress(50%, 0px, 100px) * 10px) and 5px serialize to the same thing in used values. expected "5px" but got "calc(10px * progress(50%, 0px, 100px))"
  2. FAILcalc(50% - 0px * clamp(0, progress(0cqw, 0px, 0px), 1)) should be used-value-equivalent to 50px
    assert_equals: calc(50% - 0px * clamp(0, progress(0cqw, 0px, 0px), 1)) and 50px serialize to the same thing in used values. expected "50px" but got "50%"
34 passing subtests
  1. progress(1, 0, 1) should be used-value-equivalent to 1
  2. progress(progress(1, 0, 1), progress(0px, 0px, 1px), progress(1deg, 0deg, 1deg)) should be used-value-equivalent to 1
  3. progress(sign(-10px) * 10px, (10px - 10px), 10px * progress(1deg, 0deg, 1deg)) should be used-value-equivalent to 0
  4. calc(progress(100px, 0px, 50px) * 10px + 100px) should be used-value-equivalent to 110px
  5. calc(progress(100, 0, sign(50px))) should be used-value-equivalent to 1
  6. calc(progress(abs(5%), hypot(3%, 4%), 10%)) should be used-value-equivalent to 0
  7. progress(50em, 10em, 110em) should be used-value-equivalent to 0.4
  8. progress(1000em, 10em, 110em) should be used-value-equivalent to 1
  9. scale(progress(50em, 10rem, 110em)) should be used-value-equivalent to scale(1)
  10. scale(progress(1000em, 10rem, 110em)) should be used-value-equivalent to scale(1)
  11. scale(progress(0em, 0rem, 0em)) should be used-value-equivalent to scale(0)
  12. scale(progress(sign(1em - 1rem) * 1ex, 0rem, 0em)) should be used-value-equivalent to scale(0)
  13. calc(progress(1, 0, 1) * 10px) should be used-value-equivalent to 10px
  14. calc(progress(1, 0, 1) * 1s) should be used-value-equivalent to 1s
  15. calc(progress(1, 0, 1) * 1deg) should be used-value-equivalent to 1deg
  16. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 10em, 2rem, 12em) / 2) should be used-value-equivalent to 0.4
  17. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 10) should be used-value-equivalent to 10
  18. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 30) should be used-value-equivalent to 30
  19. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) / 4) should be used-value-equivalent to 0.25
  20. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 4) should be used-value-equivalent to 4
  21. calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 2) should be used-value-equivalent to 2
  22. rotate3d(progress(21em, 1rem, 11em), progress(21em, 1rem, 11em), progress(21em, 1rem, 11em), calc(progress(11em, 1rem, 11em) * 2deg)) should be used-value-equivalent to rotate3d(2, 2, 2, 2deg)
  23. calc(progress(no-clamp 100px, 0px, 50px) * 10px + 100px) should be used-value-equivalent to 120px
  24. calc(progress(no-clamp 100, 0, sign(1rem - 5px))) should be used-value-equivalent to 100
  25. calc(progress(no-clamp abs(5%), hypot(3%, 4%), 10%)) should be used-value-equivalent to 0
  26. progress(no-clamp 50em, 10em, 110em) should be used-value-equivalent to 0.4
  27. progress(no-clamp 1000em, 10em, 110em) should be used-value-equivalent to 9.9
  28. progress(no-clamp 10em, 50em, 100em) should be used-value-equivalent to -0.8
  29. progress(100px, 10px, 10px) should be used-value-equivalent to 0
  30. progress(1px, 10px, 10px) should be used-value-equivalent to 0
  31. progress(10px, 10px, 10px) should be used-value-equivalent to 0
  32. progress(no-clamp 100px, 10px, 10px) should be used-value-equivalent to calc(infinity)
  33. progress(no-clamp 1px, 10px, 10px) should be used-value-equivalent to calc(-infinity)
  34. progress(no-clamp 10px, 10px, 10px) should be used-value-equivalent to 0
random-item-computed.html37 / 37 passingChrome 5 / 370 failedClean
Standing
Clean runner status OK
Chrome
With failures 5 / 37 WPT subtests passing runner status OK
37 passing subtests
  1. Property color value 'random-item(fixed 0, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  2. Property color value 'random-item(fixed 0.5, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  3. Property color value 'random-item(fixed 0.999, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  4. Property color value 'random-item(fixed 1, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  5. Property color value 'random-item(fixed 0, rgb(1, 0, 0))'
  6. Property color value 'random-item(auto, rgb(1, 0, 0))'
  7. Property color value 'random-item(auto, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  8. Property color value 'random-item(--key, rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  9. Property color value 'random-item(element-scoped, rgb(1, 0, 0), rgb(0, 1, 0))'
  10. Property color value 'random-item(--key element-scoped, rgb(1, 0, 0), rgb(0, 1, 0))'
  11. Property font-family value 'random-item(fixed 0, {Times, serif}, {Arial, sans-serif})'
  12. Property font-family value 'random-item(fixed 0.999, {Times, serif}, {Arial, sans-serif})'
  13. Property font-family value 'random-item(fixed 0, { Times, serif }, { Arial, sans-serif })'
  14. Property font-family value 'random-item(fixed 0.999, { Times, serif }, { Arial, sans-serif })'
  15. Property color value 'random-item(fixed calc(0.5), rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  16. Property color value 'random-item(fixed calc(1 / 4), rgb(1, 0, 0), rgb(0, 1, 0), rgb(0, 0, 1))'
  17. Property color value 'random-item(fixed 1, rgb(1, 0, 0))'
  18. Property color value 'random-item(element-scoped --key, rgb(1, 0, 0), rgb(0, 1, 0))'
  19. random-item() with a var()-derived <random-key> resolves
  20. random-item() selecting var(--a) into a registered <length>
  21. random-item() selecting var(--b) into a registered <length>
  22. random-item() into a registered <length>
  23. random-item() into a registered <number>
  24. Selecting an empty item is invalid at computed-value time
  25. random-item() selection is stable across style recalculation
  26. Independent auto random-item() instances each resolve to a valid item
  27. random-item() with an auto <random-key> is element-scoped
  28. random-item() with a bare element-scoped <random-key> is not shared between elements
  29. random-item() with a <dashed-ident> element-scoped <random-key> is not shared between elements
  30. random-item() with a <dashed-ident> <random-key> is shared between elements
  31. A shared dashed-ident key selects the same item across properties
  32. random() and random-item() using auto in one declaration both resolve
  33. A bare element-scoped key selects the same item across random-item() instances
  34. random() and random-item() share the base value for a bare element-scoped key
  35. auto random() and auto random-item() in one value do not share a base value
  36. auto random() substituted through var() does not share a base value with random-item()
  37. Property color value 'random-item(--, rgb(1, 0, 0), rgb(0, 1, 0))'
round-mod-rem-computed.html225 / 243 passingChrome 243 / 24318 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 243 / 243 WPT subtests passing runner status OK
  1. FAILround(10%,1px) should be used-value-equivalent to 8px
    assert_equals: round(10%,1px) and 8px serialize to the same thing in used values. expected "8px" but got "round(10%, 1px)"
  2. FAILround(10%,5px) should be used-value-equivalent to 10px
    assert_equals: round(10%,5px) and 10px serialize to the same thing in used values. expected "10px" but got "round(10%, 5px)"
  3. FAILmod(10%,1px) should be used-value-equivalent to 0.5px
    assert_equals: mod(10%,1px) and 0.5px serialize to the same thing in used values. expected "0.5px" but got "mod(10%, 1px)"
  4. FAILmod(10%,5px) should be used-value-equivalent to 2.5px
    assert_equals: mod(10%,5px) and 2.5px serialize to the same thing in used values. expected "2.5px" but got "mod(10%, 5px)"
  5. FAILmod(18px,100% / 15) should be used-value-equivalent to 3px
    assert_approx_equals: mod(18px,100% / 15) and 3px 0.1 serialize to the same thing in used values. expected 3 +/- 0.1 but got NaN
  6. FAILmod(-18px,100% / 10) should be used-value-equivalent to 4.5px
    assert_equals: mod(-18px,100% / 10) and 4.5px serialize to the same thing in used values. expected "4.5px" but got "mod(-18px, 10%)"
  7. FAILmod(18%,5%) should be used-value-equivalent to 3%
    assert_equals: mod(18%,5%) and 3% serialize to the same thing in used values. expected "3%" but got "mod(18%, 5%)"
  8. FAILmod(-19%,5%) should be used-value-equivalent to 1%
    assert_equals: mod(-19%,5%) and 1% serialize to the same thing in used values. expected "1%" but got "mod(-19%, 5%)"
  9. FAILrem(10%,1px) should be used-value-equivalent to 0.5px
    assert_equals: rem(10%,1px) and 0.5px serialize to the same thing in used values. expected "0.5px" but got "rem(10%, 1px)"
  10. FAILrem(10%,5px) should be used-value-equivalent to 2.5px
    assert_equals: rem(10%,5px) and 2.5px serialize to the same thing in used values. expected "2.5px" but got "rem(10%, 5px)"
  11. FAILrem(18px,100% / 15) should be used-value-equivalent to 3px
    assert_approx_equals: rem(18px,100% / 15) and 3px 0.1 serialize to the same thing in used values. expected 3 +/- 0.1 but got NaN
  12. FAILrem(-18px,100% / 15) should be used-value-equivalent to -3px
    assert_approx_equals: rem(-18px,100% / 15) and -3px 0.1 serialize to the same thing in used values. expected -3 +/- 0.1 but got NaN
  13. FAILcalc(round(1px + 0%, 1px + 0%)) should be used-value-equivalent to 1px
    assert_equals: calc(round(1px + 0%, 1px + 0%)) and 1px serialize to the same thing in used values. expected "1px" but got "round(0% + 1px, 0% + 1px)"
  14. FAILcalc(mod(3px + 0%, 2px + 0%)) should be used-value-equivalent to 1px
    assert_equals: calc(mod(3px + 0%, 2px + 0%)) and 1px serialize to the same thing in used values. expected "1px" but got "mod(0% + 3px, 0% + 2px)"
  15. FAILcalc(rem(3px + 0%, 2px + 0%)) should be used-value-equivalent to 1px
    assert_equals: calc(rem(3px + 0%, 2px + 0%)) and 1px serialize to the same thing in used values. expected "1px" but got "rem(0% + 3px, 0% + 2px)"
  16. FAILround(1px + 0%, 1px) should be used-value-equivalent to 1px
    assert_equals: round(1px + 0%, 1px) and 1px serialize to the same thing in used values. expected "1px" but got "round(0% + 1px, 1px)"
  17. FAILmod(3px + 0%, 2px) should be used-value-equivalent to 1px
    assert_equals: mod(3px + 0%, 2px) and 1px serialize to the same thing in used values. expected "1px" but got "mod(0% + 3px, 2px)"
  18. FAILrem(3px + 0%, 2px) should be used-value-equivalent to 1px
    assert_equals: rem(3px + 0%, 2px) and 1px serialize to the same thing in used values. expected "1px" but got "rem(0% + 3px, 2px)"
225 passing subtests
  1. round(10,10) should be used-value-equivalent to 10
  2. mod(1,1) should be used-value-equivalent to 0
  3. mod(0,-2) should be used-value-equivalent to 0
  4. mod(2,-2) should be used-value-equivalent to 0
  5. mod(4,-2) should be used-value-equivalent to 0
  6. mod(-2,-2) should be used-value-equivalent to 0
  7. mod(-4,-2) should be used-value-equivalent to 0
  8. mod(0, 2) should be used-value-equivalent to 0
  9. mod(2, 2) should be used-value-equivalent to 0
  10. mod(-2, 2) should be used-value-equivalent to 0
  11. mod(1, 2) should be used-value-equivalent to 1
  12. mod(3, 2) should be used-value-equivalent to 1
  13. mod(-1, 2) should be used-value-equivalent to 1
  14. mod(1, -2) should be used-value-equivalent to -1
  15. mod(3, -2) should be used-value-equivalent to -1
  16. mod(-1, -2) should be used-value-equivalent to -1
  17. rem(1,1) should be used-value-equivalent to 0
  18. calc(round(100,10)) should be used-value-equivalent to 100
  19. calc(round(up, 101,10)) should be used-value-equivalent to 110
  20. calc(round(down, 106,10)) should be used-value-equivalent to 100
  21. calc(round(to-zero, 105, 10)) should be used-value-equivalent to 100
  22. calc(round(to-zero, -105, 10)) should be used-value-equivalent to -100
  23. calc(round(-100, 10)) should be used-value-equivalent to -100
  24. calc(round(up, -103, 10)) should be used-value-equivalent to -100
  25. round(up, 0, 5) should be used-value-equivalent to 0
  26. round(down, 0, 5) should be used-value-equivalent to 0
  27. round(nearest, 0, 5) should be used-value-equivalent to 0
  28. round(to-zero, 0, 5) should be used-value-equivalent to 0
  29. round(up, 5, 5) should be used-value-equivalent to 5
  30. round(down, 5, 5) should be used-value-equivalent to 5
  31. round(nearest, 5, 5) should be used-value-equivalent to 5
  32. round(to-zero, 5, 5) should be used-value-equivalent to 5
  33. round(up, -5, 5) should be used-value-equivalent to -5
  34. round(down, -5, 5) should be used-value-equivalent to -5
  35. round(nearest, -5, 5) should be used-value-equivalent to -5
  36. round(to-zero, -5, 5) should be used-value-equivalent to -5
  37. round(up, 10, 5) should be used-value-equivalent to 10
  38. round(down, 10, 5) should be used-value-equivalent to 10
  39. round(nearest, 10, 5) should be used-value-equivalent to 10
  40. round(to-zero, 10, 5) should be used-value-equivalent to 10
  41. round(up, -10, 5) should be used-value-equivalent to -10
  42. round(down, -10, 5) should be used-value-equivalent to -10
  43. round(nearest, -10, 5) should be used-value-equivalent to -10
  44. round(to-zero, -10, 5) should be used-value-equivalent to -10
  45. round(up, 20, 5) should be used-value-equivalent to 20
  46. round(down, 20, 5) should be used-value-equivalent to 20
  47. round(nearest, 20, 5) should be used-value-equivalent to 20
  48. round(to-zero, 20, 5) should be used-value-equivalent to 20
  49. round(up, -20, 5) should be used-value-equivalent to -20
  50. round(down, -20, 5) should be used-value-equivalent to -20
  51. round(nearest, -20, 5) should be used-value-equivalent to -20
  52. round(to-zero, -20, 5) should be used-value-equivalent to -20
  53. mod(18,5) should be used-value-equivalent to 3
  54. rem(18,5) should be used-value-equivalent to 3
  55. mod(-140,-90) should be used-value-equivalent to -50
  56. mod(-18,5) should be used-value-equivalent to 2
  57. rem(-18,5) should be used-value-equivalent to -3
  58. mod(140,-90) should be used-value-equivalent to -40
  59. rem(140,-90) should be used-value-equivalent to 50
  60. calc(round(round(100,10), 10)) should be used-value-equivalent to 100
  61. calc(round(up, round(100,10) + 1,10)) should be used-value-equivalent to 110
  62. calc(round(down, round(100,10) + 2 * 3,10)) should be used-value-equivalent to 100
  63. calc(round(to-zero,round(100,10) * 2 - 95, 10)) should be used-value-equivalent to 100
  64. calc(round(round(100,10)* -1,10)) should be used-value-equivalent to -100
  65. calc(round(up, -103 + -103 / -103 - 1,10)) should be used-value-equivalent to -100
  66. calc(mod(18,5) * 2 + mod(17,5)) should be used-value-equivalent to 8
  67. calc(rem(mod(18,5),5)) should be used-value-equivalent to 3
  68. calc(rem(mod(18,5),mod(17,5))) should be used-value-equivalent to 1
  69. calc(mod(-140,-90)) should be used-value-equivalent to -50
  70. calc(mod(rem(1,18)* -1,5)) should be used-value-equivalent to 4
  71. round(10px,6px) should be used-value-equivalent to 12px
  72. round(10cm,6cm) should be used-value-equivalent to 12cm
  73. round(10mm,6mm) should be used-value-equivalent to 12mm
  74. round(10Q, 6Q) should be used-value-equivalent to 12Q
  75. round(10in,6in) should be used-value-equivalent to 12in
  76. round(10pc,6pc) should be used-value-equivalent to 12pc
  77. round(10pt,6pt) should be used-value-equivalent to 12pt
  78. round(10em,6em) should be used-value-equivalent to 12em
  79. round(10ex,6ex) should be used-value-equivalent to 12ex
  80. round(10ch,6ch) should be used-value-equivalent to 12ch
  81. round(10rem,6rem) should be used-value-equivalent to 12rem
  82. round(10vh,6vh) should be used-value-equivalent to 12vh
  83. round(10vw,6vw) should be used-value-equivalent to 12vw
  84. round(10vmin,6vmin) should be used-value-equivalent to 12vmin
  85. round(10vmax,6vmax) should be used-value-equivalent to 12vmax
  86. round(10s,6s) should be used-value-equivalent to 12s
  87. round(10ms,6ms) should be used-value-equivalent to 12ms
  88. round(10deg,6deg) should be used-value-equivalent to 12deg
  89. round(10grad,6grad) should be used-value-equivalent to 12grad
  90. round(10rad,6rad) should be used-value-equivalent to 12rad
  91. round(10turn,6turn) should be used-value-equivalent to 12turn
  92. mod(10px,6px) should be used-value-equivalent to 4px
  93. mod(10cm,6cm) should be used-value-equivalent to 4cm
  94. mod(10mm,6mm) should be used-value-equivalent to 4mm
  95. mod(10Q, 6Q) should be used-value-equivalent to 4Q
  96. mod(10in,6in) should be used-value-equivalent to 4in
  97. mod(10pc,6pc) should be used-value-equivalent to 4pc
  98. mod(10em,6em) should be used-value-equivalent to 4em
  99. mod(10ex,6ex) should be used-value-equivalent to 4ex
  100. mod(10ch,6ch) should be used-value-equivalent to 4ch
  101. mod(10rem,6rem) should be used-value-equivalent to 4rem
  102. mod(10vh,6vh) should be used-value-equivalent to 4vh
  103. mod(10vw,6vw) should be used-value-equivalent to 4vw
  104. mod(10vmin,6vmin) should be used-value-equivalent to 4vmin
  105. mod(10vmax,6vmax) should be used-value-equivalent to 4vmax
  106. mod(10s,6s) should be used-value-equivalent to 4s
  107. mod(10ms,6ms) should be used-value-equivalent to 4ms
  108. mod(10deg,6deg) should be used-value-equivalent to 4deg
  109. mod(10grad,6grad) should be used-value-equivalent to 4grad
  110. mod(10rad,6rad) should be used-value-equivalent to 4rad
  111. mod(10turn,6turn) should be used-value-equivalent to 4turn
  112. rem(10px,6px) should be used-value-equivalent to 4px
  113. rem(10cm,6cm) should be used-value-equivalent to 4cm
  114. rem(10mm,6mm) should be used-value-equivalent to 4mm
  115. rem(10Q, 6Q) should be used-value-equivalent to 4Q
  116. rem(10in,6in) should be used-value-equivalent to 4in
  117. rem(10pc,6pc) should be used-value-equivalent to 4pc
  118. rem(10em,6em) should be used-value-equivalent to 4em
  119. rem(10ex,6ex) should be used-value-equivalent to 4ex
  120. rem(10ch,6ch) should be used-value-equivalent to 4ch
  121. rem(10rem,6rem) should be used-value-equivalent to 4rem
  122. rem(10vh,6vh) should be used-value-equivalent to 4vh
  123. rem(10vw,6vw) should be used-value-equivalent to 4vw
  124. rem(10vmin,6vmin) should be used-value-equivalent to 4vmin
  125. rem(10vmax,6vmax) should be used-value-equivalent to 4vmax
  126. rem(10s,6s) should be used-value-equivalent to 4s
  127. rem(10ms,6ms) should be used-value-equivalent to 4ms
  128. rem(10deg,6deg) should be used-value-equivalent to 4deg
  129. rem(10grad,6grad) should be used-value-equivalent to 4grad
  130. rem(10rad,6rad) should be used-value-equivalent to 4rad
  131. rem(10turn,6turn) should be used-value-equivalent to 4turn
  132. round(2rem,5px) should be used-value-equivalent to 30px
  133. round(100px,1rem) should be used-value-equivalent to 96px
  134. round(10s,6000ms) should be used-value-equivalent to 12s
  135. round(10000ms,6s) should be used-value-equivalent to 12s
  136. mod(2rem,5px) should be used-value-equivalent to 2px
  137. mod(100px,1rem) should be used-value-equivalent to 4px
  138. mod(10s,6000ms) should be used-value-equivalent to 4s
  139. mod(10000ms,6s) should be used-value-equivalent to 4s
  140. mod(18vw,5vw) should be used-value-equivalent to 3vw
  141. mod(-18vw,5vw) should be used-value-equivalent to 2vw
  142. rem(2rem,5px) should be used-value-equivalent to 2px
  143. rem(100px,1rem) should be used-value-equivalent to 4px
  144. rem(10s,6000ms) should be used-value-equivalent to 4s
  145. rem(10000ms,6s) should be used-value-equivalent to 4s
  146. rem(18vw,5vw) should be used-value-equivalent to 3vw
  147. rem(-18vw,5vw) should be used-value-equivalent to -3vw
  148. round(0, 0) should be used-value-equivalent to calc(NaN)
  149. round(-0, 0) should be used-value-equivalent to calc(NaN)
  150. round(Infinity, 0) should be used-value-equivalent to calc(NaN)
  151. round(-Infinity, 0) should be used-value-equivalent to calc(NaN)
  152. round(-4, 0) should be used-value-equivalent to calc(NaN)
  153. round(4, 0) should be used-value-equivalent to calc(NaN)
  154. round(Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  155. round(-Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  156. round(Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  157. round(-Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  158. mod(0, 0) should be used-value-equivalent to calc(NaN)
  159. mod(-0, 0) should be used-value-equivalent to calc(NaN)
  160. mod(Infinity, 0) should be used-value-equivalent to calc(NaN)
  161. mod(-Infinity, 0) should be used-value-equivalent to calc(NaN)
  162. mod(-4, 0) should be used-value-equivalent to calc(NaN)
  163. mod(4, 0) should be used-value-equivalent to calc(NaN)
  164. mod(Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  165. mod(-Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  166. mod(Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  167. mod(-Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  168. rem(0, 0) should be used-value-equivalent to calc(NaN)
  169. rem(-0, 0) should be used-value-equivalent to calc(NaN)
  170. rem(Infinity, 0) should be used-value-equivalent to calc(NaN)
  171. rem(-Infinity, 0) should be used-value-equivalent to calc(NaN)
  172. rem(-4, 0) should be used-value-equivalent to calc(NaN)
  173. rem(4, 0) should be used-value-equivalent to calc(NaN)
  174. rem(Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  175. rem(-Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  176. rem(Infinity, -Infinity) should be used-value-equivalent to calc(NaN)
  177. rem(-Infinity, Infinity) should be used-value-equivalent to calc(NaN)
  178. round(up, Infinity, 4) should be used-value-equivalent to calc(Infinity)
  179. round(up, -Infinity, 4) should be used-value-equivalent to calc(-Infinity)
  180. round(up, Infinity, -4) should be used-value-equivalent to calc(Infinity)
  181. round(up, -Infinity, -4) should be used-value-equivalent to calc(-Infinity)
  182. round(down, Infinity, 4) should be used-value-equivalent to calc(Infinity)
  183. round(down, -Infinity, 4) should be used-value-equivalent to calc(-Infinity)
  184. round(down, Infinity, -4) should be used-value-equivalent to calc(Infinity)
  185. round(down, -Infinity, -4) should be used-value-equivalent to calc(-Infinity)
  186. round(nearest, Infinity, 4) should be used-value-equivalent to calc(Infinity)
  187. round(nearest, -Infinity, 4) should be used-value-equivalent to calc(-Infinity)
  188. round(nearest, Infinity, -4) should be used-value-equivalent to calc(Infinity)
  189. round(nearest, -Infinity, -4) should be used-value-equivalent to calc(-Infinity)
  190. round(to-zero, Infinity, 4) should be used-value-equivalent to calc(Infinity)
  191. round(to-zero, -Infinity, 4) should be used-value-equivalent to calc(-Infinity)
  192. round(to-zero, Infinity, -4) should be used-value-equivalent to calc(Infinity)
  193. round(to-zero, -Infinity, -4) should be used-value-equivalent to calc(-Infinity)
  194. round(nearest, 0, Infinity) should be used-value-equivalent to 0
  195. round(nearest, 4, Infinity) should be used-value-equivalent to 0
  196. round(nearest, -0, Infinity) should be used-value-equivalent to calc(-0)
  197. round(nearest, -4, Infinity) should be used-value-equivalent to calc(-0)
  198. round(nearest, 0, -Infinity) should be used-value-equivalent to 0
  199. round(nearest, 4, -Infinity) should be used-value-equivalent to 0
  200. round(nearest, -0, -Infinity) should be used-value-equivalent to calc(-0)
  201. round(nearest, -4, -Infinity) should be used-value-equivalent to calc(-0)
  202. round(to-zero, 0, Infinity) should be used-value-equivalent to 0
  203. round(to-zero, 4, Infinity) should be used-value-equivalent to 0
  204. round(to-zero, -0, Infinity) should be used-value-equivalent to calc(-0)
  205. round(to-zero, -4, Infinity) should be used-value-equivalent to calc(-0)
  206. round(to-zero, 0, -Infinity) should be used-value-equivalent to 0
  207. round(to-zero, 4, -Infinity) should be used-value-equivalent to 0
  208. round(to-zero, -0, -Infinity) should be used-value-equivalent to calc(-0)
  209. round(to-zero, -4, -Infinity) should be used-value-equivalent to calc(-0)
  210. round(up, 1, Infinity) should be used-value-equivalent to calc(Infinity)
  211. round(up, 0, Infinity) should be used-value-equivalent to 0
  212. round(up, -1, Infinity) should be used-value-equivalent to calc(-0)
  213. round(up, 1, -Infinity) should be used-value-equivalent to calc(Infinity)
  214. round(up, 0, -Infinity) should be used-value-equivalent to 0
  215. round(up, -1, -Infinity) should be used-value-equivalent to calc(-0)
  216. round(down, 1, Infinity) should be used-value-equivalent to calc(-0)
  217. round(down, 0, Infinity) should be used-value-equivalent to 0
  218. round(down, -1, Infinity) should be used-value-equivalent to calc(-Infinity)
  219. round(down, 1, -Infinity) should be used-value-equivalent to calc(-0)
  220. round(down, 0, -Infinity) should be used-value-equivalent to 0
  221. round(down, -1, -Infinity) should be used-value-equivalent to calc(-Infinity)
  222. mod(-0, Infinity) should be used-value-equivalent to calc(NaN)
  223. mod(0, -Infinity) should be used-value-equivalent to calc(NaN)
  224. mod(-4, Infinity) should be used-value-equivalent to calc(NaN)
  225. mod(4, -Infinity) should be used-value-equivalent to calc(NaN)
signs-abs-computed.html229 / 239 passingChrome 233 / 23910 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 233 / 239 WPT subtests passing runner status OK
  1. FAILabs(10%) should be used-value-equivalent to 10px
    assert_equals: abs(10%) and 10px serialize to the same thing in used values. expected "10px" but got "abs(10%)"
  2. FAILabs(10px + 10%) should be used-value-equivalent to 20px
    assert_equals: abs(10px + 10%) and 20px serialize to the same thing in used values. expected "20px" but got "abs(10% + 10px)"
  3. FAILcalc(10px + abs(10%)) should be used-value-equivalent to 20px
    assert_equals: calc(10px + abs(10%)) and 20px serialize to the same thing in used values. expected "20px" but got "calc(10px + abs(10%))"
  4. FAILabs(-10%) should be used-value-equivalent to 10px
    assert_equals: abs(-10%) and 10px serialize to the same thing in used values. expected "10px" but got "abs(-10%)"
  5. FAILcalc((1em + 1px) * (sign(1em - 10px - 10%) + 1)) should be used-value-equivalent to 21px
    assert_equals: calc((1em + 1px) * (sign(1em - 10px - 10%) + 1)) and 21px serialize to the same thing in used values. expected "21px" but got "calc(21px * (1 + sign(-10% + 10px)))"
  6. FAILsign(1cqw) should be used-value-equivalent to 1; width=50px
    assert_not_equals: sign(1cqw) isn't valid in 'z-index'; got the default value instead. got disallowed value "auto"
  7. FAILsign(-1cqw) should be used-value-equivalent to -1; width=50px
    assert_not_equals: sign(-1cqw) isn't valid in 'z-index'; got the default value instead. got disallowed value "auto"
  8. FAILsign(1cqw) should be used-value-equivalent to 0; width=0px
    assert_not_equals: sign(1cqw) isn't valid in 'z-index'; got the default value instead. got disallowed value "auto"
  9. FAILsign(-1cqw) should be used-value-equivalent to 0; width=0px
    assert_not_equals: sign(-1cqw) isn't valid in 'z-index'; got the default value instead. got disallowed value "auto"
  10. FAILcalc(sign(10%) * 100px) should be used-value-equivalent to 100px
    assert_equals: calc(sign(10%) * 100px) and 100px serialize to the same thing in used values. expected "100px" but got "calc(100px * sign(10%))"
229 passing subtests
  1. abs(1) should be used-value-equivalent to 1
  2. sign(1) should be used-value-equivalent to 1
  3. abs(-1) should be used-value-equivalent to 1
  4. sign(-1) should be used-value-equivalent to -1
  5. abs(sign(1)) should be used-value-equivalent to 1
  6. abs(sign(sign(1))) should be used-value-equivalent to 1
  7. sign(sign(sign(1) + sign(1))) should be used-value-equivalent to 1
  8. calc(abs(0.1 + 0.2) + 0.05) should be used-value-equivalent to 0.35
  9. calc(sign(0.1 + 0.2) - 0.05) should be used-value-equivalent to 0.95
  10. calc(abs(0.1 + 0.2) * 2) should be used-value-equivalent to 0.6
  11. calc(abs(sign(0.1) + 0.2) / 2) should be used-value-equivalent to 0.6
  12. calc(abs(0.1 + 0.2) * -2) should be used-value-equivalent to -0.6
  13. calc(sign(0.1 - 0.2) - 0.05) should be used-value-equivalent to -1.05
  14. calc(sign(1) + sign(1) - 0.05) should be used-value-equivalent to 1.95
  15. abs(10px) should be used-value-equivalent to 10px
  16. abs(-10px) should be used-value-equivalent to 10px
  17. calc(calc(sign(-0))) should be used-value-equivalent to 0
  18. clamp(-1, calc( 1 / sign(calc(sign(-0)))), 1) should be used-value-equivalent to -1
  19. calc(calc(sign(0))) should be used-value-equivalent to 0
  20. clamp(-1, calc( 1 / sign(calc(sign(0)))), 1) should be used-value-equivalent to 1
  21. abs(infinity) should be used-value-equivalent to calc(infinity)
  22. abs(-infinity) should be used-value-equivalent to calc(infinity)
  23. abs(NaN) should be used-value-equivalent to calc(NaN)
  24. calc(20 - abs(-10)) should be used-value-equivalent to 10
  25. calc(20 - abs(10)) should be used-value-equivalent to 10
  26. calc(10 - abs(10 - abs(-30)) should be used-value-equivalent to -10
  27. calc(2 - sign(1)) should be used-value-equivalent to 1
  28. calc(2 - sign(-1)) should be used-value-equivalent to 3
  29. calc(2 - sign(1 - sign(-1))) should be used-value-equivalent to 1
  30. calc(10 - abs(20 - sign(2 - abs(-20)))) should be used-value-equivalent to -11
  31. sign(1px) should be used-value-equivalent to 1
  32. sign(1cm) should be used-value-equivalent to 1
  33. sign(1mm) should be used-value-equivalent to 1
  34. sign(1Q) should be used-value-equivalent to 1
  35. sign(1in) should be used-value-equivalent to 1
  36. sign(1pc) should be used-value-equivalent to 1
  37. sign(1pt) should be used-value-equivalent to 1
  38. sign(1em) should be used-value-equivalent to 1
  39. sign(1ex) should be used-value-equivalent to 1
  40. sign(1ch) should be used-value-equivalent to 1
  41. sign(1rem) should be used-value-equivalent to 1
  42. sign(1vh) should be used-value-equivalent to 1
  43. sign(1vw) should be used-value-equivalent to 1
  44. sign(1vmin) should be used-value-equivalent to 1
  45. sign(1vmax) should be used-value-equivalent to 1
  46. sign(-1px) should be used-value-equivalent to -1
  47. sign(-1cm) should be used-value-equivalent to -1
  48. sign(-1mm) should be used-value-equivalent to -1
  49. sign(-1Q) should be used-value-equivalent to -1
  50. sign(-1in) should be used-value-equivalent to -1
  51. sign(-1pc) should be used-value-equivalent to -1
  52. sign(-1pt) should be used-value-equivalent to -1
  53. sign(-1em) should be used-value-equivalent to -1
  54. sign(-1ex) should be used-value-equivalent to -1
  55. sign(-1ch) should be used-value-equivalent to -1
  56. sign(-1rem) should be used-value-equivalent to -1
  57. sign(-1vh) should be used-value-equivalent to -1
  58. sign(-1vw) should be used-value-equivalent to -1
  59. sign(-1vmin) should be used-value-equivalent to -1
  60. sign(-1vmax) should be used-value-equivalent to -1
  61. sign(1s) should be used-value-equivalent to 1
  62. sign(1ms) should be used-value-equivalent to 1
  63. sign(-1s) should be used-value-equivalent to -1
  64. sign(-1ms) should be used-value-equivalent to -1
  65. sign(1deg) should be used-value-equivalent to 1
  66. sign(1grad) should be used-value-equivalent to 1
  67. sign(1rad) should be used-value-equivalent to 1
  68. sign(1turn) should be used-value-equivalent to 1
  69. sign(-1deg) should be used-value-equivalent to -1
  70. sign(-1grad) should be used-value-equivalent to -1
  71. sign(-1rad) should be used-value-equivalent to -1
  72. sign(-1turn) should be used-value-equivalent to -1
  73. calc(sign(0px)) should be used-value-equivalent to 0
  74. clamp(-1, calc( 1 / sign(sign(0px))), 1) should be used-value-equivalent to 1
  75. calc(sign(0cm)) should be used-value-equivalent to 0
  76. clamp(-1, calc( 1 / sign(sign(0cm))), 1) should be used-value-equivalent to 1
  77. calc(sign(0mm)) should be used-value-equivalent to 0
  78. clamp(-1, calc( 1 / sign(sign(0mm))), 1) should be used-value-equivalent to 1
  79. calc(sign(0Q)) should be used-value-equivalent to 0
  80. clamp(-1, calc( 1 / sign(sign(0Q))), 1) should be used-value-equivalent to 1
  81. calc(sign(0in)) should be used-value-equivalent to 0
  82. clamp(-1, calc( 1 / sign(sign(0in))), 1) should be used-value-equivalent to 1
  83. calc(sign(0pc)) should be used-value-equivalent to 0
  84. clamp(-1, calc( 1 / sign(sign(0pc))), 1) should be used-value-equivalent to 1
  85. calc(sign(0pt)) should be used-value-equivalent to 0
  86. clamp(-1, calc( 1 / sign(sign(0pt))), 1) should be used-value-equivalent to 1
  87. calc(sign(0em)) should be used-value-equivalent to 0
  88. clamp(-1, calc( 1 / sign(sign(0em))), 1) should be used-value-equivalent to 1
  89. calc(sign(0ex)) should be used-value-equivalent to 0
  90. clamp(-1, calc( 1 / sign(sign(0ex))), 1) should be used-value-equivalent to 1
  91. calc(sign(0ch)) should be used-value-equivalent to 0
  92. clamp(-1, calc( 1 / sign(sign(0ch))), 1) should be used-value-equivalent to 1
  93. calc(sign(0rem)) should be used-value-equivalent to 0
  94. clamp(-1, calc( 1 / sign(sign(0rem))), 1) should be used-value-equivalent to 1
  95. calc(sign(0vh)) should be used-value-equivalent to 0
  96. clamp(-1, calc( 1 / sign(sign(0vh))), 1) should be used-value-equivalent to 1
  97. calc(sign(0vw)) should be used-value-equivalent to 0
  98. clamp(-1, calc( 1 / sign(sign(0vw))), 1) should be used-value-equivalent to 1
  99. calc(sign(0vmin)) should be used-value-equivalent to 0
  100. clamp(-1, calc( 1 / sign(sign(0vmin))), 1) should be used-value-equivalent to 1
  101. calc(sign(0vmax)) should be used-value-equivalent to 0
  102. clamp(-1, calc( 1 / sign(sign(0vmax))), 1) should be used-value-equivalent to 1
  103. calc(sign(-0px)) should be used-value-equivalent to 0
  104. clamp(-1, calc( 1 / sign(sign(-0px))), 1) should be used-value-equivalent to -1
  105. calc(sign(-0cm)) should be used-value-equivalent to 0
  106. clamp(-1, calc( 1 / sign(sign(-0cm))), 1) should be used-value-equivalent to -1
  107. calc(sign(-0mm)) should be used-value-equivalent to 0
  108. clamp(-1, calc( 1 / sign(sign(-0mm))), 1) should be used-value-equivalent to -1
  109. calc(sign(-0Q)) should be used-value-equivalent to 0
  110. clamp(-1, calc( 1 / sign(sign(-0Q))), 1) should be used-value-equivalent to -1
  111. calc(sign(-0in)) should be used-value-equivalent to 0
  112. clamp(-1, calc( 1 / sign(sign(-0in))), 1) should be used-value-equivalent to -1
  113. calc(sign(-0pc)) should be used-value-equivalent to 0
  114. clamp(-1, calc( 1 / sign(sign(-0pc))), 1) should be used-value-equivalent to -1
  115. calc(sign(-0pt)) should be used-value-equivalent to 0
  116. clamp(-1, calc( 1 / sign(sign(-0pt))), 1) should be used-value-equivalent to -1
  117. calc(sign(-0em)) should be used-value-equivalent to 0
  118. clamp(-1, calc( 1 / sign(sign(-0em))), 1) should be used-value-equivalent to -1
  119. calc(sign(-0ex)) should be used-value-equivalent to 0
  120. clamp(-1, calc( 1 / sign(sign(-0ex))), 1) should be used-value-equivalent to -1
  121. calc(sign(-0ch)) should be used-value-equivalent to 0
  122. clamp(-1, calc( 1 / sign(sign(-0ch))), 1) should be used-value-equivalent to -1
  123. calc(sign(-0rem)) should be used-value-equivalent to 0
  124. clamp(-1, calc( 1 / sign(sign(-0rem))), 1) should be used-value-equivalent to -1
  125. calc(sign(-0vh)) should be used-value-equivalent to 0
  126. clamp(-1, calc( 1 / sign(sign(-0vh))), 1) should be used-value-equivalent to -1
  127. calc(sign(-0vw)) should be used-value-equivalent to 0
  128. clamp(-1, calc( 1 / sign(sign(-0vw))), 1) should be used-value-equivalent to -1
  129. calc(sign(-0vmin)) should be used-value-equivalent to 0
  130. clamp(-1, calc( 1 / sign(sign(-0vmin))), 1) should be used-value-equivalent to -1
  131. calc(sign(-0vmax)) should be used-value-equivalent to 0
  132. clamp(-1, calc( 1 / sign(sign(-0vmax))), 1) should be used-value-equivalent to -1
  133. calc(sign(0s)) should be used-value-equivalent to 0
  134. clamp(-1, calc( 1 / sign(sign(0s))), 1) should be used-value-equivalent to 1
  135. calc(sign(0ms)) should be used-value-equivalent to 0
  136. clamp(-1, calc( 1 / sign(sign(0ms))), 1) should be used-value-equivalent to 1
  137. calc(sign(-0s)) should be used-value-equivalent to 0
  138. clamp(-1, calc( 1 / sign(sign(-0s))), 1) should be used-value-equivalent to -1
  139. calc(sign(-0ms)) should be used-value-equivalent to 0
  140. clamp(-1, calc( 1 / sign(sign(-0ms))), 1) should be used-value-equivalent to -1
  141. calc(sign(0deg)) should be used-value-equivalent to 0
  142. clamp(-1, calc( 1 / sign(sign(0deg))), 1) should be used-value-equivalent to 1
  143. calc(sign(0grad)) should be used-value-equivalent to 0
  144. clamp(-1, calc( 1 / sign(sign(0grad))), 1) should be used-value-equivalent to 1
  145. calc(sign(0rad)) should be used-value-equivalent to 0
  146. clamp(-1, calc( 1 / sign(sign(0rad))), 1) should be used-value-equivalent to 1
  147. calc(sign(0turn)) should be used-value-equivalent to 0
  148. clamp(-1, calc( 1 / sign(sign(0turn))), 1) should be used-value-equivalent to 1
  149. calc(sign(-0deg)) should be used-value-equivalent to 0
  150. clamp(-1, calc( 1 / sign(sign(-0deg))), 1) should be used-value-equivalent to -1
  151. calc(sign(-0grad)) should be used-value-equivalent to 0
  152. clamp(-1, calc( 1 / sign(sign(-0grad))), 1) should be used-value-equivalent to -1
  153. calc(sign(-0rad)) should be used-value-equivalent to 0
  154. clamp(-1, calc( 1 / sign(sign(-0rad))), 1) should be used-value-equivalent to -1
  155. calc(sign(-0turn)) should be used-value-equivalent to 0
  156. clamp(-1, calc( 1 / sign(sign(-0turn))), 1) should be used-value-equivalent to -1
  157. abs(1px) should be used-value-equivalent to 1px
  158. abs(1cm) should be used-value-equivalent to 1cm
  159. abs(1mm) should be used-value-equivalent to 1mm
  160. abs(1Q) should be used-value-equivalent to 1Q
  161. abs(1in) should be used-value-equivalent to 1in
  162. abs(1pc) should be used-value-equivalent to 1pc
  163. abs(1pt) should be used-value-equivalent to 1pt
  164. abs(1em) should be used-value-equivalent to 1em
  165. abs(1ex) should be used-value-equivalent to 1ex
  166. abs(1ch) should be used-value-equivalent to 1ch
  167. abs(1rem) should be used-value-equivalent to 1rem
  168. abs(1vh) should be used-value-equivalent to 1vh
  169. abs(1vw) should be used-value-equivalent to 1vw
  170. abs(1vmin) should be used-value-equivalent to 1vmin
  171. abs(1vmax) should be used-value-equivalent to 1vmax
  172. abs(-1px) should be used-value-equivalent to 1px
  173. abs(-1cm) should be used-value-equivalent to 1cm
  174. abs(-1mm) should be used-value-equivalent to 1mm
  175. abs(-1Q) should be used-value-equivalent to 1Q
  176. abs(-1in) should be used-value-equivalent to 1in
  177. abs(-1pc) should be used-value-equivalent to 1pc
  178. abs(-1pt) should be used-value-equivalent to 1pt
  179. abs(-1em) should be used-value-equivalent to 1em
  180. abs(-1ex) should be used-value-equivalent to 1ex
  181. abs(-1ch) should be used-value-equivalent to 1ch
  182. abs(-1rem) should be used-value-equivalent to 1rem
  183. abs(-1vh) should be used-value-equivalent to 1vh
  184. abs(-1vw) should be used-value-equivalent to 1vw
  185. abs(-1vmin) should be used-value-equivalent to 1vmin
  186. abs(-1vmax) should be used-value-equivalent to 1vmax
  187. abs(1s) should be used-value-equivalent to 1s
  188. abs(1ms) should be used-value-equivalent to 1ms
  189. abs(-1s) should be used-value-equivalent to 1s
  190. abs(-1ms) should be used-value-equivalent to 1ms
  191. abs(1deg) should be used-value-equivalent to 1deg
  192. abs(1grad) should be used-value-equivalent to 1grad
  193. abs(1rad) should be used-value-equivalent to 1rad
  194. abs(1turn) should be used-value-equivalent to 1turn
  195. abs(-1deg) should be used-value-equivalent to 1deg
  196. abs(-1grad) should be used-value-equivalent to 1grad
  197. abs(-1rad) should be used-value-equivalent to 1rad
  198. abs(-1turn) should be used-value-equivalent to 1turn
  199. sign(10px - 1em) should be used-value-equivalent to 0; fontSize=10px
  200. sign(10px - 2em) should be used-value-equivalent to -1; fontSize=10px
  201. sign(1em) should be used-value-equivalent to 0; fontSize=0px
  202. sign(-1em) should be used-value-equivalent to 0; fontSize=0px
  203. calc(2.5 - sign(41px - 2em) / 2) should be used-value-equivalent to 2
  204. calc(2.5 - sign(40px - 2em) / 2) should be used-value-equivalent to 2.5
  205. calc(2.5 - sign(39px - 2em) / 2) should be used-value-equivalent to 3
  206. calc(3 + sign(42px - 2em)) should be used-value-equivalent to 4
  207. calc(3 + sign(40px - 2em)) should be used-value-equivalent to 3
  208. calc(3 + sign(38px - 2em)) should be used-value-equivalent to 2
  209. calc(50px + 100px * sign(42px - 2em)) should be used-value-equivalent to 150px
  210. calc(50px + 100px * sign(40px - 2em)) should be used-value-equivalent to 50px
  211. calc(50px + 100px * sign(38px - 2em)) should be used-value-equivalent to -50px
  212. calc(90deg + 30deg * sign(42px - 2em)) should be used-value-equivalent to 120deg
  213. calc(90deg + 30deg * sign(40px - 2em)) should be used-value-equivalent to 90deg
  214. calc(90deg + 30deg * sign(38px - 2em)) should be used-value-equivalent to 60deg
  215. calc(5s + 15s * sign(42px - 2em)) should be used-value-equivalent to 20s
  216. calc(5s + 15s * sign(40px - 2em)) should be used-value-equivalent to 5s
  217. calc(5s + 15s * sign(38px - 2em)) should be used-value-equivalent to -10s
  218. calc(100dpi + 20dpi * sign(42px - 2em)) should be used-value-equivalent to 120dpi
  219. calc(100dpi + 20dpi * sign(40px - 2em)) should be used-value-equivalent to 100dpi
  220. calc(100dpi + 20dpi * sign(38px - 2em)) should be used-value-equivalent to 80dpi
  221. calc(3fr + 1fr * sign(42px - 2em)) should be used-value-equivalent to 4fr
  222. calc(3fr + 1fr * sign(40px - 2em)) should be used-value-equivalent to 3fr
  223. calc(3fr + 1fr * sign(38px - 2em)) should be used-value-equivalent to 2fr
  224. calc(2.5 - sign(33px - 2rem) / 2) should be used-value-equivalent to 2
  225. calc(2.5 - sign(32px - 2rem) / 2) should be used-value-equivalent to 2.5
  226. calc(2.5 - sign(31px - 2rem) / 2) should be used-value-equivalent to 3
  227. calc(50px + 100px * sign(34px - 2rem)) should be used-value-equivalent to 150px
  228. calc(50px + 100px * sign(32px - 2rem)) should be used-value-equivalent to 50px
  229. calc(50px + 100px * sign(30px - 2rem)) should be used-value-equivalent to -50px
sin-cos-tan-computed.html32 / 32 passingChrome 32 / 320 failedClean
Standing
Clean runner status OK
Chrome
Clean 32 / 32 WPT subtests passing runner status OK
32 passing subtests
  1. cos(0) should be used-value-equivalent to 1
  2. sin(0) should be used-value-equivalent to 0
  3. tan(0) should be used-value-equivalent to 0
  4. tan(315deg) should be used-value-equivalent to -1
  5. tan(360deg) should be used-value-equivalent to 0
  6. tan(405deg) should be used-value-equivalent to 1
  7. calc(sin(pi/2 - pi/2) ) should be used-value-equivalent to 0
  8. calc(cos(pi - 3.14159265358979323846) ) should be used-value-equivalent to 1
  9. calc(cos(e - 2.7182818284590452354) ) should be used-value-equivalent to 1
  10. calc(sin(30deg + 1.0471967rad ) ) should be used-value-equivalent to 1
  11. calc(cos(30deg - 0.523599rad ) ) should be used-value-equivalent to 1
  12. calc(sin(3.14159 / 2 + 1 - 1) ) should be used-value-equivalent to 1
  13. calc(sin(100grad) ) should be used-value-equivalent to 1
  14. calc(cos(0 / 2 + 1 - 1) ) should be used-value-equivalent to 1
  15. calc(tan(30deg + 0.261799rad ) ) should be used-value-equivalent to 1
  16. calc(tan(0.7853975rad ) ) should be used-value-equivalent to 1
  17. calc(tan(3.14159 / 4 + 1 - 1) ) should be used-value-equivalent to 1
  18. calc(sin(0.25turn) ) should be used-value-equivalent to 1
  19. calc(cos(sin(cos(pi) + 1))) should be used-value-equivalent to 1
  20. calc(sin(tan(pi/4)*pi/2) ) should be used-value-equivalent to 1
  21. calc(sin(pi * sibling-index()) should be used-value-equivalent to 0
  22. calc(cos(pi * sibling-index()) should be used-value-equivalent to -1
  23. calc(tan(pi * sibling-index()) should be used-value-equivalent to 0
  24. calc(sin(180deg * sibling-index()) should be used-value-equivalent to 0
  25. calc(cos(180deg * sibling-index()) should be used-value-equivalent to -1
  26. calc(tan(180deg * sibling-index()) should be used-value-equivalent to 0
  27. calc(sin(pi * sign(1em - 1px)) should be used-value-equivalent to 0
  28. calc(cos(pi * sign(1em - 1px)) should be used-value-equivalent to -1
  29. calc(tan(pi * sign(1em - 1px)) should be used-value-equivalent to 0
  30. calc(sin(180deg * sign(1em - 1px)) should be used-value-equivalent to 0
  31. calc(cos(180deg * sign(1em - 1px)) should be used-value-equivalent to -1
  32. calc(tan(180deg * sign(1em - 1px)) should be used-value-equivalent to 0
viewport-units-parsing.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. e.style['width'] = "1vw" should set the property value
  2. e.style['width'] = "1vh" should set the property value
  3. e.style['width'] = "1vi" should set the property value
  4. e.style['width'] = "1vb" should set the property value
  5. e.style['width'] = "1vmin" should set the property value
  6. e.style['width'] = "1vmax" should set the property value
  7. e.style['width'] = "1svw" should set the property value
  8. e.style['width'] = "1svh" should set the property value
  9. e.style['width'] = "1svi" should set the property value
  10. e.style['width'] = "1svb" should set the property value
  11. e.style['width'] = "1svmin" should set the property value
  12. e.style['width'] = "1svmax" should set the property value
  13. e.style['width'] = "1lvw" should set the property value
  14. e.style['width'] = "1lvh" should set the property value
  15. e.style['width'] = "1lvi" should set the property value
  16. e.style['width'] = "1lvb" should set the property value
  17. e.style['width'] = "1lvmin" should set the property value
  18. e.style['width'] = "1lvmax" should set the property value
  19. e.style['width'] = "1dvw" should set the property value
  20. e.style['width'] = "1dvh" should set the property value
  21. e.style['width'] = "1dvi" should set the property value
  22. e.style['width'] = "1dvb" should set the property value
  23. e.style['width'] = "1dvmin" should set the property value
  24. e.style['width'] = "1dvmax" should set the property value

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.