[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

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