W3C home > Mailing lists > Public > public-html@w3.org > May 2016

ol, type attribute and CSS

From: Chaals McCathie Nevile <chaals@yandex-team.ru>
Date: Wed, 25 May 2016 11:30:05 +0100
To: "HTML WG (public-html@w3.org)" <public-html@w3.org>
Message-ID: <op.yh0h0fbks7agh9@widsith.local>
Hi,

This is about issue https://github.com/w3c/html/issues/341 - please  
comment there, including giving a thumbs-up/down to proposals.

The type attribute allows for a few basic ordering markers, heavily skewed  
to western contexts. CSS allows for a far wider range. A simple style  
sheet like that used for the q element allows browsers to use appropriate  
defaults in far more situations, as well as a wider range of customisation  
options.

As noted in the issue, there are use cases for sticking with type -  
primarily that you can easily refer to an item knowing what is likely be  
rendered. This can be done with CSS, but it is harder.

The initial proposal in the issue is to make type obsolete and defer to  
CSS, an alternative is to suggest that in general authors should use CSS  
instead…

cheers

Chaals

-- 
Charles McCathie Nevile - web standards - CTO Office, Yandex
  chaals@yandex-team.ru - - - Find more at http://yandex.com
Received on Wednesday, 25 May 2016 09:30:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 25 May 2016 09:30:42 UTC