From d67bf49bd9e2b7df3d4ae3adc0c1847e542fcd3e Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Thu, 27 Apr 2023 23:40:08 +0200 Subject: [PATCH] Implement outlines in layout-2020 This only covers the CSS2 properties: 'outline-width', 'outline-style', 'outline-color', and the shorthand 'outline'. CSS UI 3 introduced 'outline-offset', which is left for a follow-up. 'outline-color: invert' isn't included either, but note CSS UI says that conformant UAs may ignore the 'invert' value on platforms that do not support color inversion of the pixels on the screen. Tests that are now passing: - /_mozilla/css/input_insertion_point_empty_a.html - /_mozilla/css/outlines_simple_a.html - /_mozilla/css/stacking_context_overflow_relative_outline_a.html - /_mozilla/mozilla/getPropertyPriority.html - /css/CSS2/ui/outline-color-001.xht - /css/CSS2/ui/outline-color-002.xht - /css/CSS2/ui/outline-color-007.xht - /css/CSS2/ui/outline-color-008.xht - /css/CSS2/ui/outline-color-013.xht - /css/CSS2/ui/outline-color-018.xht - /css/CSS2/ui/outline-color-023.xht - /css/CSS2/ui/outline-color-024.xht - /css/CSS2/ui/outline-color-025.xht - /css/CSS2/ui/outline-color-031.xht - /css/CSS2/ui/outline-color-036.xht - /css/CSS2/ui/outline-color-041.xht - /css/CSS2/ui/outline-color-046.xht - /css/CSS2/ui/outline-color-047.xht - /css/CSS2/ui/outline-color-048.xht - /css/CSS2/ui/outline-color-049.xht - /css/CSS2/ui/outline-color-050.xht - /css/CSS2/ui/outline-color-051.xht - /css/CSS2/ui/outline-color-052.xht - /css/CSS2/ui/outline-color-053.xht - /css/CSS2/ui/outline-color-054.xht - /css/CSS2/ui/outline-color-058.xht - /css/CSS2/ui/outline-color-059.xht - /css/CSS2/ui/outline-color-061.xht - /css/CSS2/ui/outline-color-062.xht - /css/CSS2/ui/outline-color-069.xht - /css/CSS2/ui/outline-color-070.xht - /css/CSS2/ui/outline-color-071.xht - /css/CSS2/ui/outline-color-072.xht - /css/CSS2/ui/outline-color-073.xht - /css/CSS2/ui/outline-color-074.xht - /css/CSS2/ui/outline-color-075.xht - /css/CSS2/ui/outline-color-079.xht - /css/CSS2/ui/outline-color-081.xht - /css/CSS2/ui/outline-color-082.xht - /css/CSS2/ui/outline-color-089.xht - /css/CSS2/ui/outline-color-090.xht - /css/CSS2/ui/outline-color-091.xht - /css/CSS2/ui/outline-color-092.xht - /css/CSS2/ui/outline-color-093.xht - /css/CSS2/ui/outline-color-094.xht - /css/CSS2/ui/outline-color-095.xht - /css/CSS2/ui/outline-color-099.xht - /css/CSS2/ui/outline-color-101.xht - /css/CSS2/ui/outline-color-102.xht - /css/CSS2/ui/outline-color-109.xht - /css/CSS2/ui/outline-color-110.xht - /css/CSS2/ui/outline-color-111.xht - /css/CSS2/ui/outline-color-112.xht - /css/CSS2/ui/outline-color-113.xht - /css/CSS2/ui/outline-color-114.xht - /css/CSS2/ui/outline-color-115.xht - /css/CSS2/ui/outline-color-119.xht - /css/CSS2/ui/outline-color-121.xht - /css/CSS2/ui/outline-color-122.xht - /css/CSS2/ui/outline-color-130.xht - /css/css-ui/outline-001.html - /css/css-ui/outline-002.html - /css/css-ui/outline-004.html - /css/css-ui/outline-007.html - /css/css-ui/outline-008.html - /css/css-ui/outline-016.html - /css/css-ui/outline-018.html - /css/css-ui/outline-021.html - /css/css-ui/outline-022.html - /css/css-ui/outline-color-001.html - /css/css-ui/outline-style-011.html - /css/css-ui/outline-style-012.html - /css/css-ui/outline-style-013.html - /css/css-ui/outline-style-014.html - /css/css-ui/parsing/outline-color-computed.html - /css/css-ui/parsing/outline-color-valid-mandatory.html - /css/css-ui/parsing/outline-shorthand.html - /css/css-ui/parsing/outline-style-computed.html - /css/css-ui/parsing/outline-style-valid.html - /css/css-ui/parsing/outline-width-valid.html - /css/css-ui/translucent-outline.html Also improvements in: - /_mozilla/mozilla/calc.html - /css/css-ui/animation/outline-color-interpolation.html - /css/css-ui/animation/outline-width-interpolation.html - /css/css-ui/inheritance.html - /css/css-ui/outline-017.html - /css/css-ui/parsing/outline-valid-mandatory.html - /css/css-ui/parsing/outline-width-computed.html - /css/cssom/cssom-setProperty-shorthand.html - /css/cssom/getComputedStyle-resolved-colors.html - /css/cssom/serialize-values.html - /css/cssom/shorthand-values.html New failures: - /css/CSS2/ui/outline-applies-to-005.xht - /css/CSS2/ui/outline-applies-to-006.xht - /css/CSS2/ui/outline-color-applies-to-005.xht - /css/CSS2/ui/outline-color-applies-to-006.xht - /css/CSS2/ui/outline-style-applies-to-005.xht - /css/CSS2/ui/outline-style-applies-to-006.xht - /css/CSS2/ui/outline-width-applies-to-005.xht - /css/CSS2/ui/outline-width-applies-to-006.xht Al of these fail because tables are not implemented yet. - /css/css-ui/outline-offset.html Fails because outline-offset is not implemented yet. - /css/css-ui/outline-with-padding-001.html Fails because the outline doesn't include overflowing contents. I don't think this is required by the spec, Firefox fails too. --- components/layout_2020/display_list/mod.rs | 105 ++++-- .../display_list/stacking_context.rs | 18 +- .../properties/longhands/outline.mako.rs | 4 +- .../properties/shorthands/outline.mako.rs | 2 +- .../CSS2/ui/outline-applies-to-005.xht.ini | 2 + .../CSS2/ui/outline-applies-to-006.xht.ini | 2 + .../css/CSS2/ui/outline-color-001.xht.ini | 2 - .../css/CSS2/ui/outline-color-002.xht.ini | 2 - .../css/CSS2/ui/outline-color-007.xht.ini | 2 - .../css/CSS2/ui/outline-color-008.xht.ini | 2 - .../css/CSS2/ui/outline-color-013.xht.ini | 2 - .../css/CSS2/ui/outline-color-018.xht.ini | 2 - .../css/CSS2/ui/outline-color-023.xht.ini | 2 - .../css/CSS2/ui/outline-color-024.xht.ini | 2 - .../css/CSS2/ui/outline-color-025.xht.ini | 2 - .../css/CSS2/ui/outline-color-031.xht.ini | 2 - .../css/CSS2/ui/outline-color-036.xht.ini | 2 - .../css/CSS2/ui/outline-color-041.xht.ini | 2 - .../css/CSS2/ui/outline-color-046.xht.ini | 2 - .../css/CSS2/ui/outline-color-047.xht.ini | 2 - .../css/CSS2/ui/outline-color-048.xht.ini | 2 - .../css/CSS2/ui/outline-color-049.xht.ini | 2 - .../css/CSS2/ui/outline-color-050.xht.ini | 2 - .../css/CSS2/ui/outline-color-051.xht.ini | 2 - .../css/CSS2/ui/outline-color-052.xht.ini | 2 - .../css/CSS2/ui/outline-color-053.xht.ini | 2 - .../css/CSS2/ui/outline-color-054.xht.ini | 2 - .../css/CSS2/ui/outline-color-058.xht.ini | 2 - .../css/CSS2/ui/outline-color-059.xht.ini | 2 - .../css/CSS2/ui/outline-color-061.xht.ini | 2 - .../css/CSS2/ui/outline-color-062.xht.ini | 2 - .../css/CSS2/ui/outline-color-069.xht.ini | 2 - .../css/CSS2/ui/outline-color-070.xht.ini | 2 - .../css/CSS2/ui/outline-color-071.xht.ini | 2 - .../css/CSS2/ui/outline-color-072.xht.ini | 2 - .../css/CSS2/ui/outline-color-073.xht.ini | 2 - .../css/CSS2/ui/outline-color-074.xht.ini | 2 - .../css/CSS2/ui/outline-color-075.xht.ini | 2 - .../css/CSS2/ui/outline-color-079.xht.ini | 2 - .../css/CSS2/ui/outline-color-081.xht.ini | 2 - .../css/CSS2/ui/outline-color-082.xht.ini | 2 - .../css/CSS2/ui/outline-color-089.xht.ini | 2 - .../css/CSS2/ui/outline-color-090.xht.ini | 2 - .../css/CSS2/ui/outline-color-091.xht.ini | 2 - .../css/CSS2/ui/outline-color-092.xht.ini | 2 - .../css/CSS2/ui/outline-color-093.xht.ini | 2 - .../css/CSS2/ui/outline-color-094.xht.ini | 2 - .../css/CSS2/ui/outline-color-095.xht.ini | 2 - .../css/CSS2/ui/outline-color-099.xht.ini | 2 - .../css/CSS2/ui/outline-color-101.xht.ini | 2 - .../css/CSS2/ui/outline-color-102.xht.ini | 2 - .../css/CSS2/ui/outline-color-109.xht.ini | 2 - .../css/CSS2/ui/outline-color-110.xht.ini | 2 - .../css/CSS2/ui/outline-color-111.xht.ini | 2 - .../css/CSS2/ui/outline-color-112.xht.ini | 2 - .../css/CSS2/ui/outline-color-113.xht.ini | 2 - .../css/CSS2/ui/outline-color-114.xht.ini | 2 - .../css/CSS2/ui/outline-color-115.xht.ini | 2 - .../css/CSS2/ui/outline-color-119.xht.ini | 2 - .../css/CSS2/ui/outline-color-121.xht.ini | 2 - .../css/CSS2/ui/outline-color-122.xht.ini | 2 - .../css/CSS2/ui/outline-color-130.xht.ini | 2 - .../ui/outline-color-applies-to-005.xht.ini | 2 + .../ui/outline-color-applies-to-006.xht.ini | 2 + .../ui/outline-style-applies-to-005.xht.ini | 2 + .../ui/outline-style-applies-to-006.xht.ini | 2 + .../ui/outline-width-applies-to-005.xht.ini | 2 + .../ui/outline-width-applies-to-006.xht.ini | 2 + .../outline-color-interpolation.html.ini | 270 -------------- .../outline-width-interpolation.html.ini | 333 ------------------ .../css/css-ui/inheritance.html.ini | 18 - .../css/css-ui/outline-001.html.ini | 2 - .../css/css-ui/outline-002.html.ini | 2 - .../css/css-ui/outline-004.html.ini | 2 - .../css/css-ui/outline-007.html.ini | 2 - .../css/css-ui/outline-008.html.ini | 2 - .../css/css-ui/outline-016.html.ini | 2 - .../css/css-ui/outline-017.html.ini | 6 - .../css/css-ui/outline-018.html.ini | 3 - .../css/css-ui/outline-021.html.ini | 2 - .../css/css-ui/outline-022.html.ini | 2 - .../css/css-ui/outline-color-001.html.ini | 2 - .../css/css-ui/outline-offset.html.ini | 2 + .../css/css-ui/outline-style-011.html.ini | 2 - .../css/css-ui/outline-style-012.html.ini | 2 - .../css/css-ui/outline-style-013.html.ini | 2 - .../css/css-ui/outline-style-014.html.ini | 2 - .../css-ui/outline-with-padding-001.html.ini | 2 + .../parsing/outline-color-computed.html.ini | 9 - .../outline-color-valid-mandatory.html.ini | 3 - .../css-ui/parsing/outline-shorthand.html.ini | 12 - .../parsing/outline-style-computed.html.ini | 30 -- .../parsing/outline-style-valid.html.ini | 30 -- .../parsing/outline-valid-mandatory.html.ini | 3 - .../parsing/outline-width-computed.html.ini | 24 -- .../parsing/outline-width-valid.html.ini | 21 -- .../css/css-ui/translucent-outline.html.ini | 2 - .../cssom-setProperty-shorthand.html.ini | 6 - .../getComputedStyle-resolved-colors.html.ini | 3 - .../css/cssom/serialize-values.html.ini | 66 ---- .../css/cssom/shorthand-values.html.ini | 3 - .../input_insertion_point_empty_a.html.ini | 2 - .../css/outlines_simple_a.html.ini | 2 - ...ntext_overflow_relative_outline_a.html.ini | 2 - .../meta-layout-2020/mozilla/calc.html.ini | 3 - .../mozilla/getPropertyPriority.html.ini | 3 - 106 files changed, 121 insertions(+), 1020 deletions(-) create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-006.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-001.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-002.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-007.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-008.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-013.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-018.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-023.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-024.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-025.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-031.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-036.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-041.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-046.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-047.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-048.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-049.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-050.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-051.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-052.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-053.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-054.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-058.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-059.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-061.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-062.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-069.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-070.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-071.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-072.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-073.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-074.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-075.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-079.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-081.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-082.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-089.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-090.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-091.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-092.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-093.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-094.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-095.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-099.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-101.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-102.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-109.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-110.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-111.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-112.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-113.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-114.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-115.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-119.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-121.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-122.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-130.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-006.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-006.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-005.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-006.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-001.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-002.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-004.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-007.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-008.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-016.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-018.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-021.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-022.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-color-001.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-offset.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-style-011.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-style-012.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-style-013.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-style-014.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/outline-with-padding-001.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-computed.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-valid-mandatory.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-shorthand.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-computed.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-valid.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-valid.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-ui/translucent-outline.html.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/css/input_insertion_point_empty_a.html.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/css/outlines_simple_a.html.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/css/stacking_context_overflow_relative_outline_a.html.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/mozilla/getPropertyPriority.html.ini diff --git a/components/layout_2020/display_list/mod.rs b/components/layout_2020/display_list/mod.rs index c4a6dda0cbf..97b2e25a82e 100644 --- a/components/layout_2020/display_list/mod.rs +++ b/components/layout_2020/display_list/mod.rs @@ -4,6 +4,7 @@ use crate::context::LayoutContext; use crate::display_list::conversions::ToWebRender; +use crate::display_list::stacking_context::StackingContextSection; use crate::fragments::{BoxFragment, Fragment, Tag, TextFragment}; use crate::geom::{PhysicalPoint, PhysicalRect}; use crate::replaced::IntrinsicSizes; @@ -21,7 +22,7 @@ use style::computed_values::text_decoration_style::T as ComputedTextDecorationSt use style::dom::OpaqueNode; use style::properties::longhands::visibility::computed_value::T as Visibility; use style::properties::ComputedValues; -use style::values::computed::{BorderStyle, Length, LengthPercentage}; +use style::values::computed::{BorderStyle, Color, Length, LengthPercentage, OutlineStyle}; use style::values::specified::text::TextDecorationLine; use style::values::specified::ui::CursorKind; use style_traits::CSSPixel; @@ -115,11 +116,12 @@ impl Fragment { &self, builder: &mut DisplayListBuilder, containing_block: &PhysicalRect, + section: StackingContextSection, ) { match self { Fragment::Box(b) => match b.style.get_inherited_box().visibility { Visibility::Visible => { - BuilderForBoxFragment::new(b, containing_block).build(builder) + BuilderForBoxFragment::new(b, containing_block).build(builder, section) }, Visibility::Hidden => (), Visibility::Collapse => (), @@ -418,10 +420,14 @@ impl<'a> BuilderForBoxFragment<'a> { }) } - fn build(&mut self, builder: &mut DisplayListBuilder) { - self.build_hit_test(builder); - self.build_background(builder); - self.build_border(builder); + fn build(&mut self, builder: &mut DisplayListBuilder, section: StackingContextSection) { + if section == StackingContextSection::Outline { + self.build_outline(builder); + } else { + self.build_hit_test(builder); + self.build_background(builder); + self.build_border(builder); + } } fn build_hit_test(&self, builder: &mut DisplayListBuilder) { @@ -555,18 +561,8 @@ impl<'a> BuilderForBoxFragment<'a> { } } - fn build_border(&mut self, builder: &mut DisplayListBuilder) { - let b = self.fragment.style.get_border(); - let widths = SideOffsets2D::new( - b.border_top_width.px(), - b.border_right_width.px(), - b.border_bottom_width.px(), - b.border_left_width.px(), - ); - if widths == SideOffsets2D::zero() { - return; - } - let side = |style, color| wr::BorderSide { + fn build_border_side(&mut self, style: BorderStyle, color: Color) -> wr::BorderSide { + wr::BorderSide { color: rgba(self.fragment.style.resolve_color(color)), style: match style { BorderStyle::None => wr::BorderStyle::None, @@ -580,13 +576,26 @@ impl<'a> BuilderForBoxFragment<'a> { BorderStyle::Inset => wr::BorderStyle::Inset, BorderStyle::Outset => wr::BorderStyle::Outset, }, - }; + } + } + + fn build_border(&mut self, builder: &mut DisplayListBuilder) { + let border = self.fragment.style.get_border(); + let widths = SideOffsets2D::new( + border.border_top_width.px(), + border.border_right_width.px(), + border.border_bottom_width.px(), + border.border_left_width.px(), + ); + if widths == SideOffsets2D::zero() { + return; + } let common = builder.common_properties(self.border_rect, &self.fragment.style); let details = wr::BorderDetails::Normal(wr::NormalBorder { - top: side(b.border_top_style, b.border_top_color), - right: side(b.border_right_style, b.border_right_color), - bottom: side(b.border_bottom_style, b.border_bottom_color), - left: side(b.border_left_style, b.border_left_color), + top: self.build_border_side(border.border_top_style, border.border_top_color), + right: self.build_border_side(border.border_right_style, border.border_right_color), + bottom: self.build_border_side(border.border_bottom_style, border.border_bottom_color), + left: self.build_border_side(border.border_left_style, border.border_left_color), radius: self.border_radius, do_aa: true, }); @@ -594,6 +603,35 @@ impl<'a> BuilderForBoxFragment<'a> { .wr .push_border(&common, self.border_rect, widths, details) } + + fn build_outline(&mut self, builder: &mut DisplayListBuilder) { + let outline = self.fragment.style.get_outline(); + let width = outline.outline_width.px(); + if width == 0.0 { + return; + } + let outline_rect = self.border_rect.inflate(width, width); + let common = builder.common_properties(outline_rect, &self.fragment.style); + let widths = SideOffsets2D::new_all_same(width); + let style = match outline.outline_style { + // TODO: treating 'auto' as 'solid' is allowed by the spec, + // but we should do something better. + OutlineStyle::Auto => BorderStyle::Solid, + OutlineStyle::BorderStyle(s) => s, + }; + let side = self.build_border_side(style, outline.outline_color); + let details = wr::BorderDetails::Normal(wr::NormalBorder { + top: side, + right: side, + bottom: side, + left: side, + radius: expand_radii(self.border_radius, width), + do_aa: true, + }); + builder + .wr + .push_border(&common, outline_rect, widths, details) + } } fn rgba(rgba: cssparser::RGBA) -> wr::ColorF { @@ -699,6 +737,27 @@ fn inner_radii(mut radii: wr::BorderRadius, offsets: units::LayoutSideOffsets) - radii } +fn expand_radii(mut radii: wr::BorderRadius, increment: f32) -> wr::BorderRadius { + assert!(increment > 0.0, "increment must be positive"); + let expand = |radius: &mut f32| { + // Expand the radius by the specified amount, but keeping sharp corners. + // TODO: this behavior is not continuous, it's being discussed in the CSSWG: + // https://github.com/w3c/csswg-drafts/issues/7103 + if *radius > 0.0 { + *radius += increment; + } + }; + expand(&mut radii.top_left.width); + expand(&mut radii.top_left.height); + expand(&mut radii.top_right.width); + expand(&mut radii.top_right.height); + expand(&mut radii.bottom_right.width); + expand(&mut radii.bottom_right.height); + expand(&mut radii.bottom_left.width); + expand(&mut radii.bottom_left.height); + radii +} + fn clip_for_radii( radii: wr::BorderRadius, rect: units::LayoutRect, diff --git a/components/layout_2020/display_list/stacking_context.rs b/components/layout_2020/display_list/stacking_context.rs index 8cc717569f9..5d69a201135 100644 --- a/components/layout_2020/display_list/stacking_context.rs +++ b/components/layout_2020/display_list/stacking_context.rs @@ -99,6 +99,7 @@ pub(crate) enum StackingContextSection { BackgroundsAndBorders, BlockBackgroundsAndBorders, Content, + Outline, } pub(crate) struct StackingContextFragment { @@ -113,7 +114,7 @@ impl StackingContextFragment { builder.current_space_and_clip = self.space_and_clip; self.fragment .borrow() - .build_display_list(builder, &self.containing_block); + .build_display_list(builder, &self.containing_block, self.section); } } @@ -424,6 +425,13 @@ impl StackingContext { child_context.build_display_list(builder); } + // Step 10: Outline + while child_fragments.peek().map_or(false, |child| { + child.section == StackingContextSection::Outline + }) { + child_fragments.next().unwrap().build_display_list(builder); + } + if pushed_context { builder.wr.pop_stacking_context(); } @@ -671,6 +679,14 @@ impl BoxFragment { containing_block: containing_block_info.rect, fragment: fragment.clone(), }); + if self.style.get_outline().outline_width.px() > 0.0 { + stacking_context.fragments.push(StackingContextFragment { + space_and_clip: builder.current_space_and_clip, + section: StackingContextSection::Outline, + containing_block: containing_block_info.rect, + fragment: fragment.clone(), + }); + } // We want to build the scroll frame after the background and border, because // they shouldn't scroll with the rest of the box content. diff --git a/components/style/properties/longhands/outline.mako.rs b/components/style/properties/longhands/outline.mako.rs index 9789797f4a4..c74fb804b6a 100644 --- a/components/style/properties/longhands/outline.mako.rs +++ b/components/style/properties/longhands/outline.mako.rs @@ -14,7 +14,7 @@ ${helpers.predefined_type( "outline-color", "Color", "computed_value::T::currentcolor()", - engines="gecko servo-2013", + engines="gecko servo-2013 servo-2020", initial_specified_value="specified::Color::currentcolor()", animation_value_type="AnimatedColor", ignored_when_colors_disabled=True, @@ -26,7 +26,6 @@ ${helpers.predefined_type( "OutlineStyle", "computed::OutlineStyle::none()", engines="gecko servo-2013 servo-2020", - servo_2020_pref="layout.2020.unimplemented", initial_specified_value="specified::OutlineStyle::none()", animation_value_type="discrete", spec="https://drafts.csswg.org/css-ui/#propdef-outline-style", @@ -37,7 +36,6 @@ ${helpers.predefined_type( "BorderSideWidth", "crate::values::computed::NonNegativeLength::new(3.)", engines="gecko servo-2013 servo-2020", - servo_2020_pref="layout.2020.unimplemented", initial_specified_value="specified::BorderSideWidth::Medium", computed_type="crate::values::computed::NonNegativeLength", animation_value_type="NonNegativeLength", diff --git a/components/style/properties/shorthands/outline.mako.rs b/components/style/properties/shorthands/outline.mako.rs index c6ba47303a7..314f27738ab 100644 --- a/components/style/properties/shorthands/outline.mako.rs +++ b/components/style/properties/shorthands/outline.mako.rs @@ -5,7 +5,7 @@ <%namespace name="helpers" file="/helpers.mako.rs" /> <%helpers:shorthand name="outline" - engines="gecko servo-2013" + engines="gecko servo-2013 servo-2020" sub_properties="outline-color outline-style outline-width" derive_serialize="True" spec="https://drafts.csswg.org/css-ui/#propdef-outline"> diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-005.xht.ini new file mode 100644 index 00000000000..4454906bb06 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-005.xht.ini @@ -0,0 +1,2 @@ +[outline-applies-to-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-006.xht.ini new file mode 100644 index 00000000000..b2cf0afb000 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-applies-to-006.xht.ini @@ -0,0 +1,2 @@ +[outline-applies-to-006.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-001.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-001.xht.ini deleted file mode 100644 index 40391daf112..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-001.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-002.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-002.xht.ini deleted file mode 100644 index a2315173735..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-002.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-002.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-007.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-007.xht.ini deleted file mode 100644 index a8dc40c053c..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-007.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-007.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-008.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-008.xht.ini deleted file mode 100644 index 26703686a86..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-008.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-008.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-013.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-013.xht.ini deleted file mode 100644 index 6c38e9cfddb..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-013.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-013.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-018.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-018.xht.ini deleted file mode 100644 index 2779f311458..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-018.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-018.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-023.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-023.xht.ini deleted file mode 100644 index 321d1908dbc..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-023.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-023.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-024.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-024.xht.ini deleted file mode 100644 index 74b3c024e92..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-024.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-024.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-025.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-025.xht.ini deleted file mode 100644 index 460931bfb7e..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-025.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-025.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-031.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-031.xht.ini deleted file mode 100644 index 41ede6ce478..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-031.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-031.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-036.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-036.xht.ini deleted file mode 100644 index 8de8e44c755..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-036.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-036.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-041.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-041.xht.ini deleted file mode 100644 index 235e3c60781..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-041.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-041.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-046.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-046.xht.ini deleted file mode 100644 index 4516cab9c33..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-046.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-046.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-047.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-047.xht.ini deleted file mode 100644 index 0ad98858bd1..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-047.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-047.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-048.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-048.xht.ini deleted file mode 100644 index 06409bc76c6..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-048.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-048.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-049.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-049.xht.ini deleted file mode 100644 index 30b6086516f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-049.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-049.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-050.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-050.xht.ini deleted file mode 100644 index 1a371522b82..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-050.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-050.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-051.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-051.xht.ini deleted file mode 100644 index 6a3225beea4..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-051.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-051.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-052.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-052.xht.ini deleted file mode 100644 index 925fd84face..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-052.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-052.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-053.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-053.xht.ini deleted file mode 100644 index 4b8ac6bd70a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-053.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-053.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-054.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-054.xht.ini deleted file mode 100644 index 317e12044fd..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-054.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-054.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-058.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-058.xht.ini deleted file mode 100644 index c8d075b48d7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-058.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-058.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-059.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-059.xht.ini deleted file mode 100644 index 8f7dc4c647d..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-059.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-059.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-061.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-061.xht.ini deleted file mode 100644 index 5fa0ba0003f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-061.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-061.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-062.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-062.xht.ini deleted file mode 100644 index e874eb63e71..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-062.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-062.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-069.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-069.xht.ini deleted file mode 100644 index fa14eab6530..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-069.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-069.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-070.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-070.xht.ini deleted file mode 100644 index b3bac4243ff..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-070.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-070.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-071.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-071.xht.ini deleted file mode 100644 index 8b18131d0c7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-071.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-071.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-072.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-072.xht.ini deleted file mode 100644 index c690ecfe59a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-072.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-072.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-073.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-073.xht.ini deleted file mode 100644 index bc5b32ff24e..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-073.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-073.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-074.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-074.xht.ini deleted file mode 100644 index 609bf88d3a9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-074.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-074.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-075.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-075.xht.ini deleted file mode 100644 index bb90bd5c940..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-075.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-075.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-079.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-079.xht.ini deleted file mode 100644 index cc9742351af..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-079.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-079.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-081.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-081.xht.ini deleted file mode 100644 index abe2ca15a98..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-081.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-081.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-082.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-082.xht.ini deleted file mode 100644 index d7e327822ab..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-082.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-082.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-089.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-089.xht.ini deleted file mode 100644 index 9f8022567dc..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-089.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-089.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-090.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-090.xht.ini deleted file mode 100644 index e09fd813418..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-090.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-090.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-091.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-091.xht.ini deleted file mode 100644 index 930bcb0f5b9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-091.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-091.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-092.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-092.xht.ini deleted file mode 100644 index 986136d82c9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-092.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-092.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-093.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-093.xht.ini deleted file mode 100644 index c32c2228305..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-093.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-093.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-094.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-094.xht.ini deleted file mode 100644 index 5aed0f1432f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-094.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-094.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-095.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-095.xht.ini deleted file mode 100644 index 38249a502c7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-095.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-095.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-099.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-099.xht.ini deleted file mode 100644 index bfb7654edcb..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-099.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-099.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-101.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-101.xht.ini deleted file mode 100644 index 7ca0f6b18e5..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-101.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-101.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-102.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-102.xht.ini deleted file mode 100644 index a426bf86a12..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-102.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-102.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-109.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-109.xht.ini deleted file mode 100644 index 9f629a542a7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-109.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-109.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-110.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-110.xht.ini deleted file mode 100644 index 2c4fa45b73d..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-110.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-110.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-111.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-111.xht.ini deleted file mode 100644 index f7e6207c6b0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-111.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-111.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-112.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-112.xht.ini deleted file mode 100644 index 59b10faad65..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-112.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-112.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-113.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-113.xht.ini deleted file mode 100644 index a96179dc31f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-113.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-113.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-114.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-114.xht.ini deleted file mode 100644 index 3e544942c2f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-114.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-114.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-115.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-115.xht.ini deleted file mode 100644 index bfb0f39a572..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-115.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-115.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-119.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-119.xht.ini deleted file mode 100644 index 66d046499de..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-119.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-119.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-121.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-121.xht.ini deleted file mode 100644 index a81c9c8a891..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-121.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-121.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-122.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-122.xht.ini deleted file mode 100644 index baf3f35a818..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-122.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-122.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-130.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-130.xht.ini deleted file mode 100644 index 63051b11f95..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-130.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-130.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-005.xht.ini new file mode 100644 index 00000000000..89465415697 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-005.xht.ini @@ -0,0 +1,2 @@ +[outline-color-applies-to-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-006.xht.ini new file mode 100644 index 00000000000..21438fad43e --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-color-applies-to-006.xht.ini @@ -0,0 +1,2 @@ +[outline-color-applies-to-006.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-005.xht.ini new file mode 100644 index 00000000000..be50370bc7d --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-005.xht.ini @@ -0,0 +1,2 @@ +[outline-style-applies-to-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-006.xht.ini new file mode 100644 index 00000000000..ea86007f3af --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-style-applies-to-006.xht.ini @@ -0,0 +1,2 @@ +[outline-style-applies-to-006.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-005.xht.ini new file mode 100644 index 00000000000..993addc83b7 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-005.xht.ini @@ -0,0 +1,2 @@ +[outline-width-applies-to-005.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-006.xht.ini new file mode 100644 index 00000000000..f64f99f5aa8 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/ui/outline-width-applies-to-006.xht.ini @@ -0,0 +1,2 @@ +[outline-width-applies-to-006.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-color-interpolation.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-color-interpolation.html.ini index 6da587fead4..9986fd9dc2e 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-color-interpolation.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-color-interpolation.html.ini @@ -1,70 +1,22 @@ [outline-color-interpolation.html] - [CSS Transitions with transition: all: property from [white\] to [orange\] at (1.5) should be [rgb(255, 120, 0)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (-0.3) should be [white\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green\] at (-0.3) should be [rgb(0, 0, 255)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (-0.3) should be [rgb(255, 255, 0)\]] - expected: FAIL - - [CSS Animations: property from neutral to [green\] at (0) should be [rgb(0, 0, 255)\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green\] at (1.5) should be [rgb(0, 65, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [white\] to [orange\] at (-0.3) should be [white\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - [Web Animations: property from [white\] to [orange\] at (0.3) should be [rgb(255, 228, 179)\]] expected: FAIL - [CSS Transitions with transition: all: property from neutral to [green\] at (0) should be [rgb(0, 0, 255)\]] - expected: FAIL - [Web Animations: property from [initial\] to [green\] at (0) should be [rgb(0, 0, 0)\]] expected: FAIL - [CSS Animations: property from [initial\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - [Web Animations: property from [inherit\] to [green\] at (1.5) should be [rgb(0, 65, 0)\]] expected: FAIL - [CSS Transitions with transition: all: property from neutral to [green\] at (0.3) should be [rgb(0, 38, 179)\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - [Web Animations: property from [white\] to [orange\] at (0) should be [white\]] expected: FAIL [Web Animations: property from [unset\] to [green\] at (0) should be [rgb(0, 0, 0)\]] expected: FAIL - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (0.3) should be [rgb(179, 217, 0)\]] - expected: FAIL - [Web Animations: property from [inherit\] to [green\] at (1) should be [rgb(0, 128, 0)\]] expected: FAIL - [CSS Transitions: property from [unset\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Animations: property from neutral to [green\] at (-0.3) should be [rgb(0, 0, 255)\]] - expected: FAIL - [Web Animations: property from neutral to [green\] at (-0.3) should be [rgb(0, 0, 255)\]] expected: FAIL @@ -77,284 +29,62 @@ [Web Animations: property from [initial\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] expected: FAIL - [CSS Transitions: property from neutral to [green\] at (0.3) should be [rgb(0, 38, 179)\]] - expected: FAIL - [Web Animations: property from [initial\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] expected: FAIL [Web Animations: property from neutral to [green\] at (1.5) should be [rgb(0, 192, 0)\]] expected: FAIL - [CSS Transitions: property from [inherit\] to [green\] at (0.3) should be [rgb(179, 217, 0)\]] - expected: FAIL - [Web Animations: property from [unset\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] expected: FAIL - [CSS Transitions: property from [unset\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - [Web Animations: property from [initial\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] expected: FAIL - [CSS Animations: property from neutral to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - [Web Animations: property from [white\] to [orange\] at (0.6) should be [rgb(255, 201, 102)\]] expected: FAIL - [CSS Transitions: property from [white\] to [orange\] at (0) should be [white\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green\] at (0.6) should be [rgb(0, 77, 102)\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions: property from [white\] to [orange\] at (1) should be [orange\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green\] at (0.6) should be [rgb(102, 179, 0)\]] - expected: FAIL - [Web Animations: property from neutral to [green\] at (0.3) should be [rgb(0, 38, 179)\]] expected: FAIL - [CSS Transitions with transition: all: property from [unset\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green\] at (-0.3) should be [rgb(255, 255, 0)\]] - expected: FAIL - [Web Animations: property from [inherit\] to [green\] at (0.6) should be [rgb(102, 179, 0)\]] expected: FAIL - [CSS Transitions: property from [inherit\] to [green\] at (1.5) should be [rgb(0, 65, 0)\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - [Web Animations: property from [initial\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] expected: FAIL - [CSS Transitions: property from [inherit\] to [green\] at (0.6) should be [rgb(102, 179, 0)\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - [Web Animations: property from [white\] to [orange\] at (-0.3) should be [white\]] expected: FAIL - [CSS Transitions: property from [unset\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - [Web Animations: property from [white\] to [orange\] at (1.5) should be [rgb(255, 120, 0)\]] expected: FAIL - [CSS Transitions with transition: all: property from [white\] to [orange\] at (0) should be [white\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - [Web Animations: property from [initial\] to [green\] at (1) should be [rgb(0, 128, 0)\]] expected: FAIL - [CSS Transitions: property from neutral to [green\] at (0) should be [rgb(0, 0, 255)\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green\] at (0.3) should be [rgb(179, 217, 0)\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [green\] at (0) should be [rgb(255, 255, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green\] at (-0.3) should be [rgb(0, 0, 255)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [white\] to [orange\] at (1) should be [orange\]] - expected: FAIL - - [CSS Animations: property from neutral to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [white\] to [orange\] at (0.6) should be [rgb(255, 201, 102)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (0) should be [white\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions: property from neutral to [green\] at (0.6) should be [rgb(0, 77, 102)\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (0.3) should be [rgb(255, 228, 179)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (1.5) should be [rgb(255, 120, 0)\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - [Web Animations: property from [inherit\] to [green\] at (0.3) should be [rgb(179, 217, 0)\]] expected: FAIL - [CSS Animations: property from [unset\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - [Web Animations: property from [inherit\] to [green\] at (0) should be [rgb(255, 255, 0)\]] expected: FAIL [Web Animations: property from [white\] to [orange\] at (1) should be [orange\]] expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (1) should be [orange\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [white\] to [orange\] at (0.3) should be [rgb(255, 228, 179)\]] - expected: FAIL - - [CSS Animations: property from neutral to [green\] at (0.3) should be [rgb(0, 38, 179)\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [green\] at (0.3) should be [rgb(0, 38, 0)\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [green\] at (0) should be [rgb(255, 255, 0)\]] - expected: FAIL - - [CSS Animations: property from [white\] to [orange\] at (0.6) should be [rgb(255, 201, 102)\]] - expected: FAIL - - [CSS Transitions: property from [white\] to [orange\] at (-0.3) should be [white\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (0) should be [rgb(255, 255, 0)\]] - expected: FAIL - - [CSS Animations: property from neutral to [green\] at (0.6) should be [rgb(0, 77, 102)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [green\] at (1.5) should be [rgb(0, 192, 0)\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [green\] at (0) should be [rgb(0, 0, 0)\]] - expected: FAIL - [Web Animations: property from [unset\] to [green\] at (1) should be [rgb(0, 128, 0)\]] expected: FAIL [Web Animations: property from [unset\] to [green\] at (0.6) should be [rgb(0, 77, 0)\]] expected: FAIL - [CSS Animations: property from [inherit\] to [green\] at (-0.3) should be [rgb(255, 255, 0)\]] - expected: FAIL - [Web Animations: property from neutral to [green\] at (0.6) should be [rgb(0, 77, 102)\]] expected: FAIL - [CSS Transitions: property from [white\] to [orange\] at (1.5) should be [rgb(255, 120, 0)\]] - expected: FAIL - - [CSS Transitions: property from [white\] to [orange\] at (0.3) should be [rgb(255, 228, 179)\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] - expected: FAIL - [Web Animations: property from neutral to [green\] at (0) should be [rgb(0, 0, 255)\]] expected: FAIL - [CSS Transitions with transition: all: property from [unset\] to [green\] at (1) should be [rgb(0, 128, 0)\]] - expected: FAIL - [Web Animations: property from [unset\] to [green\] at (-0.3) should be [rgb(0, 0, 0)\]] expected: FAIL [Web Animations: property from [unset\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]] expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (0.6) should be [rgb(102, 179, 0)\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [green\] at (1.5) should be [rgb(0, 65, 0)\]] - expected: FAIL - - [CSS Transitions: property from [white\] to [orange\] at (0.6) should be [rgb(255, 201, 102)\]] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-width-interpolation.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-width-interpolation.html.ini index 219dcdfb151..9bda50e3f7b 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-width-interpolation.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/animation/outline-width-interpolation.html.ini @@ -2,9 +2,6 @@ [Web Animations: property from [inherit\] to [20px\] at (0.3) should be [27px\]] expected: FAIL - [CSS Animations: property from [inherit\] to [20px\] at (1.5) should be [15px\]] - expected: FAIL - [CSS Transitions: property from [initial\] to [20px\] at (1) should be [20px\]] expected: FAIL @@ -23,15 +20,9 @@ [Web Animations: property from [unset\] to [20px\] at (1.5) should be [28px\]] expected: FAIL - [CSS Animations: property from [inherit\] to [20px\] at (-0.3) should be [33px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [20px\] at (1) should be [20px\]] expected: FAIL - [CSS Animations: property from [0px\] to [10px\] at (0.6) should be [6px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [unset\] to [20px\] at (0.6) should be [13px\]] expected: FAIL @@ -41,9 +32,6 @@ [Web Animations: property from [0px\] to [10px\] at (0.3) should be [3px\]] expected: FAIL - [CSS Animations: property from neutral to [20px\] at (1) should be [20px\]] - expected: FAIL - [CSS Animations: property from [unset\] to [20px\] at (0) should be [3px\]] expected: FAIL @@ -65,9 +53,6 @@ [CSS Animations: property from [initial\] to [20px\] at (0.3) should be [8px\]] expected: FAIL - [CSS Animations: property from [thick\] to [15px\] at (0.3) should be [8px\]] - expected: FAIL - [CSS Transitions: property from [initial\] to [20px\] at (1.5) should be [28px\]] expected: FAIL @@ -77,9 +62,6 @@ [Web Animations: property from [0px\] to [10px\] at (0) should be [0px\]] expected: FAIL - [CSS Animations: property from [inherit\] to [20px\] at (0.3) should be [27px\]] - expected: FAIL - [Web Animations: property from [thick\] to [15px\] at (1.5) should be [20px\]] expected: FAIL @@ -113,9 +95,6 @@ [Web Animations: property from [initial\] to [20px\] at (0.6) should be [13px\]] expected: FAIL - [CSS Animations: property from [thick\] to [15px\] at (1.5) should be [20px\]] - expected: FAIL - [CSS Transitions: property from [unset\] to [20px\] at (-0.3) should be [0px\]] expected: FAIL @@ -125,12 +104,6 @@ [CSS Transitions with transition: all: property from [unset\] to [20px\] at (0.3) should be [8px\]] expected: FAIL - [CSS Animations: property from [inherit\] to [20px\] at (0) should be [30px\]] - expected: FAIL - - [CSS Animations: property from neutral to [20px\] at (1.5) should be [25px\]] - expected: FAIL - [Web Animations: property from [thick\] to [15px\] at (0) should be [5px\]] expected: FAIL @@ -155,33 +128,15 @@ [Web Animations: property from [unset\] to [20px\] at (1) should be [20px\]] expected: FAIL - [CSS Animations: property from neutral to [20px\] at (-0.3) should be [7px\]] - expected: FAIL - - [CSS Animations: property from [inherit\] to [20px\] at (0.6) should be [24px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [20px\] at (1.5) should be [28px\]] expected: FAIL - [CSS Animations: property from [0px\] to [10px\] at (1.5) should be [15px\]] - expected: FAIL - [CSS Animations: property from [initial\] to [20px\] at (-0.3) should be [0px\]] expected: FAIL - [CSS Animations: property from [thick\] to [15px\] at (-2) should be [0px\]] - expected: FAIL - [CSS Transitions: property from [unset\] to [20px\] at (0) should be [3px\]] expected: FAIL - [CSS Animations: property from [thick\] to [15px\] at (0) should be [5px\]] - expected: FAIL - - [CSS Animations: property from [0px\] to [10px\] at (0.3) should be [3px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [20px\] at (0.6) should be [13px\]] expected: FAIL @@ -194,9 +149,6 @@ [Web Animations: property from [0px\] to [10px\] at (1.5) should be [15px\]] expected: FAIL - [CSS Animations: property from [thick\] to [15px\] at (1) should be [15px\]] - expected: FAIL - [Web Animations: property from [inherit\] to [20px\] at (1.5) should be [15px\]] expected: FAIL @@ -230,30 +182,15 @@ [Web Animations: property from [inherit\] to [20px\] at (0) should be [30px\]] expected: FAIL - [CSS Animations: property from [0px\] to [10px\] at (0) should be [0px\]] - expected: FAIL - [CSS Transitions: property from [unset\] to [20px\] at (1) should be [20px\]] expected: FAIL - [CSS Animations: property from neutral to [20px\] at (0.6) should be [16px\]] - expected: FAIL - - [CSS Animations: property from [thick\] to [15px\] at (-0.3) should be [2px\]] - expected: FAIL - - [CSS Animations: property from [thick\] to [15px\] at (0.6) should be [11px\]] - expected: FAIL - [CSS Transitions: property from [unset\] to [20px\] at (0.6) should be [13px\]] expected: FAIL [Web Animations: property from [thick\] to [15px\] at (0.3) should be [8px\]] expected: FAIL - [CSS Animations: property from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [20px\] at (0.3) should be [8px\]] expected: FAIL @@ -266,18 +203,12 @@ [CSS Animations: property from [initial\] to [20px\] at (1) should be [20px\]] expected: FAIL - [CSS Animations: property from neutral to [20px\] at (0.3) should be [13px\]] - expected: FAIL - [CSS Transitions with transition: all: property from [initial\] to [20px\] at (-0.3) should be [0px\]] expected: FAIL [CSS Transitions with transition: all: property from [unset\] to [20px\] at (1.5) should be [28px\]] expected: FAIL - [CSS Animations: property from [0px\] to [10px\] at (-0.3) should be [0px\]] - expected: FAIL - [CSS Animations: property from [initial\] to [20px\] at (0) should be [3px\]] expected: FAIL @@ -287,39 +218,18 @@ [CSS Transitions: property from [unset\] to [20px\] at (1.5) should be [28px\]] expected: FAIL - [CSS Animations: property from [unset\] to [23px\] at (0) should be [3px\]] - expected: FAIL - - [CSS Animations: property from [unset\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - [Web Animations: property from [unset\] to [23px\] at (1.5) should be [33px\]] expected: FAIL - [CSS Animations: property from [initial\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - [Web Animations: property from [unset\] to [23px\] at (0) should be [3px\]] expected: FAIL - [CSS Animations: property from [unset\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - [Web Animations: property from [initial\] to [23px\] at (1) should be [23px\]] expected: FAIL - [CSS Animations: property from [initial\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - [Web Animations: property from [initial\] to [23px\] at (0) should be [3px\]] expected: FAIL - [CSS Animations: property from [initial\] to [23px\] at (1) should be [23px\]] - expected: FAIL - - [CSS Animations: property from [initial\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - [Web Animations: property from [unset\] to [23px\] at (-0.3) should be [0px\]] expected: FAIL @@ -329,260 +239,17 @@ [Web Animations: property from [initial\] to [23px\] at (1.5) should be [33px\]] expected: FAIL - [CSS Animations: property from [unset\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - [Web Animations: property from [initial\] to [23px\] at (-0.3) should be [0px\]] expected: FAIL [Web Animations: property from [unset\] to [23px\] at (1) should be [23px\]] expected: FAIL - [CSS Animations: property from [unset\] to [23px\] at (1) should be [23px\]] - expected: FAIL - [Web Animations: property from [unset\] to [23px\] at (0.3) should be [9px\]] expected: FAIL - [CSS Animations: property from [unset\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - [Web Animations: property from [initial\] to [23px\] at (0.6) should be [15px\]] expected: FAIL - [CSS Animations: property from [initial\] to [23px\] at (0) should be [3px\]] - expected: FAIL - [Web Animations: property from [unset\] to [23px\] at (0.6) should be [15px\]] expected: FAIL - - [CSS Animations: property from [initial\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (1.5) should be [15px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (0.3) should be [13px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (1) should be [23px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (0) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (0.6) should be [24px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (1) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (0.3) should be [13px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (1) should be [23px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (0) should be [30px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (0.6) should be [16px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (0.3) should be [8px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (1.5) should be [15px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (1.5) should be [33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (-0.3) should be [33px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (0.6) should be [24px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (0.6) should be [16px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (1) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (0) should be [3px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (0.6) should be [11px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (0) should be [3px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (0.6) should be [6px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (-2) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (0) should be [5px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (1.5) should be [20px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (0) should be [0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (1) should be [15px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Animations: property from [0px\] to [10px\] at (1) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (-0.3) should be [2px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (1) should be [23px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (-0.3) should be [2px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (0.6) should be [11px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (0.3) should be [8px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (-0.3) should be [7px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (-2) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [initial\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (-0.3) should be [0px\]] - expected: FAIL - - [CSS Transitions: property from [thick\] to [15px\] at (1.5) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (1.5) should be [25px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - - [CSS Transitions: property from [inherit\] to [20px\] at (0.3) should be [27px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (0.3) should be [9px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (0) should be [3px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (0) should be [30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (1.5) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (1) should be [23px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (0.6) should be [6px\]] - expected: FAIL - - [CSS Transitions: property from [0px\] to [10px\] at (0.3) should be [3px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [thick\] to [15px\] at (0) should be [5px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (1.5) should be [15px\]] - expected: FAIL - - [CSS Transitions: property from [unset\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [initial\] to [23px\] at (0.6) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (0.3) should be [3px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (-0.3) should be [33px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (1.5) should be [25px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [0px\] to [10px\] at (1) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from neutral to [20px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [inherit\] to [20px\] at (0.3) should be [27px\]] - expected: FAIL - - [CSS Transitions: property from neutral to [20px\] at (-0.3) should be [7px\]] - expected: FAIL - - [CSS Animations: property from neutral to [20px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property from [unset\] to [23px\] at (0) should be [3px\]] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/inheritance.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/inheritance.html.ini index 84bbe94da5c..2e0803f8a94 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/inheritance.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/inheritance.html.ini @@ -41,30 +41,12 @@ [Property nav-up does not inherit] expected: FAIL - [Property outline-color has initial value rgb(0, 255, 0)] - expected: FAIL - - [Property outline-color does not inherit] - expected: FAIL - [Property outline-offset has initial value 0px] expected: FAIL [Property outline-offset does not inherit] expected: FAIL - [Property outline-style has initial value none] - expected: FAIL - - [Property outline-style does not inherit] - expected: FAIL - - [Property outline-width has initial value 3px] - expected: FAIL - - [Property outline-width does not inherit] - expected: FAIL - [Property resize has initial value none] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-001.html.ini deleted file mode 100644 index 9c5c5fb50b0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-001.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-001.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-002.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-002.html.ini deleted file mode 100644 index a4399a9f36b..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-002.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-002.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-004.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-004.html.ini deleted file mode 100644 index b38042c3121..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-004.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-004.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-007.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-007.html.ini deleted file mode 100644 index f75855c24fd..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-007.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-007.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-008.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-008.html.ini deleted file mode 100644 index 88872760eac..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-008.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-008.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-016.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-016.html.ini deleted file mode 100644 index bd69df8dab3..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-016.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-016.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-017.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-017.html.ini index fdccfa5bc79..b9f50b7aec4 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-017.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/outline-017.html.ini @@ -1,9 +1,3 @@ [outline-017.html] [outline-offset is animated as a length] expected: FAIL - - [outline-color is animated as a color] - expected: FAIL - - [outline-width is animated as a length] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-018.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-018.html.ini deleted file mode 100644 index 9395b98afb2..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-018.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[outline-018.html] - [outline-style is animated as a discrete type] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-021.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-021.html.ini deleted file mode 100644 index 916e9df1f0a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-021.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-021.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-022.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-022.html.ini deleted file mode 100644 index 532d572a27d..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-022.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-022.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-color-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-color-001.html.ini deleted file mode 100644 index f169c537a84..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-color-001.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-color-001.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-offset.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-offset.html.ini new file mode 100644 index 00000000000..dec57f90b68 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-ui/outline-offset.html.ini @@ -0,0 +1,2 @@ +[outline-offset.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-011.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-011.html.ini deleted file mode 100644 index d03e3e56654..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-011.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-style-011.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-012.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-012.html.ini deleted file mode 100644 index 152b5a0e746..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-012.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-style-012.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-013.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-013.html.ini deleted file mode 100644 index 5b2c31352a5..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-013.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-style-013.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-014.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-014.html.ini deleted file mode 100644 index c0125686ec7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/outline-style-014.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outline-style-014.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/outline-with-padding-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/outline-with-padding-001.html.ini new file mode 100644 index 00000000000..b7d0985d37a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-ui/outline-with-padding-001.html.ini @@ -0,0 +1,2 @@ +[outline-with-padding-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-computed.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-computed.html.ini deleted file mode 100644 index 41f821aac7a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-computed.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[outline-color-computed.html] - [Property outline-color value 'currentColor'] - expected: FAIL - - [invert, if supported, computes to invert] - expected: FAIL - - [Property outline-color value 'red'] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-valid-mandatory.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-valid-mandatory.html.ini deleted file mode 100644 index aa74fb79ae0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-color-valid-mandatory.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[outline-color-valid-mandatory.html] - [e.style['outline-color'\] = "rgba(10, 20, 30, 0.4)" should set the property value] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-shorthand.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-shorthand.html.ini deleted file mode 100644 index 190b89983a9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-shorthand.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[outline-shorthand.html] - [e.style['outline'\] = "3px ridge blue" should not set unrelated longhands] - expected: FAIL - - [e.style['outline'\] = "3px ridge blue" should set outline-color] - expected: FAIL - - [e.style['outline'\] = "3px ridge blue" should set outline-width] - expected: FAIL - - [e.style['outline'\] = "3px ridge blue" should set outline-style] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-computed.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-computed.html.ini deleted file mode 100644 index 3c2b45143fc..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-computed.html.ini +++ /dev/null @@ -1,30 +0,0 @@ -[outline-style-computed.html] - [Property outline-style value 'solid'] - expected: FAIL - - [Property outline-style value 'inset'] - expected: FAIL - - [Property outline-style value 'double'] - expected: FAIL - - [Property outline-style value 'dashed'] - expected: FAIL - - [Property outline-style value 'none'] - expected: FAIL - - [Property outline-style value 'outset'] - expected: FAIL - - [Property outline-style value 'auto'] - expected: FAIL - - [Property outline-style value 'dotted'] - expected: FAIL - - [Property outline-style value 'groove'] - expected: FAIL - - [Property outline-style value 'ridge'] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-valid.html.ini deleted file mode 100644 index b58095ef50c..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-style-valid.html.ini +++ /dev/null @@ -1,30 +0,0 @@ -[outline-style-valid.html] - [e.style['outline-style'\] = "outset" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "double" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "none" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "solid" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "groove" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "dotted" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "dashed" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "inset" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "auto" should set the property value] - expected: FAIL - - [e.style['outline-style'\] = "ridge" should set the property value] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-valid-mandatory.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-valid-mandatory.html.ini index a90056d6d7f..4a92391b0cb 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-valid-mandatory.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-valid-mandatory.html.ini @@ -53,8 +53,5 @@ [e.style['outline'\] = "0" should set the property value] expected: FAIL - [e.style['outline'\] = "3px ridge rgba(10, 20, 30, 0.4)" should set the property value] - expected: FAIL - [e.style['outline'\] = "thin" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-computed.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-computed.html.ini index 65025cdb595..d1f9bf5cdc9 100644 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-computed.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-computed.html.ini @@ -1,27 +1,3 @@ [outline-width-computed.html] [Property outline-width value '2.5px'] expected: FAIL - - [Property outline-width value '10px'] - expected: FAIL - - [Property outline-width value '0.5em'] - expected: FAIL - - [Property outline-width value 'calc(10px + 0.5em)'] - expected: FAIL - - [Property outline-width value 'calc(10px - 0.5em)'] - expected: FAIL - - [Property outline-width value 'thin'] - expected: FAIL - - [Property outline-width value 'medium'] - expected: FAIL - - [Property outline-width value 'thick'] - expected: FAIL - - [outline-width is 0 when outline-style is none] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-valid.html.ini deleted file mode 100644 index fbead2164f1..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/parsing/outline-width-valid.html.ini +++ /dev/null @@ -1,21 +0,0 @@ -[outline-width-valid.html] - [e.style['outline-width'\] = "thick" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "medium" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "thin" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "calc(2em + 3ex)" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "2em" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "0" should set the property value] - expected: FAIL - - [e.style['outline-width'\] = "1px" should set the property value] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-ui/translucent-outline.html.ini b/tests/wpt/metadata-layout-2020/css/css-ui/translucent-outline.html.ini deleted file mode 100644 index 582689e06ac..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-ui/translucent-outline.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[translucent-outline.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom/cssom-setProperty-shorthand.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/cssom-setProperty-shorthand.html.ini index c99fa317752..976c59f51e9 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/cssom-setProperty-shorthand.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/cssom-setProperty-shorthand.html.ini @@ -1,10 +1,4 @@ [cssom-setProperty-shorthand.html] - [shorthand outline can be set with setProperty] - expected: FAIL - - [shorthand outline can be set with setProperty and priority !important] - expected: FAIL - [shorthand border-spacing can be set with setProperty] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom/getComputedStyle-resolved-colors.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/getComputedStyle-resolved-colors.html.ini index 8a813c68258..51ce953eb2a 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/getComputedStyle-resolved-colors.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/getComputedStyle-resolved-colors.html.ini @@ -4,6 +4,3 @@ [The resolved value for 'caret-color' is the used value] expected: FAIL - - [The resolved value for 'outline-color' is the used value] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini index d3a96233ba2..817f6cbe6e7 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini @@ -272,72 +272,6 @@ [list-style-type: upper-alpha] expected: FAIL - [outline-color: black] - expected: FAIL - - [outline-color: red] - expected: FAIL - - [outline-color: rgb(50, 75, 100)] - expected: FAIL - - [outline-color: rgba(5, 7, 10, 0.5)] - expected: FAIL - - [outline-color: inherit] - expected: FAIL - - [outline-style: none] - expected: FAIL - - [outline-style: dotted] - expected: FAIL - - [outline-style: dashed] - expected: FAIL - - [outline-style: solid] - expected: FAIL - - [outline-style: double] - expected: FAIL - - [outline-style: groove] - expected: FAIL - - [outline-style: ridge] - expected: FAIL - - [outline-style: inset] - expected: FAIL - - [outline-style: outset] - expected: FAIL - - [outline-style: inherit] - expected: FAIL - - [outline-width: thin] - expected: FAIL - - [outline-width: medium] - expected: FAIL - - [outline-width: thick] - expected: FAIL - - [outline-width: 0px] - expected: FAIL - - [outline-width: 1px] - expected: FAIL - - [outline-width: .1em] - expected: FAIL - - [outline-width: inherit] - expected: FAIL - [table-layout: auto] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom/shorthand-values.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/shorthand-values.html.ini index db1a53b3379..47d17e26962 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/shorthand-values.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/shorthand-values.html.ini @@ -35,8 +35,5 @@ [The serialization of border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; border-image: none; should be canonical.] expected: FAIL - [The serialization of outline-width: 2px; outline-style: dotted; outline-color: blue; should be canonical.] - expected: FAIL - [The serialization of list-style-type: lower-alpha; should be canonical.] expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/input_insertion_point_empty_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/input_insertion_point_empty_a.html.ini deleted file mode 100644 index f754d9e16f6..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/input_insertion_point_empty_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[input_insertion_point_empty_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/outlines_simple_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/outlines_simple_a.html.ini deleted file mode 100644 index 552be8af126..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/outlines_simple_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[outlines_simple_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/stacking_context_overflow_relative_outline_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/stacking_context_overflow_relative_outline_a.html.ini deleted file mode 100644 index 7ebbc56238e..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/stacking_context_overflow_relative_outline_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[stacking_context_overflow_relative_outline_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini b/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini index d50579846a4..c19ee6e326d 100644 --- a/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini +++ b/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini @@ -5,9 +5,6 @@ [calc for column-count] expected: FAIL - [calc for outline-width] - expected: FAIL - [calc for counter-increment] expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/mozilla/getPropertyPriority.html.ini b/tests/wpt/mozilla/meta-layout-2020/mozilla/getPropertyPriority.html.ini deleted file mode 100644 index 8dfeae92410..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/mozilla/getPropertyPriority.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[getPropertyPriority.html] - [getPropertyPriority] - expected: FAIL