ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-values/minmax-angle-invalid.txt
Tim Ledbetter 78b6032940 LibWeb: Validate operator count when parsing a calculation
Previously, we would allow calc values such as `calc(min(1 2))`, which
would be simplified to `calc(3)` because we assumed that numbers not
separated by an operator represented a sum. We now validate that the
number of operators we see is as we would expect before collecting
these values into a sum node.
2025-07-02 10:12:58 +01:00

57 lines
No EOL
4.3 KiB
Text

Harness status: OK
Found 52 tests
52 Pass
Pass e.style['transform'] = "rotate(min())" should not set the property value
Pass e.style['transform'] = "rotate(min( ))" should not set the property value
Pass e.style['transform'] = "rotate(min(,))" should not set the property value
Pass e.style['transform'] = "rotate(min(1dag))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, ))" should not set the property value
Pass e.style['transform'] = "rotate(min(, 1deg))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg + ))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg - ))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg * ))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg / ))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg 2deg))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, , 2deg))" should not set the property value
Pass e.style['transform'] = "rotate(max())" should not set the property value
Pass e.style['transform'] = "rotate(max( ))" should not set the property value
Pass e.style['transform'] = "rotate(max(,))" should not set the property value
Pass e.style['transform'] = "rotate(max(1dag))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, ))" should not set the property value
Pass e.style['transform'] = "rotate(max(, 1deg))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg + ))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg - ))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg * ))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg / ))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg 2deg))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, , 2deg))" should not set the property value
Pass e.style['transform'] = "rotate(min(0))" should not set the property value
Pass e.style['transform'] = "rotate(min(0%))" should not set the property value
Pass e.style['transform'] = "rotate(min(0px))" should not set the property value
Pass e.style['transform'] = "rotate(min(0s))" should not set the property value
Pass e.style['transform'] = "rotate(min(0Hz))" should not set the property value
Pass e.style['transform'] = "rotate(min(0dpi))" should not set the property value
Pass e.style['transform'] = "rotate(min(0fr))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0%))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0px))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0s))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0Hz))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0dpi))" should not set the property value
Pass e.style['transform'] = "rotate(min(1deg, 0fr))" should not set the property value
Pass e.style['transform'] = "rotate(max(0))" should not set the property value
Pass e.style['transform'] = "rotate(max(0%))" should not set the property value
Pass e.style['transform'] = "rotate(max(0px))" should not set the property value
Pass e.style['transform'] = "rotate(max(0s))" should not set the property value
Pass e.style['transform'] = "rotate(max(0Hz))" should not set the property value
Pass e.style['transform'] = "rotate(max(0dpi))" should not set the property value
Pass e.style['transform'] = "rotate(max(0fr))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0%))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0px))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0s))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0Hz))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0dpi))" should not set the property value
Pass e.style['transform'] = "rotate(max(1deg, 0fr))" should not set the property value