Bug 12519

Summary: Attribute selectors don't work dynamically
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: arv, asutherland, dglazkov, dominicc, emacemac7, estade, hyatt, kai, komoroske, noel.gordon, ojan, simon.fraser, tony, webkit, xiyuan
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 46590    
Attachments:
Description Flags
Test case none

Description Maciej Stachowiak 2007-01-31 19:34:15 PST
<GMT24-Jul-2003 22:38:31GMT> Dave Hyatt:
Attribute selectors don't work dynamically.

e.g., you can't use orient in XML to map to -khtml-box-orient for example.

<rdar://problem/3342831>
Comment 1 Robert Blaut 2008-02-21 22:46:51 PST
Is it still VALID bug according the last Acid3 oriented fixes? Test case for this bug would be welcome :)
Comment 2 Kai BrĂ¼ning 2009-04-07 03:18:42 PDT
This is still the case for xml DOMs with r42261, see bug 25072 for details and a test case.
Comment 3 Erik Arvidsson 2009-11-06 18:06:46 PST
Created attachment 42680 [details]
Test case

Sets an attribute using JS which should cause style recalc.
Comment 4 Simon Fraser (smfr) 2010-05-16 09:58:33 PDT
Bug 25072 fixed a related problem, but apparently not this one.
Comment 5 Erik Arvidsson 2010-11-29 14:12:52 PST
*** Bug 50176 has been marked as a duplicate of this bug. ***
Comment 6 Tony Chang 2011-02-22 09:26:15 PST
*** Bug 54521 has been marked as a duplicate of this bug. ***
Comment 7 noel gordon 2011-06-04 00:32:11 PDT
Test case passes on a nightly for me, can others confirm?  Fixed by bug 60752 I believe.
Comment 8 Dominic Cooney 2011-06-05 23:15:40 PDT
Test case works for me on Mac nightly r88132; marking this as a dup.

*** This bug has been marked as a duplicate of bug 60752 ***