mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Update test in selectors to match types for Gecko.
This commit is contained in:
parent
a307653581
commit
441487cec2
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ pub enum PseudoClass {
|
|||
pub enum PseudoElement {
|
||||
A,
|
||||
B,
|
||||
Tree(Box<[String]>),
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, Default)]
|
||||
|
|
|
@ -12,7 +12,7 @@ use std::fmt;
|
|||
use visitor::SelectorVisitor;
|
||||
|
||||
size_of_test!(size_of_selector, Selector<Impl>, 8);
|
||||
size_of_test!(size_of_pseudo_element, gecko_like_types::PseudoElement, 1);
|
||||
size_of_test!(size_of_pseudo_element, gecko_like_types::PseudoElement, 24);
|
||||
|
||||
size_of_test!(size_of_component, Component<Impl>, 32);
|
||||
size_of_test!(size_of_pseudo_class, PseudoClass, 24);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue