Summary: | SVG <use> CSS styles broken | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | jay <jay> | ||||||||
Component: | SVG | Assignee: | Nikolas Zimmermann <zimmermann> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | darin, zimmermann | ||||||||
Priority: | P2 | Keywords: | HasReduction | ||||||||
Version: | 420+ | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
URL: | http://www.peepo.co.uk | ||||||||||
Attachments: |
|
Description
jay
2007-02-21 02:08:23 PST
Created attachment 13291 [details]
script test case
*** This bug has been marked as a duplicate of 12936 *** Created attachment 13607 [details]
CSS broken for <use>
mouse over the two icons in attachment 'CSS broken' in both cases the text appears, however in the <use> case styles don't change. in particular visibility of classes rt and st for #gamesBorder and #sound don't change. this is general to css styles and not particular to visibility. compare with circles whose styles do change. check with mozilla or opera nightly to see appropriate activity. Created attachment 13681 [details]
Initial patch
One-liner fixing all current CSS & <use> problems.
Forgot to pass down the StyleChange parameter to the shadow tree root element, when calling recalcStyle.
Added new test case based on css-events-webkit.svg. Thanks for the nice testcase!
Comment on attachment 13681 [details]
Initial patch
r=me!
#7 slightly embarrased, sheepish grin. I like to provide tight test cases and this one isn't that... apologies, |