W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

[Bug 14153] This defeats the entire purpose of separating style and content. Style scoping works quite well using the CSS cascade

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 Sep 2011 00:45:17 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R4MYP-0003DS-RJ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14153

--- Comment #1 from John Foliot <jfoliot@stanford.edu> 2011-09-16 00:45:16 UTC ---
Likely duplication at Bug 14154 

Problem:
Styling should be reserved for CSS, and not embedded into the HTML layer with
the <style> element. 

Summary:
John Allsopp has written a good post at
http://www.webdirections.org/blog/on-the-abominable-proposed-html5-scoped-attribute-for-style-elements/
which details the problems.

Proposed Solution:
Remove the style element from the HTML specification. As Eric Meyer notes in a
response to John's article:
     "...Of course, Id prefer to do the same thing in the style attribute, as
in style="@import url(blah.css);"  and I pushed to get that capability added
to CSS, which it eventually was in the style attribute module" - which suggests
that the problem the style element was trying to solve has been solved via CSS
already.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 16 September 2011 00:45:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:03 UTC