mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
LibWeb: Import CSS logical border property parsing WPT tests
This commit is contained in:
parent
7d50dba3fc
commit
ceb1c37ba3
Notes:
github-actions[bot]
2025-07-09 09:12:17 +00:00
Author: https://github.com/Calme1709
Commit: ceb1c37ba3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5366
Reviewed-by: https://github.com/AtkinsSJ ✅
16 changed files with 446 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
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 '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 'currentcolor lime'
|
|
@ -0,0 +1,18 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 13 tests
|
||||
|
||||
13 Pass
|
||||
Pass Property border-block-start-style value 'dotted'
|
||||
Pass Property border-block-start-style value 'groove'
|
||||
Pass Property border-block-start-style value 'inset'
|
||||
Pass Property border-block-start-style value 'none'
|
||||
Pass Property border-block-start-style value 'solid'
|
||||
Pass Property border-block-end-style value 'dashed'
|
||||
Pass Property border-block-end-style value 'double'
|
||||
Pass Property border-block-end-style value 'hidden'
|
||||
Pass Property border-block-end-style value 'outset'
|
||||
Pass Property border-block-end-style value 'ridge'
|
||||
Pass Property border-block-style value 'dotted'
|
||||
Pass Property border-block-style value 'double groove'
|
||||
Pass Property border-block-style value 'hidden hidden'
|
|
@ -0,0 +1,12 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
4 Pass
|
||||
2 Fail
|
||||
Fail e.style['border-block'] = "1px dotted red" should set the property value
|
||||
Fail e.style['border-block'] = "double" should set the property value
|
||||
Pass e.style['border-block-start'] = "green double thin" should set the property value
|
||||
Pass e.style['border-block-start'] = "green" should set the property value
|
||||
Pass e.style['border-block-end'] = "thin" should set the property value
|
||||
Pass e.style['border-block-end'] = "calc(10px - 0.5em) dotted red" should set the property value
|
|
@ -0,0 +1,17 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
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)'
|
||||
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 width is zero if the border block style is none or hidden
|
|
@ -0,0 +1,14 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
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 '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 'currentcolor lime'
|
|
@ -0,0 +1,18 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 13 tests
|
||||
|
||||
13 Pass
|
||||
Pass Property border-inline-start-style value 'dotted'
|
||||
Pass Property border-inline-start-style value 'groove'
|
||||
Pass Property border-inline-start-style value 'inset'
|
||||
Pass Property border-inline-start-style value 'none'
|
||||
Pass Property border-inline-start-style value 'solid'
|
||||
Pass Property border-inline-end-style value 'dashed'
|
||||
Pass Property border-inline-end-style value 'double'
|
||||
Pass Property border-inline-end-style value 'hidden'
|
||||
Pass Property border-inline-end-style value 'outset'
|
||||
Pass Property border-inline-end-style value 'ridge'
|
||||
Pass Property border-inline-style value 'dotted'
|
||||
Pass Property border-inline-style value 'double groove'
|
||||
Pass Property border-inline-style value 'hidden hidden'
|
|
@ -0,0 +1,12 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
4 Pass
|
||||
2 Fail
|
||||
Fail e.style['border-inline'] = "1px dotted red" should set the property value
|
||||
Fail e.style['border-inline'] = "double" should set the property value
|
||||
Pass e.style['border-inline-start'] = "green double thin" should set the property value
|
||||
Pass e.style['border-inline-start'] = "green" should set the property value
|
||||
Pass e.style['border-inline-end'] = "thin" should set the property value
|
||||
Pass e.style['border-inline-end'] = "calc(10px - 0.5em) dotted red" should set the property value
|
|
@ -0,0 +1,17 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
6 Pass
|
||||
5 Fail
|
||||
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)'
|
||||
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 width is zero if the border block style is none or hidden
|
Loading…
Add table
Add a link
Reference in a new issue