[Bug 19276] New: [Shadow]: Consider simplifying addStyleSheet parameters

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19276

           Summary: [Shadow]: Consider simplifying addStyleSheet
                    parameters
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: dglazkov@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: tross@microsoft.com
            Blocks: 14978


Both HTMLLinkElement and HTMLStyleElement are used here as the glorified
dictionaries, and that seems like abuse of their intended purpose.

We should do something simpler.

a) use actual dictionaries
b) use two calls, one to add a stylesheet by URL, one to add a stylesheet as
string.

-- 
Configure bugmail: https://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 Thursday, 4 October 2012 17:21:31 UTC