From 04a3a227c3939f77bc4f46c8c62919dcec82f118 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 30 Jun 2025 12:07:39 +0100 Subject: [PATCH] LibWeb: Add the `border-inline-*` shorthand properties --- Libraries/LibWeb/CSS/Properties.json | 24 ++++++++++++++++++ ...upported-properties-and-default-values.txt | 6 +++++ .../css-logical/logical-box-border-color.txt | 25 +++++++++---------- .../css-logical/logical-box-border-style.txt | 25 +++++++++---------- .../css-logical/logical-box-border-width.txt | 25 +++++++++---------- .../parsing/border-inline-color-valid.txt | 9 +++---- .../parsing/border-inline-style-valid.txt | 9 +++---- .../parsing/border-inline-width-valid.txt | 8 +++--- 8 files changed, 78 insertions(+), 53 deletions(-) diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json index a4172d73880..9058b1c7cd6 100644 --- a/Libraries/LibWeb/CSS/Properties.json +++ b/Libraries/LibWeb/CSS/Properties.json @@ -687,6 +687,14 @@ "hashless-hex-color" ] }, + "border-inline-color": { + "inherited": false, + "initial": "currentcolor", + "longhands": [ + "border-inline-start-color", + "border-inline-end-color" + ] + }, "border-inline-end": { "inherited": false, "initial": "medium currentcolor none", @@ -759,6 +767,22 @@ ], "max-values": 1 }, + "border-inline-style": { + "inherited": false, + "initial": "none", + "longhands": [ + "border-inline-start-style", + "border-inline-end-style" + ] + }, + "border-inline-width": { + "inherited": false, + "initial": "medium", + "longhands": [ + "border-inline-start-width", + "border-inline-end-width" + ] + }, "border-left": { "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 9afd528c17c..7822e2adca4 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 @@ -239,6 +239,8 @@ All supported properties and their default values exposed from CSSStylePropertie 'border-collapse': 'separate' 'borderColor': 'rgb(0, 0, 0)' 'border-color': 'rgb(0, 0, 0)' +'borderInlineColor': 'rgb(0, 0, 0)' +'border-inline-color': 'rgb(0, 0, 0)' 'borderInlineEnd': '0px rgb(0, 0, 0)' 'border-inline-end': '0px rgb(0, 0, 0)' 'borderInlineEndColor': 'rgb(0, 0, 0)' @@ -255,6 +257,10 @@ All supported properties and their default values exposed from CSSStylePropertie 'border-inline-start-style': 'none' 'borderInlineStartWidth': '0px' 'border-inline-start-width': '0px' +'borderInlineStyle': 'none' +'border-inline-style': 'none' +'borderInlineWidth': '0px' +'border-inline-width': '0px' 'borderLeft': '0px rgb(0, 0, 0)' 'border-left': '0px rgb(0, 0, 0)' 'borderLeftColor': '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 index d80e6f63a71..af172ea98bd 100644 --- 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 @@ -2,49 +2,48 @@ Harness status: OK Found 44 tests -33 Pass -11 Fail +44 Pass 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-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 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 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 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 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 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 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 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 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 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 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 index 92f65fc9114..c0b4308b44b 100644 --- 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 @@ -2,49 +2,48 @@ Harness status: OK Found 44 tests -33 Pass -11 Fail +44 Pass 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-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 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 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 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 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 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 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 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 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 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 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 index 53747bde008..6122ff6c430 100644 --- 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 @@ -2,49 +2,48 @@ Harness status: OK Found 44 tests -33 Pass -11 Fail +44 Pass 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-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 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 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 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 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 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 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 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 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 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 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-inline-color-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-color-valid.txt index 3c6fb59f7fd..eef69cb162b 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-color-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-color-valid.txt @@ -2,12 +2,11 @@ Harness status: OK Found 7 tests -4 Pass -3 Fail +7 Pass Pass e.style['border-inline-start-color'] = "currentcolor" should set the property value Pass e.style['border-inline-start-color'] = "rgb(2, 3, 4)" should set the property value Pass e.style['border-inline-end-color'] = "#234" should set the property value Pass e.style['border-inline-end-color'] = "transparent" should set the property value -Fail e.style['border-inline-color'] = "#234" should set the property value -Fail e.style['border-inline-color'] = "transparent rgb(2, 3, 4)" should set the property value -Fail e.style['border-inline-color'] = "rgb(2, 3, 4) rgb(2, 3, 4)" should set the property value \ No newline at end of file +Pass e.style['border-inline-color'] = "#234" should set the property value +Pass e.style['border-inline-color'] = "transparent rgb(2, 3, 4)" should set the property value +Pass e.style['border-inline-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-inline-style-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-style-valid.txt index daf23c877a1..8c205a29612 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-style-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-style-valid.txt @@ -2,8 +2,7 @@ Harness status: OK Found 13 tests -10 Pass -3 Fail +13 Pass Pass e.style['border-inline-start-style'] = "dotted" should set the property value Pass e.style['border-inline-start-style'] = "groove" should set the property value Pass e.style['border-inline-start-style'] = "inset" should set the property value @@ -14,6 +13,6 @@ Pass e.style['border-inline-end-style'] = "double" should set the property value Pass e.style['border-inline-end-style'] = "hidden" should set the property value Pass e.style['border-inline-end-style'] = "outset" should set the property value Pass e.style['border-inline-end-style'] = "ridge" should set the property value -Fail e.style['border-inline-style'] = "dotted" should set the property value -Fail e.style['border-inline-style'] = "double groove" should set the property value -Fail e.style['border-inline-style'] = "hidden hidden" should set the property value \ No newline at end of file +Pass e.style['border-inline-style'] = "dotted" should set the property value +Pass e.style['border-inline-style'] = "double groove" should set the property value +Pass e.style['border-inline-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-inline-width-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-width-valid.txt index 52fc6d7231c..17d10a1727a 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-width-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-logical/parsing/border-inline-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-inline-start-width'] = "10px" should set the property value Pass e.style['border-inline-start-width'] = "calc(10px + 0.5em)" should set the property value Pass e.style['border-inline-start-width'] = "thick" should set the property value @@ -11,6 +11,6 @@ Pass e.style['border-inline-start-width'] = "thin" should set the property value Pass e.style['border-inline-end-width'] = "0" should set the property value Pass e.style['border-inline-end-width'] = "calc(10px - 0.5em)" should set the property value Pass e.style['border-inline-end-width'] = "medium" should set the property value -Fail e.style['border-inline-width'] = "10px" should set the property value +Pass e.style['border-inline-width'] = "10px" should set the property value Fail e.style['border-inline-width'] = "medium calc(10px + 0.5em)" should set the property value -Fail e.style['border-inline-width'] = "10px 10px" should set the property value \ No newline at end of file +Pass e.style['border-inline-width'] = "10px 10px" should set the property value \ No newline at end of file