p::first-line { color: green; float: left } p { float: none } span { float: inherit } <p><span>Text</span></p>
Selectors Level 3
<@bz> elif: is that the “kids” of the first-line only inherit default-inherited properties from it
<@bz> elif: and not default-reset ones
<@bz> elif: so in our impl we would need to have two different parents on the same style context
<@bz> elif: one for reset props, one for inherit
<@bz> elif: as a start. < elif> bz: p::first-line {direction: rtl}
< elif> have fun :)