presentational attributes

Hello,

I'm implementing SVG and CSS.. And I'm about to implement presentational
attributes and SVGStylable::getPresentationAttribute()

Are the presentational attributes separate from the CSS properties on that
element?

I mean, if you have

<svg fill="#000000" style="fill:#ffffff">

If you call element.getPresentationAttribute("fill") and you call
element.style.getPropertyValue("fill")
Do you get two separate objects in return? or do you get the same object?

I understand the spec as two different objects, just want to make sure...

thanks,

--
Sigurd Lerstad

Received on Tuesday, 11 March 2003 03:44:57 UTC