[Webkit-unassigned] [Bug 102919] New: [Shadow DOM]: custom pseudo in styles in shadow dom trees

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 21 03:32:33 PST 2012


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

           Summary: [Shadow DOM]: custom pseudo in styles in shadow dom
                    trees
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tasak at google.com
            Blocks: 97282


Since a treescope where the style is registered is different from a treescope where the style is applied to.

 <#shadow-root1>
           |
           +---<style id=A> progress::-webkit-progress-value...
           |
           +---<progress> ----<#shadow-root2>
                                                     |
                                                     +---<div id=-webkit-progress-bar>
                                                                 |
                                                                +---<div id=-webkit-progress-value>

The current implementation:
- <style id=A> is registered with <#shadow-root1>.
- when resolving <div id=-webkit-progress-value>'s style, <style id=A> is in the different treescope from <#shadow-root2>. So no style will applied to the div.
- however, the rule, i.e. progress::-webkit-progress-value..., should be applied.

-- 
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