[Bug 16556] New: [Shadow]: What style is expected if a shadow root is added to replaced elements?

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

           Summary: [Shadow]: What style is expected if a shadow root is
                    added to replaced elements?
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: shinyak@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
            Blocks: 14978


Please let me confirm the expected behavior...

Let's consider the following img elements.

<img id="e1" src="foo.jpg" width="300">
<img id="e2" src="foo.jpg" style="width: 300px">

And add the following shadow root to them.

#shadow-root
    <div style="padding: 10px">
        <shadow></shadow>
    </div>


What is the expected layout? 
(1) #e1 has 320px width, and #e2 has 320px as well.
(2) #e1 has 300px width, and #e2 has 300px as well.
(3) #e1 has 320px width, but #e2 has 300px width.

-- 
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 Wednesday, 28 March 2012 07:40:38 UTC