mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update stylo for latest changes. (#33079)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
ce5ebbcf77
commit
3d3621b652
23 changed files with 28 additions and 966 deletions
30
Cargo.lock
generated
30
Cargo.lock
generated
|
@ -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]]
|
||||
|
|
|
@ -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<SingleFontFamily> = 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,
|
||||
|
|
|
@ -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.
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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(),
|
||||
),
|
||||
},
|
||||
)),
|
||||
));
|
||||
|
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-negative-resolution-rendering-3.html]
|
||||
expected: FAIL
|
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-type-unsupported-rendering-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-type-unsupported-rendering.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-zero-resolution-rendering-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-zero-resolution-rendering.html]
|
||||
expected: FAIL
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-negative-resolution-rendering-3.html]
|
||||
expected: FAIL
|
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-type-unsupported-rendering-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-type-unsupported-rendering.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-zero-resolution-rendering-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[image-set-zero-resolution-rendering.html]
|
||||
expected: FAIL
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue