From 3d3621b65265607eaa33f66c9636356a4dfe2ba2 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 16 Aug 2024 06:47:12 -0400 Subject: [PATCH] Update stylo for latest changes. (#33079) Signed-off-by: Josh Matthews --- Cargo.lock | 30 +- components/fonts/tests/font_context.rs | 16 +- components/layout/display_list/builder.rs | 2 +- components/layout_2020/display_list/mod.rs | 2 +- components/script/dom/element.rs | 6 +- .../image-set/image-set-computed.sub.html.ini | 108 -------- ...t-negative-resolution-rendering-3.html.ini | 2 - .../image-set/image-set-parsing.html.ini | 258 ------------------ ...-set-type-unsupported-rendering-2.html.ini | 2 - ...ge-set-type-unsupported-rendering.html.ini | 2 - ...e-set-zero-resolution-rendering-2.html.ini | 2 - ...age-set-zero-resolution-rendering.html.ini | 2 - .../css/css-ui/parsing/cursor-valid.html.ini | 6 - ...infinity-nan-serialize-resolution.html.ini | 87 ------ .../image-set/image-set-computed.sub.html.ini | 108 -------- ...t-negative-resolution-rendering-3.html.ini | 2 - .../image-set/image-set-parsing.html.ini | 258 ------------------ ...-set-type-unsupported-rendering-2.html.ini | 2 - ...ge-set-type-unsupported-rendering.html.ini | 2 - ...e-set-zero-resolution-rendering-2.html.ini | 2 - ...age-set-zero-resolution-rendering.html.ini | 2 - .../css/css-ui/parsing/cursor-valid.html.ini | 6 - ...infinity-nan-serialize-resolution.html.ini | 87 ------ 23 files changed, 28 insertions(+), 966 deletions(-) delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-computed.sub.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini delete mode 100644 tests/wpt/meta-legacy-layout/css/css-ui/parsing/cursor-valid.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-computed.sub.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini delete mode 100644 tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini delete mode 100644 tests/wpt/meta/css/css-ui/parsing/cursor-valid.html.ini diff --git a/Cargo.lock b/Cargo.lock index 7c78896aad1..07d9b2fcaca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1300,7 +1300,7 @@ dependencies = [ [[package]] name = "derive_common" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "darling", "proc-macro2", @@ -1468,7 +1468,7 @@ dependencies = [ [[package]] name = "dom" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "bitflags 2.6.0", ] @@ -4073,7 +4073,7 @@ dependencies = [ [[package]] name = "malloc_size_of" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "accountable-refcell", "app_units", @@ -5756,7 +5756,7 @@ checksum = "0495e4577c672de8254beb68d01a9b62d0e8a13c099edecdbedccce3223cd29f" [[package]] name = "selectors" version = "0.24.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "bitflags 2.6.0", "cssparser", @@ -6070,7 +6070,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.2.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "serde", "stable_deref_trait", @@ -6079,7 +6079,7 @@ dependencies = [ [[package]] name = "servo_atoms" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "string_cache", "string_cache_codegen", @@ -6277,7 +6277,7 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "size_of_test" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "static_assertions", ] @@ -6418,7 +6418,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_prefs" version = "0.1.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" [[package]] name = "strck" @@ -6471,7 +6471,7 @@ dependencies = [ [[package]] name = "style" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "app_units", "arrayvec", @@ -6530,7 +6530,7 @@ dependencies = [ [[package]] name = "style_config" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "lazy_static", ] @@ -6538,7 +6538,7 @@ dependencies = [ [[package]] name = "style_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "darling", "derive_common", @@ -6569,7 +6569,7 @@ dependencies = [ [[package]] name = "style_traits" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "app_units", "bitflags 2.6.0", @@ -6918,7 +6918,7 @@ dependencies = [ [[package]] name = "to_shmem" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "cssparser", "servo_arc", @@ -6931,7 +6931,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e7ea820c1aaee5a40f95552477c22b48b04c21b4" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#33c26645a906afbe35821ba567c7c92d96a3ba14" dependencies = [ "darling", "derive_common", @@ -7895,7 +7895,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/components/fonts/tests/font_context.rs b/components/fonts/tests/font_context.rs index eb1154e6e8f..91eddaeccc3 100644 --- a/components/fonts/tests/font_context.rs +++ b/components/fonts/tests/font_context.rs @@ -28,6 +28,7 @@ use style::values::computed::font::{ }; use style::values::computed::{FontLanguageOverride, XLang}; use style::values::generics::font::LineHeight; +use style::ArcSlice; use webrender_api::{FontInstanceFlags, FontInstanceKey, FontKey, IdNamespace}; #[derive(Clone)] @@ -152,19 +153,16 @@ fn style() -> FontStyleStruct { } fn font_family(names: Vec<&str>) -> FontFamily { - let names: Vec = names - .into_iter() - .map(|name| { - SingleFontFamily::FamilyName(FamilyName { - name: Atom::from(name), - syntax: FontFamilyNameSyntax::Quoted, - }) + let names = names.into_iter().map(|name| { + SingleFontFamily::FamilyName(FamilyName { + name: Atom::from(name), + syntax: FontFamilyNameSyntax::Quoted, }) - .collect(); + }); FontFamily { families: FontFamilyList { - list: names.into_boxed_slice(), + list: ArcSlice::from_iter(names), }, is_system_font: false, is_initial: false, diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs index 92c9d9807e5..e56409dc551 100644 --- a/components/layout/display_list/builder.rs +++ b/components/layout/display_list/builder.rs @@ -793,7 +793,7 @@ impl Fragment { } }, Image::CrossFade(..) | Image::ImageSet(..) => { - unreachable!("Shouldn't be parsed by Servo for now") + // TODO: Add support for ImageSet and CrossFade rendering. }, } } diff --git a/components/layout_2020/display_list/mod.rs b/components/layout_2020/display_list/mod.rs index 9e03761eed8..2e778cd76c6 100644 --- a/components/layout_2020/display_list/mod.rs +++ b/components/layout_2020/display_list/mod.rs @@ -840,7 +840,7 @@ impl<'a> BuilderForBoxFragment<'a> { // TODO: Add support for PaintWorklet rendering. }, Image::ImageSet(..) | Image::CrossFade(..) => { - unreachable!("Shouldn't be parsed on Servo for now") + // TODO: Add support for ImageSet and CrossFade rendering. }, } } diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index ab00d3e0131..c3c1d4edf08 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -57,7 +57,7 @@ use style::stylesheets::layer_rule::LayerOrder; use style::stylesheets::{CssRuleType, UrlExtraData}; use style::values::generics::NonNegative; use style::values::{computed, specified, AtomIdent, AtomString, CSSFloat}; -use style::{dom_apis, thread_state, CaseSensitivityExt}; +use style::{dom_apis, thread_state, ArcSlice, CaseSensitivityExt}; use style_dom::ElementState; use xml5ever::serialize as xmlSerialize; use xml5ever::serialize::TraversalScope::{ @@ -762,7 +762,9 @@ impl<'dom> LayoutElementHelpers<'dom> for LayoutDom<'dom, Element> { shared_lock, PropertyDeclaration::FontFamily(font_family::SpecifiedValue::Values( computed::font::FontFamilyList { - list: HTMLFontElement::parse_face_attribute(font_face).into_boxed_slice(), + list: ArcSlice::from_iter( + HTMLFontElement::parse_face_attribute(font_face).into_iter(), + ), }, )), )); diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-computed.sub.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-computed.sub.html.ini deleted file mode 100644 index d4686575262..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-computed.sub.html.ini +++ /dev/null @@ -1,108 +0,0 @@ -[image-set-computed.sub.html] - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") 1dppx)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 1dppx)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 48dpi)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 48dpi)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value 'image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)'] - expected: FAIL - - [Property background-image value 'image-set(linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x type('image/png'))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x type('image/png'))'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png'))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png'))'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png') 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png') 1x)'] - expected: FAIL - - [Property content value 'image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property content value '-webkit-image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(1x * 2))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(1x * 2))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))'] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini deleted file mode 100644 index 76678b94be2..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-negative-resolution-rendering-3.html] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-parsing.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-parsing.html.ini index d79057e5b32..37b9c60bc06 100644 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-parsing.html.ini +++ b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-parsing.html.ini @@ -32,258 +32,12 @@ [background-image: image-set(url('example.png') 1x) [ parsable \]] expected: FAIL - [e.style['background-image'\] = "image-set(url(example.png) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set('example.jpg' 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set('example.jpg' 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) type('image/png'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) type('image/png') 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png') 1x)" should set the property value] - expected: FAIL - [e.style['content'\] = "image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value] expected: FAIL [e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value] expected: FAIL - [e.style['content'\] = "image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo), url(bar) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo) 1x, url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo), url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(radial-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(radial-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(conic-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(conic-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1x type('image/jpeg'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x type('image/jpeg'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpcm)" should set the property value] - expected: FAIL - [e.style['background-image'\] = "image-set(url(\\"example.png\\") -1x)" should set the property value] expected: FAIL @@ -307,15 +61,3 @@ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -113dpcm)" should set the property value] expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini deleted file mode 100644 index b8a6abd059e..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-type-unsupported-rendering-2.html] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini deleted file mode 100644 index f2b544a7d84..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-type-unsupported-rendering.html] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini deleted file mode 100644 index 778000386d8..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-zero-resolution-rendering-2.html] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini b/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini deleted file mode 100644 index f2243377a7f..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-zero-resolution-rendering.html] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-ui/parsing/cursor-valid.html.ini b/tests/wpt/meta-legacy-layout/css/css-ui/parsing/cursor-valid.html.ini deleted file mode 100644 index 91d58955dbe..00000000000 --- a/tests/wpt/meta-legacy-layout/css/css-ui/parsing/cursor-valid.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[cursor-valid.html] - [e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x) 5 6, grab" should set the property value] - expected: FAIL - - [e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x, \\"https://example.com/highres\\" 2x) 5 6, grab" should set the property value] - expected: FAIL diff --git a/tests/wpt/meta-legacy-layout/css/css-values/calc-infinity-nan-serialize-resolution.html.ini b/tests/wpt/meta-legacy-layout/css/css-values/calc-infinity-nan-serialize-resolution.html.ini index 97b2bff07be..26ac406e846 100644 --- a/tests/wpt/meta-legacy-layout/css/css-values/calc-infinity-nan-serialize-resolution.html.ini +++ b/tests/wpt/meta-legacy-layout/css/css-values/calc-infinity-nan-serialize-resolution.html.ini @@ -1,90 +1,3 @@ [calc-infinity-nan-serialize-resolution.html] - ['image-set(url("") calc(1x * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1x * nan))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity / infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * 0 * infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (-infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity - infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * -infinity))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * iNFinIty))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (-infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * 1/infinity))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * -infinity * -infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * max(INFinity*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * min(inFInity*4dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * max(nAn*2dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * min(nan*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - ['image-set(url("") calc(1 * clamp(-INFINITY*0dppx, 0dppx, infiniTY*0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] expected: FAIL - - ['image-set(url("") calc(1dppx * max(NaN, min(0,10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(NaN, 0, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * max(0, min(10, NaN))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(0, 10, NaN)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * max(0, min(NaN, 10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(0, NaN, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(-Infinity, 0, infinity)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(-inFinity, infinity, 10)))' as a specified value should serialize as 'image-set(url("") calc(10dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * clamp(-INFINITY*20dppx, 0dppx, infiniTY*10dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-computed.sub.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-computed.sub.html.ini deleted file mode 100644 index d4686575262..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-computed.sub.html.ini +++ /dev/null @@ -1,108 +0,0 @@ -[image-set-computed.sub.html] - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") 1dppx)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 1dppx)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 48dpi)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 48dpi)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)'] - expected: FAIL - - [Property background-image value 'image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)'] - expected: FAIL - - [Property background-image value 'image-set(linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x type('image/png'))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x type('image/png'))'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png'))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png'))'] - expected: FAIL - - [Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png') 1x)'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png') 1x)'] - expected: FAIL - - [Property content value 'image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property content value '-webkit-image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] - expected: FAIL - - [Property background-image value 'image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(1x * 2))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(1x * 2))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))'] - expected: FAIL - - [Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))'] - expected: FAIL - - [Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))'] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini deleted file mode 100644 index 76678b94be2..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-negative-resolution-rendering-3.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-negative-resolution-rendering-3.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-parsing.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-parsing.html.ini index ac4e31e06c5..82e2394b4cf 100644 --- a/tests/wpt/meta/css/css-images/image-set/image-set-parsing.html.ini +++ b/tests/wpt/meta/css/css-images/image-set/image-set-parsing.html.ini @@ -1,264 +1,6 @@ [image-set-parsing.html] - [e.style['background-image'\] = "image-set(url(example.png) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set('example.jpg' 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set('example.jpg' 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) type('image/png'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) type('image/png') 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png') 1x)" should set the property value] - expected: FAIL - [e.style['content'\] = "image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value] expected: FAIL [e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value] expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo), url(bar) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo) 1x, url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo), url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dppx)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpi)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpcm)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(radial-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(radial-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(conic-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(conic-gradient(black, white) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value] - expected: FAIL - - [e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "image-set(url(example.png) 1x type('image/jpeg'))" should set the property value] - expected: FAIL - - [e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x type('image/jpeg'))" should set the property value] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini deleted file mode 100644 index b8a6abd059e..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-type-unsupported-rendering-2.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini deleted file mode 100644 index f2b544a7d84..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-type-unsupported-rendering.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-type-unsupported-rendering.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini deleted file mode 100644 index 778000386d8..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-zero-resolution-rendering-2.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini b/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini deleted file mode 100644 index f2243377a7f..00000000000 --- a/tests/wpt/meta/css/css-images/image-set/image-set-zero-resolution-rendering.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[image-set-zero-resolution-rendering.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-ui/parsing/cursor-valid.html.ini b/tests/wpt/meta/css/css-ui/parsing/cursor-valid.html.ini deleted file mode 100644 index 91d58955dbe..00000000000 --- a/tests/wpt/meta/css/css-ui/parsing/cursor-valid.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[cursor-valid.html] - [e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x) 5 6, grab" should set the property value] - expected: FAIL - - [e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x, \\"https://example.com/highres\\" 2x) 5 6, grab" should set the property value] - expected: FAIL diff --git a/tests/wpt/meta/css/css-values/calc-infinity-nan-serialize-resolution.html.ini b/tests/wpt/meta/css/css-values/calc-infinity-nan-serialize-resolution.html.ini index 97b2bff07be..26ac406e846 100644 --- a/tests/wpt/meta/css/css-values/calc-infinity-nan-serialize-resolution.html.ini +++ b/tests/wpt/meta/css/css-values/calc-infinity-nan-serialize-resolution.html.ini @@ -1,90 +1,3 @@ [calc-infinity-nan-serialize-resolution.html] - ['image-set(url("") calc(1x * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1x * nan))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity / infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * 0 * infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (-infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity - infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * -infinity))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * iNFinIty))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * (-infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * 1/infinity))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * infinity * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * -infinity * -infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * max(INFinity*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * min(inFInity*4dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * max(nAn*2dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * min(nan*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - ['image-set(url("") calc(1 * clamp(-INFINITY*0dppx, 0dppx, infiniTY*0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] expected: FAIL - - ['image-set(url("") calc(1dppx * max(NaN, min(0,10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(NaN, 0, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * max(0, min(10, NaN))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(0, 10, NaN)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * max(0, min(NaN, 10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(0, NaN, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(-Infinity, 0, infinity)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1dppx * clamp(-inFinity, infinity, 10)))' as a specified value should serialize as 'image-set(url("") calc(10dppx))'.] - expected: FAIL - - ['image-set(url("") calc(1 * clamp(-INFINITY*20dppx, 0dppx, infiniTY*10dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.] - expected: FAIL