From 2ec995a56fdba9a5978fd74bee91e298fa9617bd Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 19 Mar 2024 11:29:20 +0100 Subject: [PATCH] layout: Enable `text-shadow` (#31734) `text-shadow` is enabled for legacy layout, so this just extends support to the modern layout system. --- Cargo.lock | 26 +- components/layout_2020/display_list/mod.rs | 24 +- .../box-shadow-multiple-001.html.ini | 2 - ...entcolor-painting-text-shadow-001.html.ini | 2 + .../css/css-text-decor/inheritance.html.ini | 6 - .../text-shadow/basic-negcoord.html.ini | 2 - .../text-shadow/basic-opacity.html.ini | 2 - .../css-text-decor/text-shadow/basic.html.ini | 2 - .../css-text-decor/text-shadow/blur.html.ini | 2 - .../text-shadow/color-inherit.html.ini | 2 - .../text-shadow/multiple-noblur.html.ini | 2 - .../parsing/text-shadow-computed.html.ini | 21 - .../parsing/text-shadow-valid.html.ini | 30 -- .../text-shadow/quirks-decor-noblur.html.ini | 2 - .../standards-decor-noblur-2.html.ini | 2 - .../standards-decor-noblur.html.ini | 2 - .../text-shadow-interpolation.html.ini | 378 ------------------ ...le-substitution-shadow-properties.html.ini | 3 - .../excluded-properties-002.html.ini | 3 - .../css/text_shadow_decorations_a.html.ini | 2 - .../text_shadow_multiple_shadows_a.html.ini | 2 - .../meta/css/text_shadow_simple_a.html.ini | 2 - 22 files changed, 38 insertions(+), 481 deletions(-) delete mode 100644 tests/wpt/meta/css/css-backgrounds/box-shadow-multiple-001.html.ini create mode 100644 tests/wpt/meta/css/css-pseudo/highlight-currentcolor-painting-text-shadow-001.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/basic-negcoord.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/basic-opacity.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/basic.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/blur.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/color-inherit.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/multiple-noblur.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-computed.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-valid.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/quirks-decor-noblur.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur-2.html.ini delete mode 100644 tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur.html.ini delete mode 100644 tests/wpt/meta/css/css-variables/variable-substitution-shadow-properties.html.ini delete mode 100644 tests/wpt/mozilla/meta/css/text_shadow_decorations_a.html.ini delete mode 100644 tests/wpt/mozilla/meta/css/text_shadow_multiple_shadows_a.html.ini delete mode 100644 tests/wpt/mozilla/meta/css/text_shadow_simple_a.html.ini diff --git a/Cargo.lock b/Cargo.lock index f6b420ab231..f07dbb1d15f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1211,7 +1211,7 @@ dependencies = [ [[package]] name = "derive_common" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "darling", "proc-macro2", @@ -3464,7 +3464,7 @@ dependencies = [ [[package]] name = "malloc_size_of" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "accountable-refcell", "app_units", @@ -5075,7 +5075,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.24.0" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "bitflags 1.3.2", "cssparser", @@ -5363,7 +5363,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.2.0" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "nodrop", "serde", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "servo_atoms" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "string_cache", "string_cache_codegen", @@ -5579,7 +5579,7 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "size_of_test" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "static_assertions", ] @@ -5705,7 +5705,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_prefs" version = "0.1.0" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" [[package]] name = "str-buf" @@ -5748,7 +5748,7 @@ dependencies = [ [[package]] name = "style" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "app_units", "arrayvec", @@ -5807,7 +5807,7 @@ dependencies = [ [[package]] name = "style_config" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "lazy_static", ] @@ -5815,7 +5815,7 @@ dependencies = [ [[package]] name = "style_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "darling", "derive_common", @@ -5846,7 +5846,7 @@ dependencies = [ [[package]] name = "style_traits" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "app_units", "bitflags 1.3.2", @@ -6189,7 +6189,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "to_shmem" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "cssparser", "servo_arc", @@ -6202,7 +6202,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#1e35d0e9ef342928a070af2e94d9369b0cffadb0" +source = "git+https://github.com/servo/stylo.git?branch=2023-09-01#3d41c54f18ace2bc3708fe3b5c032c5341a331ed" dependencies = [ "darling", "derive_common", diff --git a/components/layout_2020/display_list/mod.rs b/components/layout_2020/display_list/mod.rs index 189ae56c541..86e70481e0c 100644 --- a/components/layout_2020/display_list/mod.rs +++ b/components/layout_2020/display_list/mod.rs @@ -370,6 +370,25 @@ impl Fragment { let color = fragment.parent_style.clone_color(); let font_metrics = &fragment.font_metrics; let dppx = builder.context.style_context.device_pixel_ratio().get(); + let common = builder.common_properties(rect.to_webrender(), &fragment.parent_style); + + // Shadows. According to CSS-BACKGROUNDS, text shadows render in *reverse* order (front to + // back). + let shadows = &fragment.parent_style.get_inherited_text().text_shadow; + for shadow in shadows.0.iter().rev() { + builder.wr().push_shadow( + &wr::SpaceAndClipInfo { + spatial_id: common.spatial_id, + clip_chain_id: common.clip_chain_id, + }, + wr::Shadow { + offset: LayoutVector2D::new(shadow.horizontal.px(), shadow.vertical.px()), + color: rgba(shadow.color.resolve_to_absolute(&color)), + blur_radius: shadow.blur.px(), + }, + true, /* should_inflate */ + ); + } // Underline. if fragment @@ -393,7 +412,6 @@ impl Fragment { } // Text. - let common = builder.common_properties(rect.to_webrender(), &fragment.parent_style); builder.wr().push_text( &common, rect.to_webrender(), @@ -414,6 +432,10 @@ impl Fragment { rect.size.height = Length::new(font_metrics.strikeout_size.to_nearest_pixel(dppx)); self.build_display_list_for_text_decoration(fragment, builder, &rect, &color); } + + if !shadows.0.is_empty() { + builder.wr().pop_all_shadows(); + } } fn build_display_list_for_text_decoration( diff --git a/tests/wpt/meta/css/css-backgrounds/box-shadow-multiple-001.html.ini b/tests/wpt/meta/css/css-backgrounds/box-shadow-multiple-001.html.ini deleted file mode 100644 index 54151fc8d55..00000000000 --- a/tests/wpt/meta/css/css-backgrounds/box-shadow-multiple-001.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[box-shadow-multiple-001.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-pseudo/highlight-currentcolor-painting-text-shadow-001.html.ini b/tests/wpt/meta/css/css-pseudo/highlight-currentcolor-painting-text-shadow-001.html.ini new file mode 100644 index 00000000000..9cbcacbddd7 --- /dev/null +++ b/tests/wpt/meta/css/css-pseudo/highlight-currentcolor-painting-text-shadow-001.html.ini @@ -0,0 +1,2 @@ +[highlight-currentcolor-painting-text-shadow-001.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/inheritance.html.ini b/tests/wpt/meta/css/css-text-decor/inheritance.html.ini index e6c6606fd81..58566e30618 100644 --- a/tests/wpt/meta/css/css-text-decor/inheritance.html.ini +++ b/tests/wpt/meta/css/css-text-decor/inheritance.html.ini @@ -31,9 +31,3 @@ [Property text-emphasis-position has initial value over] expected: FAIL - - [Property text-shadow has initial value none] - expected: FAIL - - [Property text-shadow inherits] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/basic-negcoord.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/basic-negcoord.html.ini deleted file mode 100644 index 1cfd412e465..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/basic-negcoord.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[basic-negcoord.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/basic-opacity.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/basic-opacity.html.ini deleted file mode 100644 index 09fc1fd85ac..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/basic-opacity.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[basic-opacity.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/basic.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/basic.html.ini deleted file mode 100644 index 71c924c9b58..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/basic.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[basic.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/blur.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/blur.html.ini deleted file mode 100644 index aa4ac9653bf..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/blur.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[blur.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/color-inherit.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/color-inherit.html.ini deleted file mode 100644 index 6c13f083388..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/color-inherit.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[color-inherit.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/multiple-noblur.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/multiple-noblur.html.ini deleted file mode 100644 index 259c050eb2e..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/multiple-noblur.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[multiple-noblur.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-computed.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-computed.html.ini deleted file mode 100644 index b72522352aa..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-computed.html.ini +++ /dev/null @@ -1,21 +0,0 @@ -[text-shadow-computed.html] - [Property text-shadow value 'none'] - expected: FAIL - - [Property text-shadow value '10px 20px'] - expected: FAIL - - [Property text-shadow value 'red 10px 20px 30px'] - expected: FAIL - - [Property text-shadow value 'calc(0.5em + 10px) calc(0.5em + 10px) calc(0.5em + 10px)'] - expected: FAIL - - [Property text-shadow value 'calc(-0.5em + 10px) calc(-0.5em + 10px) calc(-0.5em + 10px)'] - expected: FAIL - - [Property text-shadow value '10px 20px, 30px 40px'] - expected: FAIL - - [Property text-shadow value 'lime 10px 20px 30px, red 40px 50px'] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-valid.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-valid.html.ini deleted file mode 100644 index 556b7311e6a..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/parsing/text-shadow-valid.html.ini +++ /dev/null @@ -1,30 +0,0 @@ -[text-shadow-valid.html] - [e.style['text-shadow'\] = "none" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "10px 20px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "10px 20px 30px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "calc(1em + 2px) calc(3em + 4px) calc(5em + 6px)" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "-10px 20px 30px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "10px -20px 30px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "rgb(255, 0, 0) 10px 20px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "10px 20px 30px lime" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "10px 20px, 30px 40px" should set the property value] - expected: FAIL - - [e.style['text-shadow'\] = "lime 10px 20px 30px, blue 40px 50px" should set the property value] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/quirks-decor-noblur.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/quirks-decor-noblur.html.ini deleted file mode 100644 index 4ef82b240ee..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/quirks-decor-noblur.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[quirks-decor-noblur.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur-2.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur-2.html.ini deleted file mode 100644 index 4fb4faa4282..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[standards-decor-noblur-2.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur.html.ini b/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur.html.ini deleted file mode 100644 index e72f8df6574..00000000000 --- a/tests/wpt/meta/css/css-text-decor/text-shadow/standards-decor-noblur.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[standards-decor-noblur.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-transitions/animations/text-shadow-interpolation.html.ini b/tests/wpt/meta/css/css-transitions/animations/text-shadow-interpolation.html.ini index 7b988ffeecf..b3b70474b5a 100644 --- a/tests/wpt/meta/css/css-transitions/animations/text-shadow-interpolation.html.ini +++ b/tests/wpt/meta/css/css-transitions/animations/text-shadow-interpolation.html.ini @@ -124,381 +124,3 @@ [Web Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1.5) should be [rgb(0, 0, 0) 1.5px 1.5px 1.5px\]] expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 7px 33px 7px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 10px 30px 10px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 13px 27px 13px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 16px 24px 16px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 25px 15px 25px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 7px 33px 7px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 10px 30px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 13px 27px 13px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 16px 24px 16px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 25px 15px 25px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 7px 33px 7px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 10px 30px 10px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 13px 27px 13px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 16px 24px 16px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Animations: property from neutral to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 25px 15px 25px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (-0.3) should be [rgba(0, 0, 0, 0) -6px -6px 0px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (0) should be [rgba(0, 0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (0.3) should be [rgba(0, 128, 0, 0.3) 6px 6px 6px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (0.6) should be [rgba(0, 128, 0, 0.6) 12px 12px 12px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 192, 0) 30px 30px 30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (-0.3) should be [rgba(0, 0, 0, 0) -6px -6px 0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (0) should be [rgba(0, 0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (0.3) should be [rgba(0, 128, 0, 0.3) 6px 6px 6px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (0.6) should be [rgba(0, 128, 0, 0.6) 12px 12px 12px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 192, 0) 30px 30px 30px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (-0.3) should be [rgba(0, 0, 0, 0) -6px -6px 0px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (0) should be [rgba(0, 0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (0.3) should be [rgba(0, 128, 0, 0.3) 6px 6px 6px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (0.6) should be [rgba(0, 128, 0, 0.6) 12px 12px 12px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 192, 0) 30px 30px 30px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (-0.3) should be [rgb(255, 176, 0) 33px 7px 33px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (0) should be [rgb(255, 165, 0) 30px 10px 30px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (0.3) should be [rgb(179, 154, 0) 27px 13px 27px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (0.6) should be [rgb(102, 143, 0) 24px 16px 24px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (1) should be [rgb(0, 128, 0) 20px 20px 20px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green 20px 20px 20px\] at (1.5) should be [rgb(0, 110, 0) 15px 25px 15px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (-0.3) should be [rgb(0, 0, 0) 24px 16px 0px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0) should be [rgb(0, 0, 0) 15px 10px 5px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.3) should be [rgb(77, 50, 0) 6px 4px 11px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.6) should be [rgb(153, 99, 0) -3px -2px 17px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1) should be [rgb(255, 165, 0) -15px -10px 25px\]] - expected: FAIL - - [CSS Transitions: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1.5) should be [rgb(255, 248, 0) -30px -20px 35px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (-0.3) should be [rgb(0, 0, 0) 24px 16px 0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0) should be [rgb(0, 0, 0) 15px 10px 5px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.3) should be [rgb(77, 50, 0) 6px 4px 11px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.6) should be [rgb(153, 99, 0) -3px -2px 17px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1) should be [rgb(255, 165, 0) -15px -10px 25px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1.5) should be [rgb(255, 248, 0) -30px -20px 35px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (-0.3) should be [rgb(0, 0, 0) 24px 16px 0px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0) should be [rgb(0, 0, 0) 15px 10px 5px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.3) should be [rgb(77, 50, 0) 6px 4px 11px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (0.6) should be [rgb(153, 99, 0) -3px -2px 17px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1) should be [rgb(255, 165, 0) -15px -10px 25px\]] - expected: FAIL - - [CSS Animations: property from [black 15px 10px 5px\] to [orange -15px -10px 25px\] at (1.5) should be [rgb(255, 248, 0) -30px -20px 35px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (-0.3) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.3) should be [rgb(0, 38, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.6) should be [rgb(0, 77, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1) should be [rgb(0, 128, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1.5) should be [rgb(0, 192, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (-0.3) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.3) should be [rgb(0, 38, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.6) should be [rgb(0, 77, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1) should be [rgb(0, 128, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1.5) should be [rgb(0, 192, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (-0.3) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0) should be [rgb(0, 0, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.3) should be [rgb(0, 38, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (0.6) should be [rgb(0, 77, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1) should be [rgb(0, 128, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Animations: property from [black 10px 10px 10px\] to [currentColor 10px 10px 10px\] at (1.5) should be [rgb(0, 192, 0) 10px 10px 10px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (-0.3) should be [rgb(0, 0, 0) -0.3px -0.3px 0px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0) should be [rgb(0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.3) should be [rgb(0, 0, 0) 0.3px 0.3px 0.3px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.6) should be [rgb(0, 0, 0) 0.6px 0.6px 0.6px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1) should be [rgb(0, 0, 0) 1px 1px 1px\]] - expected: FAIL - - [CSS Transitions: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1.5) should be [rgb(0, 0, 0) 1.5px 1.5px 1.5px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (-0.3) should be [rgb(0, 0, 0) -0.3px -0.3px 0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0) should be [rgb(0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.3) should be [rgb(0, 0, 0) 0.3px 0.3px 0.3px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.6) should be [rgb(0, 0, 0) 0.6px 0.6px 0.6px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1) should be [rgb(0, 0, 0) 1px 1px 1px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1.5) should be [rgb(0, 0, 0) 1.5px 1.5px 1.5px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (-0.3) should be [rgb(0, 0, 0) -0.3px -0.3px 0px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0) should be [rgb(0, 0, 0) 0px 0px 0px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.3) should be [rgb(0, 0, 0) 0.3px 0.3px 0.3px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (0.6) should be [rgb(0, 0, 0) 0.6px 0.6px 0.6px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1) should be [rgb(0, 0, 0) 1px 1px 1px\]] - expected: FAIL - - [CSS Animations: property from [black 0px 0px 0px\] to [black 1px 1px 1px\] at (1.5) should be [rgb(0, 0, 0) 1.5px 1.5px 1.5px\]] - expected: FAIL diff --git a/tests/wpt/meta/css/css-variables/variable-substitution-shadow-properties.html.ini b/tests/wpt/meta/css/css-variables/variable-substitution-shadow-properties.html.ini deleted file mode 100644 index 926ef9e4104..00000000000 --- a/tests/wpt/meta/css/css-variables/variable-substitution-shadow-properties.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[variable-substitution-shadow-properties.html] - [text-shadow] - expected: FAIL diff --git a/tests/wpt/meta/quirks/unitless-length/excluded-properties-002.html.ini b/tests/wpt/meta/quirks/unitless-length/excluded-properties-002.html.ini index 21df4776fe4..281646a1cd7 100644 --- a/tests/wpt/meta/quirks/unitless-length/excluded-properties-002.html.ini +++ b/tests/wpt/meta/quirks/unitless-length/excluded-properties-002.html.ini @@ -13,6 +13,3 @@ [Property object-position does not support quirky length] expected: FAIL - - [Property text-shadow does not support quirky length] - expected: FAIL diff --git a/tests/wpt/mozilla/meta/css/text_shadow_decorations_a.html.ini b/tests/wpt/mozilla/meta/css/text_shadow_decorations_a.html.ini deleted file mode 100644 index b328321ca97..00000000000 --- a/tests/wpt/mozilla/meta/css/text_shadow_decorations_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_shadow_decorations_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta/css/text_shadow_multiple_shadows_a.html.ini b/tests/wpt/mozilla/meta/css/text_shadow_multiple_shadows_a.html.ini deleted file mode 100644 index 8b6dff6704e..00000000000 --- a/tests/wpt/mozilla/meta/css/text_shadow_multiple_shadows_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_shadow_multiple_shadows_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta/css/text_shadow_simple_a.html.ini b/tests/wpt/mozilla/meta/css/text_shadow_simple_a.html.ini deleted file mode 100644 index 04ae1b223d5..00000000000 --- a/tests/wpt/mozilla/meta/css/text_shadow_simple_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_shadow_simple_a.html] - expected: FAIL