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

On Tue, Apr 30, 2013 at 11:32 AM, Zack Weinberg <zackw@panix.com> wrote:
> 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 divs,
>
> <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.

For this to *actually* work correctly, it needs special-case handling,
which has been discussed in the past with approval.

~TJ

Received on Wednesday, 1 May 2013 16:33:46 UTC