mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Classes/IDs case-sensitivity: get quirks mode from matching context.
This commit is contained in:
parent
5bccf98aa4
commit
c5c1c1b350
7 changed files with 16 additions and 55 deletions
|
@ -63,11 +63,6 @@ pub trait Element: Sized + Debug {
|
|||
/// Whether this element is a `link`.
|
||||
fn is_link(&self) -> bool;
|
||||
|
||||
/// Whether this element is in a document that is in quirks mode.
|
||||
///
|
||||
/// https://dom.spec.whatwg.org/#concept-document-quirks
|
||||
fn in_quirks_mode_document(&self) -> bool;
|
||||
|
||||
fn has_id(&self,
|
||||
id: &<Self::Impl as SelectorImpl>::Identifier,
|
||||
case_sensitivity: CaseSensitivity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue