[Bug 21959] New: [Shadow]: @host rules should be overridden by selectors in document

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

            Bug ID: 21959
           Summary: [Shadow]: @host rules should be overridden by
                    selectors in document
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: dfreedm@google.com
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14978

As it stands now, @host is more specific a selector than any other but the
style attribute on that element.
This makes it very difficult to style composed elements with @host rules, as
manipulation of the style element is required to do things such as collapse
adjacent borders or translate the element's position.

As a developer, I would rather use @host to be the "default" styling of an
element, like a custom user-agent style.

If there are stylings a developer would want to protect, then that developer
should put that styling in an element in the ShadowRoot.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 7 May 2013 22:17:18 UTC