Confirmed users, Bureaucrats and Sysops emeriti
969
edits
No edit summary |
No edit summary |
||
| Line 34: | Line 34: | ||
# SVG elements whose style we need (e.g. gradients) continue to need frames | # SVG elements whose style we need (e.g. gradients) continue to need frames | ||
# hack style system to get inheritance-across-use to work (how?) | # hack style system to get inheritance-across-use to work (how?) | ||
== Application of style from stylesheets == | |||
Say you have: | |||
<style> | |||
rect:hover ( fill: yellow; } | |||
</style> | |||
<rect id="rect" ...> | |||
<use xlink:href="url(#rect" .../> | |||
Opera highlights both rects when the first is hovered. Webkit only ever highlights the first when the first is hovered. Mozilla highlights only the rect you hover over. | |||
Opera's justification is that technically there is only one rect. Mozilla does an actual clone. | |||