mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Turns out, we never actual hash selectors
This commit is contained in:
parent
fd357f08cf
commit
984d696717
3 changed files with 22 additions and 24 deletions
|
@ -29,7 +29,7 @@ macro_rules! pseudo_class_name {
|
|||
(bare: [$(($css:expr, $name:ident, $gecko_type:tt, $state:tt, $flags:tt),)*],
|
||||
string: [$(($s_css:expr, $s_name:ident, $s_gecko_type:tt, $s_state:tt, $s_flags:tt),)*]) => {
|
||||
#[doc = "Our representation of a non tree-structural pseudo-class."]
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub enum NonTSPseudoClass {
|
||||
$(
|
||||
#[doc = $css]
|
||||
|
@ -185,7 +185,7 @@ impl NonTSPseudoClass {
|
|||
}
|
||||
|
||||
/// The dummy struct we use to implement our selector parsing.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct SelectorImpl;
|
||||
|
||||
/// Some subset of pseudo-elements in Gecko are sensitive to some state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue