It looks like in servo we're basically trying to have styles live on elements, with no concept of a "style" attached to layout boxes or flows at all. Anyone who needs styles has to talk to the element.

This works pretty well (and makes things like style recomputation much simpler) except when things like first-line and first-letter and whatever new fragmentation stuff is being proposed get involved. At that point, we need to get styles from various pseudo-elements, ideally in a principled way.

David, am I correct that fragmentation introduces new instances of the style inheritance patterns of first-line?

-Boris
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to