mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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.
54 lines
3.7 KiB
Plaintext
54 lines
3.7 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 49 tests
|
|
|
|
49 Pass
|
|
Pass e.style['opacity'] = "hypot()" should not set the property value
|
|
Pass e.style['opacity'] = "hypot( )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(,)" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1, )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(, 1)" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1 + )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1 - )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1 * )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1 / )" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1 2)" should not set the property value
|
|
Pass e.style['opacity'] = "hypot(1, , 2)" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt()" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt( )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(,)" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1, )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(, 1)" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1 + )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1 - )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1 * )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1 / )" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1 2)" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1, , 2)" should not set the property value
|
|
Pass e.style['opacity'] = "sqrt(1, 2)" should not set the property value
|
|
Pass e.style['opacity'] = "pow( )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(,)" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1, )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(, 1)" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1 + )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1 - )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1 * )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1 / )" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1 2)" should not set the property value
|
|
Pass e.style['opacity'] = "pow(1, , 2)" should not set the property value
|
|
Pass e.style['opacity'] = "pow(2px, 2)" should not set the property value
|
|
Pass e.style['opacity'] = "pow(10, 1px)" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(1px * pow(1))" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(1px * pow(2px, 3px))" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(sqrt(100px)" should not set the property value
|
|
Pass e.style['outline-offset'] = "hypot(2px, 3)" should not set the property value
|
|
Pass e.style['outline-offset'] = "hypot(3, ,4)" should not set the property value
|
|
Pass e.style['outline-offset'] = "hypot(1, 2)" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(1px * pow(2 3))" should not set the property value
|
|
Pass e.style['outline-offset'] = "hypot()" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(pow(2))" should not set the property value
|
|
Pass e.style['outline-offset'] = "pow())" should not set the property value
|
|
Pass e.style['outline-offset'] = "pow(1, 2)" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(sqrt())" should not set the property value
|
|
Pass e.style['outline-offset'] = "calc(sqrt(100, 200))" should not set the property value
|
|
Pass e.style['outline-offset'] = "pow(10px, 1)" should not set the property value |