diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json index 01e8aa7b180..a4172d73880 100644 --- a/Libraries/LibWeb/CSS/Properties.json +++ b/Libraries/LibWeb/CSS/Properties.json @@ -497,6 +497,14 @@ "border-color" ] }, + "border-block-color": { + "inherited": false, + "initial": "currentcolor", + "longhands": [ + "border-block-start-color", + "border-block-end-color" + ] + }, "border-block-end": { "inherited": false, "initial": "medium currentcolor none", @@ -569,6 +577,22 @@ ], "max-values": 1 }, + "border-block-style": { + "inherited": false, + "initial": "none", + "longhands": [ + "border-block-start-style", + "border-block-end-style" + ] + }, + "border-block-width": { + "inherited": false, + "initial": "medium", + "longhands": [ + "border-block-start-width", + "border-block-end-width" + ] + }, "border-bottom": { "inherited": false, "initial": "medium currentcolor none", diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt index 52877629d3d..9afd528c17c 100644 --- a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt +++ b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt @@ -201,6 +201,8 @@ All supported properties and their default values exposed from CSSStylePropertie 'blockSize': '0px' 'block-size': '0px' 'border': '0px rgb(0, 0, 0)' +'borderBlockColor': 'rgb(0, 0, 0)' +'border-block-color': 'rgb(0, 0, 0)' 'borderBlockEnd': '0px rgb(0, 0, 0)' 'border-block-end': '0px rgb(0, 0, 0)' 'borderBlockEndColor': 'rgb(0, 0, 0)' @@ -217,6 +219,10 @@ All supported properties and their default values exposed from CSSStylePropertie 'border-block-start-style': 'none' 'borderBlockStartWidth': '0px' 'border-block-start-width': '0px' +'borderBlockStyle': 'none' +'border-block-style': 'none' +'borderBlockWidth': '0px' +'border-block-width': '0px' 'borderBottom': '0px rgb(0, 0, 0)' 'border-bottom': '0px rgb(0, 0, 0)' 'borderBottomColor': 'rgb(0, 0, 0)' diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-color.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-color.txt new file mode 100644 index 00000000000..d80e6f63a71 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-color.txt @@ -0,0 +1,50 @@ +Harness status: OK + +Found 44 tests + +33 Pass +11 Fail +Pass Test that logical border-*-color properties are supported. +Fail Test that border-inline-color shorthand sets longhands and serializes correctly. +Pass Test that border-block-color shorthand sets longhands and serializes correctly. +Pass Test that border-color shorthand sets longhands and serializes correctly. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: rtl; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: rtl; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: rtl; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: ltr; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: ltr; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: rtl; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: ltr; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: ltr; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that logical border-*-color properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. +Fail Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-style.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-style.txt new file mode 100644 index 00000000000..92f65fc9114 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-style.txt @@ -0,0 +1,50 @@ +Harness status: OK + +Found 44 tests + +33 Pass +11 Fail +Pass Test that logical border-*-style properties are supported. +Fail Test that border-inline-style shorthand sets longhands and serializes correctly. +Pass Test that border-block-style shorthand sets longhands and serializes correctly. +Pass Test that border-style shorthand sets longhands and serializes correctly. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: rtl; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: rtl; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: rtl; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: ltr; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: ltr; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: rtl; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: ltr; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: ltr; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that logical border-*-style properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. +Fail Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-width.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-width.txt new file mode 100644 index 00000000000..53747bde008 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/logical-box-border-width.txt @@ -0,0 +1,50 @@ +Harness status: OK + +Found 44 tests + +33 Pass +11 Fail +Pass Test that logical border-*-width properties are supported. +Fail Test that border-inline-width shorthand sets longhands and serializes correctly. +Pass Test that border-block-width shorthand sets longhands and serializes correctly. +Pass Test that border-width shorthand sets longhands and serializes correctly. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: rtl; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: rtl; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: rtl; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: ltr; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: ltr; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: rtl; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: ltr; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: ltr; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. +Pass Test that logical border-*-width properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. +Fail Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. +Pass Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-color-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-color-valid.txt index 6a078c9e814..72d510c95f0 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-color-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-color-valid.txt @@ -2,12 +2,11 @@ Harness status: OK Found 7 tests -4 Pass -3 Fail +7 Pass Pass e.style['border-block-start-color'] = "currentcolor" should set the property value Pass e.style['border-block-start-color'] = "rgb(2, 3, 4)" should set the property value Pass e.style['border-block-end-color'] = "#234" should set the property value Pass e.style['border-block-end-color'] = "transparent" should set the property value -Fail e.style['border-block-color'] = "#234" should set the property value -Fail e.style['border-block-color'] = "transparent rgb(2, 3, 4)" should set the property value -Fail e.style['border-block-color'] = "rgb(2, 3, 4) rgb(2, 3, 4)" should set the property value \ No newline at end of file +Pass e.style['border-block-color'] = "#234" should set the property value +Pass e.style['border-block-color'] = "transparent rgb(2, 3, 4)" should set the property value +Pass e.style['border-block-color'] = "rgb(2, 3, 4) rgb(2, 3, 4)" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-style-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-style-valid.txt index bd5cba93da1..5c004f73986 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-style-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-style-valid.txt @@ -2,8 +2,7 @@ Harness status: OK Found 13 tests -10 Pass -3 Fail +13 Pass Pass e.style['border-block-start-style'] = "dotted" should set the property value Pass e.style['border-block-start-style'] = "groove" should set the property value Pass e.style['border-block-start-style'] = "inset" should set the property value @@ -14,6 +13,6 @@ Pass e.style['border-block-end-style'] = "double" should set the property value Pass e.style['border-block-end-style'] = "hidden" should set the property value Pass e.style['border-block-end-style'] = "outset" should set the property value Pass e.style['border-block-end-style'] = "ridge" should set the property value -Fail e.style['border-block-style'] = "dotted" should set the property value -Fail e.style['border-block-style'] = "double groove" should set the property value -Fail e.style['border-block-style'] = "hidden hidden" should set the property value \ No newline at end of file +Pass e.style['border-block-style'] = "dotted" should set the property value +Pass e.style['border-block-style'] = "double groove" should set the property value +Pass e.style['border-block-style'] = "hidden hidden" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-width-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-width-valid.txt index ed9236698e2..51616311063 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-width-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-block-width-valid.txt @@ -2,8 +2,8 @@ Harness status: OK Found 10 tests -7 Pass -3 Fail +9 Pass +1 Fail Pass e.style['border-block-start-width'] = "10px" should set the property value Pass e.style['border-block-start-width'] = "calc(10px + 0.5em)" should set the property value Pass e.style['border-block-start-width'] = "thick" should set the property value @@ -11,6 +11,6 @@ Pass e.style['border-block-start-width'] = "thin" should set the property value Pass e.style['border-block-end-width'] = "0" should set the property value Pass e.style['border-block-end-width'] = "calc(10px - 0.5em)" should set the property value Pass e.style['border-block-end-width'] = "medium" should set the property value -Fail e.style['border-block-width'] = "10px" should set the property value +Pass e.style['border-block-width'] = "10px" should set the property value Fail e.style['border-block-width'] = "medium calc(10px + 0.5em)" should set the property value -Fail e.style['border-block-width'] = "10px 10px" should set the property value \ No newline at end of file +Pass e.style['border-block-width'] = "10px 10px" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-color.html b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-color.html new file mode 100644 index 00000000000..36cdcb70baa --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-color.html @@ -0,0 +1,15 @@ + + +CSS Logical Properties: Flow-Relative Border Colors + + + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-style.html b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-style.html new file mode 100644 index 00000000000..d8e072efdce --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-style.html @@ -0,0 +1,15 @@ + + +CSS Logical Properties: Flow-Relative Border Styles + + + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-width.html b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-width.html new file mode 100644 index 00000000000..c61f2076d16 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-logical/logical-box-border-width.html @@ -0,0 +1,18 @@ + + +CSS Logical Properties: Flow-Relative Border Widths + + + + + + +
+ +