layout: Mark the styles of elements with pseudos as unshareable.

Makes multiple `<br>` elements work, since those are implemented via
`before` pseudos.
This commit is contained in:
Patrick Walton 2014-10-04 19:10:32 -07:00
parent eff0de0ce1
commit a0b369ae7d
6 changed files with 29 additions and 7 deletions

View file

@ -633,7 +633,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
}
}
pub fn get_pseudo_element_type(&self) -> PseudoElementType {
pub fn get_pseudo_element_type(&self) -> PseudoElementType {
self.pseudo
}