[Webkit-unassigned] [Bug 53819] New: CSS declarations in a rule with next sibling selector affects other elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 4 15:16:28 PST 2011


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

           Summary: CSS declarations in a rule with next sibling selector
                    affects other elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://software.hixie.ch/utilities/js/live-dom-viewer/
                    saved/826
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zcorpan at gmail.com


Chrome Version       : 10.0.648.18 (Official Build 73584) dev
URLs (if applicable) : http://software.hixie.ch/utilities/js/live-dom-viewer/saved/826
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5: PASS
  Firefox 3.x: dunno, but Firefox 4 (trunk) is PASS
       IE 7/8: dunno
(Opera 11 is PASS, and reportedly Chrome 9 is also PASS)

What steps will reproduce the problem?
1. Use a sibling selector like .a + p { clear:left }
2. Use markup like <div class=a></div><p></p><div class=b>foo</div><p>bar</p>
3.

What is the expected result?
The "bar" paragraph should not get the 'clear:left' style applied.

What happens instead?
The "bar" paragraph gets the 'clear:left' style applied. Devtools shows 'clear:left' among the inherited styles for the element.

Please provide any additional information below. Attach a screenshot if
possible.

chromium bug at http://code.google.com/p/chromium/issues/detail?id=72005

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