Implement support for ::before
and ::after
pseudo elements
#140
Labels
enhancement
New feature or request
::before
and ::after
pseudo elements
#140
::before
and::after
are quite widely used. And current such content is just missing when rendered with Blitz. Use cases that I'm aware of are:Some notes:
::before
and::after
behave as elements inside the node they are targeting, as the first and last children.Option<NodeId>
where the node is of typeAnonymousBlock
(which we might want to rename toPsuedoElement
/ we might also want to merge withElement
).layout_children
of the parent node if possible.::before
or::after
style, but this problem also applies to anonymous blocks so this could be ignored for now (and dealt with along with the other memory leaks).The text was updated successfully, but these errors were encountered: