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

Re: [selectors] :sorted pseudoclass for HTML

From: Andrew Cunningham <lang.support@gmail.com>
Date: Fri, 28 Dec 2012 15:01:28 +1100
Message-ID: <CAGJ7U-X-rRdK1-z8RtALFsZGU8D_a1Fh_Z-_yj6VcsfbWe2-tQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
My question would be "is it necessary"?

Hixie's approach isn't extensible, and at first glance has major short
comings.

In a truly multilingual environment, it would appear better to do the
sorting on the server side rather than the client side.

OK most developers work in multlingual environments, so would work for a
small subsets of languages, but beyond that ...


On 28 December 2012 01:01, Tab Atkins Jr. <jackalmage@gmail.com> 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?
>
> ~TJ
>



-- 
Andrew Cunningham
Project Manager, Research and Development
Social and Digital Inclusion Unit
Public Libraries and Community Engagement
State Library of Victoria
328 Swanston Street
Melbourne VIC 3000
Australia

Ph: +61-3-8664-7430
Mobile: 0459 806 589
Email: acunningham@slv.vic.gov.au
          lang.support@gmail.com

http://www.openroad.net.au/
http://www.mylanguage.gov.au/
http://www.slv.vic.gov.au/
Received on Friday, 28 December 2012 04:01:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT