[Bug 22826] New: [Shadow]: Clarify how getComputedStyle with unprojected elements works

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

            Bug ID: 22826
           Summary: [Shadow]: Clarify how getComputedStyle with
                    unprojected elements works
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: tasak@google.com
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14978

Originates from http://crbug.com/260502

If you have something like:

div
  #shadow-root
    <content>
  div#testCase

then remove the content element:

div
  #shadow-root
  div#testCase

then getComputedStyle(testCase) is empty - i.e. no styles are computed, even
though the element is in the tree and should inherit.

On the other hand, if the content element is never inserted, styles are
computed for testCase.

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

Received on Monday, 29 July 2013 02:00:30 UTC