W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

does <set> add an attribute to node.attributes

From: ddailey <ddailey@zoominternet.net>
Date: Sun, 17 Oct 2010 13:11:04 -0400
Message-ID: <A8780258B6364757BB5461060A35C3BA@disxgdg31szkx7>
To: <www-svg@w3.org>
In this funny little example:

I measure the number of attributes associated with a node before and after applying a 
<set attributeName="stroke-dasharray" begin="mouseout" to="0" onbegin="aftercount()"/>

to an object that previously had no stroke-dasharray. 

Opera says the thing has 10 attributes before and 11 after. Firefox and ASV+IE tell me that it has 10 both before and after. Chrome and Safari seem a bit displeased with the experiment in general (handling the rollover effect in a way that makes me displeased and not enjoying my attempt to trigger script from set.begin  -- frankly I wasn't at all sure that that would work at all anyhow and was rather pleased to see that it did, so it may not be webkit's problem!)

Anyhow, I went looking in the SVG 1.1 spec to see if I could see relevant language, but didn't see the answer in any obvious place.

Received on Sunday, 17 October 2010 17:11:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:23 UTC