[Webkit-unassigned] [Bug 79551] New: <content> element should behave as HTMLUnknownElement outside of a shadow DOM subtree

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 19:04:01 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79551

           Summary: <content> element should behave as HTMLUnknownElement
                    outside of a shadow DOM subtree
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://dglazkov.github.com/Web-Components-Polyfill/new
                    s.html
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dglazkov at chromium.org
                CC: morrita at google.com
            Blocks: 76434


This is specified here: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#lower-boundary-encapsulation

The key is that if the element is inactive, it should act as any HTML element: be stylable and show its contents.

A good example of why this is good is http://dglazkov.github.com/Web-Components-Polyfill/news.html, which is a component definition (used here: http://dglazkov.github.com/Web-Components-Polyfill/).

I added a special debug.css, which helps understand the structure of the component. If <content> were visible, I could style it and put "CONTENTS GO HERE" label with a selector or something.

That's instant debugging for a component developer :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list