[Webkit-unassigned] [Bug 87349] New: possible regression: r96517 affecting CSS selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 00:04:32 PDT 2012


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

           Summary: possible regression: r96517 affecting CSS selectors
           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: mikelawther at chromium.org
                CC: sam at webkit.org, koivisto at iki.fi


As reported in at http://crbug.com/127655

Attached is a not-quite-minimal repro of a selector not working ('#container > div[style] img[border="0"]'). I've bisected it down to between 96490 and 96521, and 96517 seems most likely within that range. 

The original reporter also notes that in his live site (http://winfuture.de):

 - open console
 - type document.querySelector('#container > div[style] img[border="0"]') -> you get NULL
 - type document.querySelector('img[border="0"]') -> you get the first element
 - type document.querySelector('#container > div[style] img[border="0"]') -> you get the first element

It looks like the second line does something to a cache somewhere so the querySelector works the second time.

I tried to repro this with a simple static page, but could not. It appears important that the elements are added dynamically.

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