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

Makes multiple `<br>` elements work, since those are implemented via
`before` pseudos.

r? @mbrubeck