W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css4-pseudo] The need for more powerful pseudo elements

From: Zack Weinberg <zackw@panix.com>
Date: Tue, 30 Apr 2013 14:32:24 -0400
Message-ID: <CAKCAbMgM3ri69r8M9fCgspeUfg+4X6iTaSzhK=UV+yv=aZds1A@mail.gmail.com>
To: www-style list <www-style@w3.org>
I'd like to throw a use case into this discussion.  The attached HTML demo
is the least-bad way I'm aware of to do a table with angled column
headers.  There are several pain points in here (transform: not affecting
the layout box, tables being Special) but the one that's relevant to this
conversation is: for the style to work correctly, you have to write vacuous

<td class="shift"><div>content</div></td>
<td class="skew"><div><div>content</div></div></td>

I don't really care *how* CSS enables me to get rid of those vacuous divs,
but I think it definitely *should* be possible to do the styling I want
without them.

Received on Tuesday, 30 April 2013 18:32:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC