[Webkit-unassigned] [Bug 94905] New: ShadowHost should be reattached during recalcStyle.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 23 23:19:16 PDT 2012


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

           Summary: ShadowHost should be reattached during recalcStyle.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tasak at google.com


Created an attachment (id=160338)
 --> (https://bugs.webkit.org/attachment.cgi?id=160338&action=review)
repro

When new shadow roots are added to the shadow host or content distribution is changed, the shadow host is reattached (detached and lazyAttached).
However, the detach clear the shadow host's style (the style is set to be null). The detach is invoked not during recalcStyle.

So suppose that adding a shadow root and applying css transition to the shadow host in the same time.
Since the shadow host's style is reset, no css transition can be started. This looks not good.

 So it might be better to set some flag here and to recreate a renderer during in Element::recalcStyle (i.e. during recalcStyle).

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