Re: [selectors] :sorted pseudoclass for sorted tables

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