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

[html5] Scoped style sheets

From: Bert Bos <bert@w3.org>
Date: Mon, 8 Aug 2011 21:01:20 +0200
To: public-html-comments@w3.org
Message-Id: <201108082101.21251.bert@w3.org>
A personal comment on http://www.w3.org/TR/2011/WD-
html5-20110525/semantics.html#the-style-element

Scoped style sheets are complex, difficult to maintain for authors, and 
not needed. Especially with the new SEAMLESS attribute, there is no need 
to combine separate documents in a single file: they can be transcluded 
instead. That keeps each of them simple, easy to maintain, easy to re-
use, and easy to parse: one head element with metadata (including 
style), one body element, and every document its own URL.

If it is necessary, e.g., for transport reasons, to combine several 
resources in one file, it is better to use a generic solution, one that 
works not only for HTML documents, but for any documents. That could be, 
e.g., a zip or tar file or a multipart MIME file.



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 19:01:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 August 2011 19:01:47 GMT