mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Handle border-{inline,block}-* properties with a single value
Gains us 14 WPT tests
This commit is contained in:
parent
ceb1c37ba3
commit
d280cf56e6
Notes:
github-actions[bot]
2025-07-09 09:12:10 +00:00
Author: https://github.com/Calme1709
Commit: d280cf56e6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5366
Reviewed-by: https://github.com/AtkinsSJ ✅
6 changed files with 82 additions and 22 deletions
|
@ -2,13 +2,12 @@ Harness status: OK
|
|||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
Pass Property border-block-start-color value 'currentcolor'
|
||||
Pass Property border-block-start-color value 'rgb(2, 3, 4)'
|
||||
Pass Property border-block-end-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-block-end-color value 'transparent'
|
||||
Fail Property border-block-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-block-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-block-color value 'transparent rgb(2, 3, 4)'
|
||||
Fail Property border-block-color value 'rgb(2, 3, 4) rgb(2, 3, 4)'
|
||||
Pass Property border-block-color value 'rgb(2, 3, 4) rgb(2, 3, 4)'
|
||||
Pass Property border-block-color value 'currentcolor lime'
|
|
@ -2,16 +2,15 @@ Harness status: OK
|
|||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
11 Pass
|
||||
Pass Property border-block-start-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-block-start-width value 'calc(10px - 0.5em)'
|
||||
Pass Property border-block-start-width value 'thin'
|
||||
Pass Property border-block-start-width value 'medium'
|
||||
Fail Property border-block-end-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-block-end-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-block-end-width value 'calc(10px - 0.5em)'
|
||||
Fail Property border-block-end-width value 'thick'
|
||||
Fail Property border-block-width value '10px'
|
||||
Fail Property border-block-width value '10px 20px'
|
||||
Fail Property border-block-width value '10px 10px'
|
||||
Pass Property border-block-end-width value 'thick'
|
||||
Pass Property border-block-width value '10px'
|
||||
Pass Property border-block-width value '10px 20px'
|
||||
Pass Property border-block-width value '10px 10px'
|
||||
Pass width is zero if the border block style is none or hidden
|
|
@ -2,13 +2,12 @@ Harness status: OK
|
|||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
Pass Property border-inline-start-color value 'currentcolor'
|
||||
Pass Property border-inline-start-color value 'rgb(2, 3, 4)'
|
||||
Pass Property border-inline-end-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-inline-end-color value 'transparent'
|
||||
Fail Property border-inline-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-inline-color value 'rgb(34, 51, 68)'
|
||||
Pass Property border-inline-color value 'transparent rgb(2, 3, 4)'
|
||||
Fail Property border-inline-color value 'rgb(2, 3, 4) rgb(2, 3, 4)'
|
||||
Pass Property border-inline-color value 'rgb(2, 3, 4) rgb(2, 3, 4)'
|
||||
Pass Property border-inline-color value 'currentcolor lime'
|
|
@ -2,16 +2,15 @@ Harness status: OK
|
|||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
11 Pass
|
||||
Pass Property border-inline-start-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-inline-start-width value 'calc(10px - 0.5em)'
|
||||
Pass Property border-inline-start-width value 'thin'
|
||||
Pass Property border-inline-start-width value 'medium'
|
||||
Fail Property border-inline-end-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-inline-end-width value 'calc(10px + 0.5em)'
|
||||
Pass Property border-inline-end-width value 'calc(10px - 0.5em)'
|
||||
Fail Property border-inline-end-width value 'thick'
|
||||
Fail Property border-inline-width value '10px'
|
||||
Fail Property border-inline-width value '10px 20px'
|
||||
Fail Property border-inline-width value '10px 10px'
|
||||
Pass Property border-inline-end-width value 'thick'
|
||||
Pass Property border-inline-width value '10px'
|
||||
Pass Property border-inline-width value '10px 20px'
|
||||
Pass Property border-inline-width value '10px 10px'
|
||||
Pass width is zero if the border block style is none or hidden
|
Loading…
Add table
Add a link
Reference in a new issue