[Webkit-unassigned] [Bug 56907] New: Incorrect rendering of the CSS adjacent selectors in Webkit/534.16 (Chrome 10)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 23 01:44:08 PDT 2011


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

           Summary: Incorrect rendering of the CSS adjacent selectors in
                    Webkit/534.16 (Chrome 10)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: selenit at mail.by


Created an attachment (id=86588)
 --> (https://bugs.webkit.org/attachment.cgi?id=86588&action=review)
simple demo, based on code example from http://htmlbook.ru/samcss/sosednie-selektory

In Webkit/534.16 (Chrome 10, Chromium) the adjacent CSS selectors are rendered in an unexpected way: the corresponding style applies not only to the matching element, but also to all elements of the same tag name and class name till the end of the document. However, the document inspector from Developer Tools reports that these elements have correct style, so the bug is only visual.

In the attached example (based on the code example from http://htmlbook.ru/samcss/sosednie-selektory in which the bug was first noticed) only the I element in the second P is expected to be red because only this paragraph contains I element preceded by B element (which should match the "B + I" CSS selector). But in fact the I element in the third paragrpaph is red, too (although there is no B element in that paragraph at all).

Webkit/533.20.25 (Safari 5 for Windows) renders this example correctly.

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