mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Bug 1331047: Implement the new traversal semantics for stylo. r=bholley,hiro
MozReview-Commit-ID: 4BXx9JpGZKX Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
85ad961104
commit
be0139ff3c
11 changed files with 548 additions and 363 deletions
|
@ -461,16 +461,16 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
self.element.has_selector_flags(flags)
|
||||
}
|
||||
|
||||
fn has_animations(&self, _pseudo: Option<&PseudoElement>) -> bool {
|
||||
panic!("this should be only called on gecko");
|
||||
fn has_animations(&self) -> bool {
|
||||
unreachable!("this should be only called on gecko");
|
||||
}
|
||||
|
||||
fn has_css_animations(&self, _pseudo: Option<&PseudoElement>) -> bool {
|
||||
panic!("this should be only called on gecko");
|
||||
fn has_css_animations(&self) -> bool {
|
||||
unreachable!("this should be only called on gecko");
|
||||
}
|
||||
|
||||
fn has_css_transitions(&self, _pseudo: Option<&PseudoElement>) -> bool {
|
||||
panic!("this should be only called on gecko");
|
||||
fn has_css_transitions(&self) -> bool {
|
||||
unreachable!("this should be only called on gecko");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue