Re: [csswg-drafts] [css-tables] Spec should probably be clearer about how, and whether, inheritance happens for table anonymous boxes

> CSS Cascade mentions that pseudo-elements inherit their style based 
on the fictional markup representation

Yes, but various anon boxes are not pseudo-elements.  (And note that 
pseudo-elements may have style but no box, even; they're just a 
totally distinct concept.)

> or from the generated content.

There is no "generated content" here.  In any case, this part is 
well-specified: inheritance happens on the element tree, and anon 
boxes do not contribute to that tree in any way.  So they don't affect
 inheritance of elements.

I think we all agree on the behavior.  And that it's not observable 
whether you inherit from your "parent" or the nearest "ancestor 
element".  But the spec doesn't even have a concept of _style_ for 
these boxes at the moment!

(Note that I think ruby has all the same issues, for the same 
reasons.)



-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1059#issuecomment-282216021
 using your GitHub account

Received on Friday, 24 February 2017 06:33:58 UTC