Revert #19666 since we do create NAC elements and expect them to be inline.

This reverts commit 1970e82b0d, reversing
changes made to e882660ea6.

The reparenting logic is still bogus, but I'll figure out how to deal with that
in a bit.
This commit is contained in:
Emilio Cobos Álvarez 2017-12-31 16:59:17 +01:00
parent 1970e82b0d
commit bab6077c1c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 49 additions and 29 deletions

View file

@ -460,6 +460,10 @@ impl<'le> TElement for ServoLayoutElement<'le> {
}
}
fn skip_root_and_item_based_display_fixup(&self) -> bool {
false
}
unsafe fn set_selector_flags(&self, flags: ElementSelectorFlags) {
self.element.insert_selector_flags(flags);
}