[html5] Scoped style sheets

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 UTC