mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Remove some XBL code in the style system.
Differential Revision: https://phabricator.services.mozilla.com/D50554
This commit is contained in:
parent
854c480177
commit
5f30ecc9b1
6 changed files with 3 additions and 125 deletions
|
@ -189,15 +189,6 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
/// Override the quirks mode we're matching against.
|
||||
///
|
||||
/// FIXME(emilio): This is a hack for XBL quirks-mode mismatches.
|
||||
#[inline]
|
||||
pub fn set_quirks_mode(&mut self, quirks_mode: QuirksMode) {
|
||||
self.quirks_mode = quirks_mode;
|
||||
self.classes_and_ids_case_sensitivity = quirks_mode.classes_and_ids_case_sensitivity();
|
||||
}
|
||||
|
||||
/// Whether we're matching a nested selector.
|
||||
#[inline]
|
||||
pub fn is_nested(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue