mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Support border radius in rect() function
This commit is contained in:
committed by
Jelle Raaijmakers
parent
1b7567cc86
commit
02a8d22a4e
Notes:
github-actions[bot]
2026-01-06 09:51:22 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/02a8d22a4e9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7339 Reviewed-by: https://github.com/gmta ✅
@@ -2,16 +2,15 @@ Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
11 Pass
|
||||
Pass Property clip-path value 'rect(0 0 0 0)'
|
||||
Pass Property clip-path value 'rect(10px auto 20px 30px)'
|
||||
Pass Property clip-path value 'rect(auto auto auto auto)'
|
||||
Pass Property clip-path value 'rect(10% 20% 15% 12%)'
|
||||
Pass Property clip-path value 'rect(10% 95% 97% 12%)'
|
||||
Pass Property clip-path value 'rect(-10% -20% -15% -12%)'
|
||||
Fail Property clip-path value 'rect(10px 12% 20px 30px round 100%)'
|
||||
Fail Property clip-path value 'rect(10px 12% 20px 30px round 0 1px)'
|
||||
Fail Property clip-path value 'rect(10px 12% 20px 30px round 0px 1px 2%)'
|
||||
Fail Property clip-path value 'rect(10px 12% 20px 30px round 0px 1px 2% 3em)'
|
||||
Fail Property clip-path value 'rect(10px 12% 20px 30px round 20% / 0px 1px 2% 3em)'
|
||||
Pass Property clip-path value 'rect(10px 12% 20px 30px round 100%)'
|
||||
Pass Property clip-path value 'rect(10px 12% 20px 30px round 0 1px)'
|
||||
Pass Property clip-path value 'rect(10px 12% 20px 30px round 0px 1px 2%)'
|
||||
Pass Property clip-path value 'rect(10px 12% 20px 30px round 0px 1px 2% 3em)'
|
||||
Pass Property clip-path value 'rect(10px 12% 20px 30px round 20% / 0px 1px 2% 3em)'
|
||||
@@ -2,16 +2,15 @@ Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
11 Pass
|
||||
Pass e.style['clip-path'] = "rect(0 0 0 0)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px auto 20px 30px)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(auto auto auto auto)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10% 20% 15% 12%)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10% 95% 97% 12%)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(-10% -20% -15% -12%)" should set the property value
|
||||
Fail e.style['clip-path'] = "rect(10px 12% 20px 30px round 100%)" should set the property value
|
||||
Fail e.style['clip-path'] = "rect(10px 12% 20px 30px round 0 1px)" should set the property value
|
||||
Fail e.style['clip-path'] = "rect(10px 12% 20px 30px round 0px 1px 2%)" should set the property value
|
||||
Fail e.style['clip-path'] = "rect(10px 12% 20px 30px round 0px 1px 2% 3em)" should set the property value
|
||||
Fail e.style['clip-path'] = "rect(10px 12% 20px 30px round 20% / 0px 1px 2% 3em)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px 12% 20px 30px round 100%)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px 12% 20px 30px round 0 1px)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px 12% 20px 30px round 0px 1px 2%)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px 12% 20px 30px round 0px 1px 2% 3em)" should set the property value
|
||||
Pass e.style['clip-path'] = "rect(10px 12% 20px 30px round 20% / 0px 1px 2% 3em)" should set the property value
|
||||
Reference in New Issue
Block a user