LibWeb: Disallow none for min-width and min-height

This commit is contained in:
Andreas Kling 2024-10-27 18:26:28 +01:00 committed by Andreas Kling
commit 5a9d538acc
Notes: github-actions[bot] 2024-10-27 20:03:46 +00:00
3 changed files with 8 additions and 10 deletions

View file

@ -6,10 +6,10 @@ Rerun
Found 11 tests
9 Pass
2 Fail
10 Pass
1 Fail
Details
Result Test Name MessageFail e.style['min-height'] = "none" should not set the property value assert_equals: expected "" but got "none"
Result Test Name MessagePass e.style['min-height'] = "none" should not set the property value
Pass e.style['min-height'] = "complex" should not set the property value
Pass e.style['min-height'] = "-10%" should not set the property value
Pass e.style['min-height'] = "-0.5em" should not set the property value

View file

@ -6,10 +6,10 @@ Rerun
Found 11 tests
9 Pass
2 Fail
10 Pass
1 Fail
Details
Result Test Name MessageFail e.style['min-width'] = "none" should not set the property value assert_equals: expected "" but got "none"
Result Test Name MessagePass e.style['min-width'] = "none" should not set the property value
Pass e.style['min-width'] = "complex" should not set the property value
Pass e.style['min-width'] = "-10%" should not set the property value
Pass e.style['min-width'] = "-0.5em" should not set the property value