[Webkit-unassigned] [Bug 79774] New: Uncorrect RenderStyle with the pseudo-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 03:36:45 PST 2012


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

           Summary: Uncorrect RenderStyle with the pseudo-element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsfiddle.net/6P3cY/1/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P5
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkitsendmes at mail.ru


The problem:
Uncorrect style display while using CSS selector attribute with the pseudo-element.
For instance, if the pseudo-elements have styles with some attributes, then only the first found style element will be applied to all the same selector elements on this page.
This issue is relevant to the webkit 535.7+ (Google Chrome 16-17, Safari 5.2 beta)
Example: http://jsfiddle.net/6P3cY/1/


The bug appears in a situation, where an adjacent sibling (+,~) selector or like :first-child haven't been applied.

Temporary fix:
Add any adjacent sibling selector for the element with any style.

Example:
something+a{}
or
something +a{font-size:normal;}

Example with css fix:
http://jsfiddle.net/SyAJG/

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