mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Update shadow dom preference.
This commit is contained in:
parent
7de87c487b
commit
2e532b8e00
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
|
||||||
// NOTE(emilio): Slot assignment and such works per-document, but
|
// NOTE(emilio): Slot assignment and such works per-document, but
|
||||||
// getting a document around here is not trivial, and it's not worth
|
// getting a document around here is not trivial, and it's not worth
|
||||||
// anyway to handle this in a per-doc basis.
|
// anyway to handle this in a per-doc basis.
|
||||||
unsafe { structs::nsContentUtils_sIsWebComponentsEnabled }
|
unsafe { structs::nsContentUtils_sIsShadowDOMEnabled }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn pseudo_element_allows_single_colon(name: &str) -> bool {
|
fn pseudo_element_allows_single_colon(name: &str) -> bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue