* Don't lowercase element names and attribute names in selectors https://www.w3.org/TR/css3-selectors/#casesens > All Selectors syntax is case-insensitive within the ASCII range (i.e. > [a-z] and [A-Z] are equivalent), except for parts that are not under the > control of Selectors. The case sensitivity of document language element > names, attribute names, and attribute values in selectors depends on the > document language. For example, in HTML, element names are > case-insensitive, but in XML, they are case-sensitive. Fixes #3304. * Fix number normalization in selector interpolation
57 lines
637 B
Plaintext
57 lines
637 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`combinator.css 1`] = `
|
|
-Option/root .public/section ~ .public/section:before {
|
|
}
|
|
|
|
.x .y {}
|
|
.x > .y {}
|
|
.x ~ .y {}
|
|
.x + .y {}
|
|
.x.y {}
|
|
.x .y {}
|
|
.x
|
|
.y {}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
-Option/root .public/section ~ .public/section:before {
|
|
}
|
|
|
|
.x .y {
|
|
}
|
|
.x > .y {
|
|
}
|
|
.x ~ .y {
|
|
}
|
|
.x + .y {
|
|
}
|
|
.x.y {
|
|
}
|
|
.x .y {
|
|
}
|
|
.x .y {
|
|
}
|
|
|
|
`;
|
|
|
|
exports[`leading.css 1`] = `
|
|
a {
|
|
> * {
|
|
}
|
|
&, > * {
|
|
}
|
|
+ * {
|
|
}
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
a {
|
|
> * {
|
|
}
|
|
&,
|
|
> * {
|
|
}
|
|
+ * {
|
|
}
|
|
}
|
|
|
|
`;
|