W3C home > Mailing lists > Public > public-html-comments@w3.org > August 2011

[html5] Alternative style sheet handling undefined

From: Bert Bos <bert@w3.org>
Date: Mon, 8 Aug 2011 20:58:35 +0200
To: public-html-comments@w3.org
Message-Id: <201108082058.36152.bert@w3.org>
A personal comment on http://www.w3.org/TR/2011/WD-
html5-20110525/links.html#link-type-stylesheet

HTML5 says that alternative style sheets are defined in CSSOM.

There are two issues here. One is a question of timing: there is 
actually no version of CSSOM yet, not even a WD, that defines 
alternative style sheets. The other is a question of spec organization: 
why in CSSOM? It has nothing to do with the DOM and is independent of 
CSS. And why should an implementer need to learn to read the special 
language of the CSSOM spec just to implement alternative style sheets?

(The latest CSSOM draft, http://www.w3.org/TR/2011/WD-cssom-20110712/ , 
does define the terms "persistent style sheet" and "preferred style 
sheet," but only for CSS style sheets and only with respect to the DOM. 
It doesn't say how such style sheets influence the rendering; a note 
under the "disabled" flag suggests that that is defined elsewhere.)



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Monday, 8 August 2011 18:59:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 August 2011 18:59:08 GMT