WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-220015-20201222102822.patch (text/plain), 34.89 KB, created by
zsun
on 2020-12-22 02:28:24 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
zsun
Created:
2020-12-22 02:28:24 PST
Size:
34.89 KB
patch
obsolete
>Subversion Revision: 270968 >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index 7d31949ee9030c350f40a7e6145a087220f1b694..df80ddb3a283f5d2751acf82b25f5c9980ad4417 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,22 @@ >+2020-12-22 Ziran Sun <zsun@igalia.com> >+ >+ Add test for logical properties in webkit non-standard '-webkit-writing-mode: horizontal-bt' mode >+ https://bugs.webkit.org/show_bug.cgi?id=220015 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * web-platform-tests/css/css-logical/logical-box-border-color-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-border-radius-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-border-shorthands-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-border-style-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-border-width-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-inset-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-margin-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-padding-expected.txt: >+ * web-platform-tests/css/css-logical/logical-box-size-expected.txt: >+ * web-platform-tests/css/css-logical/resources/test-shared.js: >+ (CSS.supports): >+ > 2020-12-17 Manuel Rego Casasnovas <rego@igalia.com> > > [selectors] Update WPT test suite >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-color-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-color-expected.txt >index 1ad14b6ea8213ad8c240892011482011a309b1a0..1ed66d18ce6f8a15eb26b8b287b630eb3f8321c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-color-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-color-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical border-*-color properties share computed values with thei > FAIL Test that border-*-color shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', border-top-color expected "rgb(1, 1, 1)" but got "rgb(0, 0, 0)" > FAIL Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-color' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-color expected "rgb(1, 1, 1)" but got "rgb(3, 3, 3)" > FAIL Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-color', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-color expected "rgb(1, 1, 1)" but got "rgb(3, 3, 3)" >+PASS Test that logical border-*-color properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-color shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical border-*-color properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-color shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-color properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-color properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-radius-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-radius-expected.txt >index b572156a2c62c4d40718ceaf6a2b3707b7e0ccc6..cdf95082a25af37a7dd3bfceb088886b371b08b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-radius-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-radius-expected.txt >@@ -40,4 +40,12 @@ FAIL Test that logical border-*-radius properties share computed values with the > PASS Test that border-*-radius shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. > FAIL Test that border-*-radius properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-start-start-radius' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', border-top-left-radius expected "5px" but got "1px" > FAIL Test that border-*-radius properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-start-start-radius', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', border-top-left-radius expected "5px" but got "1px" >+FAIL Test that logical border-*-radius properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. assert_equals: logical properties on one declaration, writing mode properties on another, '-webkit-writing-mode: horizontal-bt; direction: ltr; ', border-start-start-radius expected "1px" but got "" >+PASS Test that border-*-radius shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+FAIL Test that border-*-radius properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. assert_equals: 'border-start-start-radius' last on single declaration, '-webkit-writing-mode: horizontal-bt; direction: ltr; ', border-end-start-radius expected "1px" but got "" >+FAIL Test that border-*-radius properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. assert_equals: 'border-start-start-radius', two declarations, '-webkit-writing-mode: horizontal-bt; direction: ltr; ', border-end-start-radius expected "1px" but got "" >+FAIL Test that logical border-*-radius properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. assert_equals: logical properties on one declaration, writing mode properties on another, '-webkit-writing-mode: horizontal-bt; direction: rtl; ', border-start-start-radius expected "1px" but got "" >+PASS Test that border-*-radius shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+FAIL Test that border-*-radius properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. assert_equals: 'border-start-start-radius' last on single declaration, '-webkit-writing-mode: horizontal-bt; direction: rtl; ', border-end-end-radius expected "1px" but got "" >+FAIL Test that border-*-radius properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. assert_equals: 'border-start-start-radius', two declarations, '-webkit-writing-mode: horizontal-bt; direction: rtl; ', border-end-end-radius expected "1px" but got "" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-shorthands-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-shorthands-expected.txt >index ed41a54ee9206086cdddb27ebec5474d3a34bc82..647220d2913fe0c2b6899126980962c578d8cdfe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-shorthands-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-shorthands-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical border-* properties share computed values with their phys > FAIL Test that border-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', border-top expected "1px solid rgb(1, 1, 1)" but got "0px none rgb(0, 0, 0)" > FAIL Test that border-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start expected "1px solid rgb(1, 1, 1)" but got "3px dotted rgb(3, 3, 3)" > FAIL Test that border-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start expected "1px solid rgb(1, 1, 1)" but got "3px dotted rgb(3, 3, 3)" >+PASS Test that logical border-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical border-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-style-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-style-expected.txt >index 646e4552e9dd9daae5c380c03caccc7d4e7de368..019cae8b8be7d278a2fdd644899a1d0b2344d111 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-style-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-style-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical border-*-style properties share computed values with thei > FAIL Test that border-*-style shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', border-top-style expected "solid" but got "none" > FAIL Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-style' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-style expected "solid" but got "dotted" > FAIL Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-style', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-style expected "solid" but got "dotted" >+PASS Test that logical border-*-style properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-style shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical border-*-style properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-style shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-style properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-style properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-width-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-width-expected.txt >index fe841da86527664ec33db5627c325ba3ce2d0ce4..73785da7c00bf900583cbbfb321f8dbec5630689 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-width-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-border-width-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical border-*-width properties share computed values with thei > FAIL Test that border-*-width shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', border-top-width expected "1px" but got "3px" > FAIL Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-width' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-width expected "1px" but got "3px" > FAIL Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'border-inline-start-width', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', border-block-start-width expected "1px" but got "3px" >+PASS Test that logical border-*-width properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-width shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical border-*-width properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-width shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-width properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that border-*-width properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-inset-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-inset-expected.txt >index b603a98ba08545b7b19d98c48b314cb955d50083..bc050f4b3a6b5537d6a3775b130fca496e12a96e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-inset-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-inset-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical inset-* properties share computed values with their physi > FAIL Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', top expected "1px" but got "0px" > FAIL Test that inset-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'inset-inline-start' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', inset-block-start expected "1px" but got "3px" > FAIL Test that inset-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'inset-inline-start', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', inset-block-start expected "1px" but got "3px" >+PASS Test that logical inset-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that inset-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that inset-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that inset-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical inset-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that inset-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that inset-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that inset-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-margin-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-margin-expected.txt >index 0079ef399506603c272a8652bf75a8a4895eb7ee..734e82969324012f2075ad90804080d955f64134 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-margin-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-margin-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical margin-* properties share computed values with their phys > FAIL Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', margin-top expected "1px" but got "0px" > FAIL Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'margin-inline-start' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', margin-block-start expected "1px" but got "3px" > FAIL Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'margin-inline-start', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', margin-block-start expected "1px" but got "3px" >+PASS Test that logical margin-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that margin-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical margin-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that margin-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-padding-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-padding-expected.txt >index 34afce1b1e2b5c28879da4c71fe86675a7de15af..5d5b1822a72d484f4a438277b83e71d7e34e2453 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-padding-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-padding-expected.txt >@@ -43,4 +43,12 @@ FAIL Test that logical padding-* properties share computed values with their phy > FAIL Test that padding-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: shorthand properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', padding-top expected "1px" but got "0px" > FAIL Test that padding-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'padding-inline-start' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', padding-block-start expected "1px" but got "3px" > FAIL Test that padding-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'padding-inline-start', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', padding-block-start expected "1px" but got "3px" >+PASS Test that logical padding-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that padding-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that padding-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that padding-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical padding-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that padding-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that padding-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that padding-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-size-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-size-expected.txt >index 85f3588fa1744dd9c4241252c1fab9471c2d0266..6c9d0c5b005e5893b6a9bcb72e532a70584e5214 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-size-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/logical-box-size-expected.txt >@@ -30,6 +30,12 @@ PASS Test that sizing properties honor selector specificty when both logical and > FAIL Test that logical sizing properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: logical properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', height expected "1px" but got "2px" > FAIL Test that sizing properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'inline-size' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', width expected "1px" but got "3px" > FAIL Test that sizing properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'inline-size', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', width expected "1px" but got "3px" >+PASS Test that logical sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > PASS Test that logical max sizing properties are supported. > PASS Test that logical max sizing properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. > PASS Test that max sizing properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. >@@ -61,6 +67,12 @@ PASS Test that max sizing properties honor selector specificty when both logical > FAIL Test that logical max sizing properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: logical properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', max-height expected "1px" but got "2px" > FAIL Test that max sizing properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'max-inline-size' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', max-width expected "1px" but got "3px" > FAIL Test that max sizing properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'max-inline-size', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', max-width expected "1px" but got "3px" >+PASS Test that logical max sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that max sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that max sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical max sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that max sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that max sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > PASS Test that logical min sizing properties are supported. > PASS Test that logical min sizing properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. > PASS Test that min sizing properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. >@@ -92,4 +104,10 @@ PASS Test that min sizing properties honor selector specificty when both logical > FAIL Test that logical min sizing properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: logical properties on one declaration, writing mode properties on another, 'writing-mode: sideways-lr; direction: rtl; ', min-height expected "1px" but got "2px" > FAIL Test that min sizing properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'min-inline-size' last on single declaration, 'writing-mode: sideways-lr; direction: rtl; ', min-width expected "1px" but got "3px" > FAIL Test that min sizing properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. assert_equals: 'min-inline-size', two declarations, 'writing-mode: sideways-lr; direction: rtl; ', min-width expected "1px" but got "3px" >+PASS Test that logical min sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that min sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that min sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. >+PASS Test that logical min sizing properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that min sizing properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. >+PASS Test that min sizing properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/resources/test-shared.js b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/resources/test-shared.js >index da3db7470134e3e8c2bebfd2a42b32acf4e72cb6..7a1da2e649708a0ed7d6d9dbe76322ce67bd266b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/resources/test-shared.js >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-logical/resources/test-shared.js >@@ -69,6 +69,27 @@ export const writingModes = [ > block: "horizontal", inline: "vertical" }, > ]; > >+// Check if logical properties work well in WebKit non-standard >+// '-webkit-writing-mode: horizontal-bt' mode >+if (CSS.supports("-webkit-writing-mode", "horizontal-bt")) { >+ writingModes.push ( >+ { >+ styles: [ >+ {"-webkit-writing-mode": "horizontal-bt", "direction": "ltr"}, >+ ], >+ blockStart: "bottom", blockEnd: "top", inlineStart: "left", inlineEnd: "right", >+ over: "top", under: "bottom", lineLeft: "left", lineRight: "right", >+ block: "vertical", inline: "horizontal" }, >+ { >+ styles: [ >+ {"-webkit-writing-mode": "horizontal-bt", "direction": "rtl"}, >+ ], >+ blockStart: "bottom", blockEnd: "top", inlineStart: "right", inlineEnd: "left", >+ over: "top", under: "bottom", lineLeft: "left", lineRight: "right", >+ block: "vertical", inline: "horizontal" }, >+ ) >+} >+ > export function testCSSValues(testName, style, expectedValues) { > for (const [property, value] of expectedValues) { > assert_equals(style.getPropertyValue(property), value, `${testName}, ${property}`);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 220015
:
416656
| 416658