[Webkit-unassigned] [Bug 64372] CSS attribute selector + descendant not styled correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 12 20:09:36 PDT 2011


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





--- Comment #1 from Dominic Cooney <dominicc at chromium.org>  2011-07-12 20:09:36 PST ---
Created an attachment (id=100613)
 --> (https://bugs.webkit.org/attachment.cgi?id=100613&action=review)
Patch with failing layout test

The jsfiddle as a layout test.

Expected result: lines are blue/green/green.

Safari Version 5.0.4 (6533.20.27) fails—lines are blue/blue/blue.
Chrome 14.0.803.0 (Official Build 90483) dev Mac OS WebKit 535.1 (trunk at 89703) fails—lines are blue/blue/green.
WebKit nightly r90810 fails—lines are blue/blue/green.
Firefox 5.0 passes.

It is interesting to note how sensitive this is to whitespace in the element with the attribute, as discussed on the StackOverflow bug. For example, if the first div[foo="green"] does not have child whitespace, then both div[foo="green"] render correctly (regardless of whitespace in the second one.)

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