mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Don't assume calc() simplification worked on invalid tree
Fixes #4469
This commit is contained in:
committed by
Jelle Raaijmakers
parent
4e298db4f5
commit
d8ea16d94e
Notes:
github-actions[bot]
2025-04-25 14:56:08 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/d8ea16d94ee Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4472 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/tcl3
@@ -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
|
||||
Reference in New Issue
Block a user