mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Don't assume calc() simplification worked on invalid tree
Fixes #4469
This commit is contained in:
parent
4e298db4f5
commit
d8ea16d94e
Notes:
github-actions[bot]
2025-04-25 14:56:08 +00:00
Author: https://github.com/awesomekling
Commit: d8ea16d94e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4472
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/tcl3
3 changed files with 123 additions and 2 deletions
|
@ -0,0 +1,54 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 48 tests
|
||||
|
||||
46 Pass
|
||||
2 Fail
|
||||
Pass e.style['border-left-width'] = "min()" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min( )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(,)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1py)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(, 1px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px + )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px - )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px * )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px / )" should not set the property value
|
||||
Fail e.style['border-left-width'] = "min(1px 2px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, , 2px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max()" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max( )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(,)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1py)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(, 1px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px + )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px - )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px * )" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px / )" should not set the property value
|
||||
Fail e.style['border-left-width'] = "max(1px 2px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, , 2px)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0%)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0s)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0Hz)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0dpi)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(0fr)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0%)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0s)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0Hz)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0dpi)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "min(1px, 0fr)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0%)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0s)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0Hz)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0dpi)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(0fr)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0%)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0s)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0Hz)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0dpi)" should not set the property value
|
||||
Pass e.style['border-left-width'] = "max(1px, 0fr)" should not set the property value
|
Loading…
Add table
Add a link
Reference in a new issue