Re: [selectors] :sorted pseudoclass for HTML

On 12/27/2012 06:01 AM, Tab Atkins Jr. wrote:
> Hixie recently added the ability to declaratively sort tables to HTML. To support these on the CSS side, it would be
> convenient to define a :sorted pseudoclass, along with :sorted(ascending) and :sorted(descending), which apply to table cells
> in sorted columns. The relevant bug is at < https://www.w3.org/Bugs/Public/show_bug.cgi?id=20522>. We can just defer to the
> host language to define what elements are sorted at any given time.
>
> Anyone have any objections to us adding these to Selectors 4?

Yes. Why are we not just indexing off the [sorted] attribute itself?

~fantasai

Received on Thursday, 27 December 2012 18:41:21 UTC