[Webkit-unassigned] [Bug 113275] New: [shadow] styleForText should consider the case where parent node has no style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 22:20:38 PDT 2013


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

           Summary: [shadow] styleForText should consider the case where
                    parent node has no style
           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: 59827


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

If some text node is distributed to an insertion point but the parent of the insertion point
is out of composition, the text node's parent for rendering and styling might has no style.

For example, firstly create the following DOM tree:

   div1 --- shadow1 ---- shadow2
               |            |
               +---text     +---div2 ---- shadow3
                            |
                            |
                            |
                            |
                            |
                            +---shadow

Now insert [div3 -- shadow] under div2:


   div1 --- shadow1 ---- shadow2
               |            |
               +---text     +---div2 ---- shadow3
                            |     |
                            |     +-----div3
                            |             |
                            |             +----shadow
                            |
                            +---shadow

c.f. https://cluster-fuzz.appspot.com/testcase?key=163551153

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