mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Allow style sharing for elements with ids as long as the ID is not being used for styling.
This commit is contained in:
parent
d031b5badb
commit
ad1309552d
5 changed files with 93 additions and 8 deletions
|
@ -37,7 +37,7 @@ pub trait SelectorVisitor {
|
|||
/// Visits a complex selector.
|
||||
///
|
||||
/// Gets the combinator to the right of the selector, or `None` if the
|
||||
/// selector is the leftmost one.
|
||||
/// selector is the rightmost one.
|
||||
fn visit_complex_selector(&mut self,
|
||||
_: SelectorIter<Self::Impl>,
|
||||
_combinator_to_right: Option<Combinator>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue