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

Re: [selectors] :sorted pseudoclass for sorted tables

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 2 Dec 2013 13:21:54 -0800
Message-ID: <CAAWBYDCVj_fdx1YJDa_r0DhTvG9kyeWhQ0N2RQpJv0TscusRhQ@mail.gmail.com>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: Peter Linss <peter.linss@hp.com>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
On Sat, Nov 30, 2013 at 11:44 PM, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> On 01/12/13 06:33, Peter Linss wrote:
>> The number isn’t for numeric vs alphabetic sorting, it’s the ordinality of the sort key, as in, sort by this column first, then this second. When multiple sort keys are being used, it’ll likely be useful to style them so that the ordinality is visible.
>
> That integer could be extended to ranges:
>    1
>    -3
>    4-8
>    9-

That's just an an+b term.  (And we can mix an+b with other grammars now, yay!)

> I think we also miss a 'none' keyword here. The html model lacks it in
> the case of a non-sortable column of a sortable table, for instance an
> index of rows that you want to keep sequential even when the table is
> sorted.

Interesting.

~TJ
Received on Monday, 2 December 2013 21:22:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC