mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Add parsing support for ::part().
Disabled for now of course. This should be pretty uncontroversial I'd think. Differential Revision: https://phabricator.services.mozilla.com/D28060
This commit is contained in:
parent
9f73576f6a
commit
a23ad3be50
10 changed files with 106 additions and 17 deletions
|
@ -2259,6 +2259,10 @@ impl<'le> ::selectors::Element for GeckoElement<'le> {
|
|||
case_sensitivity.eq_atom(element_id, id)
|
||||
}
|
||||
|
||||
fn is_part(&self, _name: &Atom) -> bool {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
|
||||
let attr = match self.get_class_attr() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue