W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

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

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Feb 2017 06:33:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-282216021-1487918031-sysbot+gh@w3.org>
> 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 

GitHub Notification of comment by bzbarsky
Please view or discuss this issue at 
 using your GitHub account
Received on Friday, 24 February 2017 06:33:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC