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

[Bug 12251] New: The idea of limited-scope style elements is useful, but it causes compability issues. Current browsers ignore the scope attribute and apply the style to the entire document. It is probably better (safe) to ignore a style sheet that is meant to be scoped t

From: <bugzilla@jessica.w3.org>
Date: Sat, 05 Mar 2011 20:51:54 +0000
To: public-html@w3.org
Message-ID: <bug-12251-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12251

           Summary: The idea of limited-scope style elements is useful,
                    but it causes compability issues. Current browsers
                    ignore the scope attribute and apply the style to the
                    entire document. It is probably better (safe) to
                    ignore a style sheet that is meant to be scoped t
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#the
                    -style-element
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-style-element

Comment:
The idea of limited-scope style elements is useful, but it causes compability
issues. Current browsers ignore the scope attribute and apply the style to the
entire document. It is probably better (safe) to ignore a style sheet that is
meant to be scoped than to apply it globally. I propose that the scoped
attribute be removed and a new MIME type, say text/css-scoped, be defined. A
scoped style element would then be written as a normal style element, just
with a type attribute mentioning the new MIME type.

Posted from: 88.114.29.18
User agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fi; rv:1.9.2.14)
Gecko/20110218 Firefox/3.6.14 ( .NET CLR 3.5.30729)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Saturday, 5 March 2011 20:51:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:23 UTC