Jacob Beard schrieb am 22.03.2011 23:21:

> I seem to remember that in IE6 and 7, it was considered dangerous to set
> properties on DOM nodes, because this would potentially lead to memory
> leaks. In modern, SVG-enabled browsers, is this still the case, or is it
> considered safe to set arbitrary properties on DOM nodes? Are there hidden
> complexities involved in using DOM nodes to store data that I should be
> aware of?
> 
> I'd appreciate hearing people's experiences on this. Thanks,

You can store your data in Attributes:

http://caniuse.com/#search=dataset

"Note: All browsers can already use data-* attributes and access them
using getAttribute. "Supported" refers to accessing the values using the
dataset property."

-- 
regards
Holger



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to