[Webkit-unassigned] [Bug 15276] setAttribute fails to respect SVG attribute case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 26 11:27:49 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15276





------- Comment #21 from eugene.lazutkin at gmail.com  2007-09-26 11:27 PDT -------
Thank you, thank you, thank you!

I changed my code like that:

==================================
if(dojo.isSafari){
  fill.setAttributeNS(null, "gradientUnits", "userSpaceOnUse");
}else{
  fill.setAttribute("gradientUnits", "userSpaceOnUse");
}
==================================

instead of: fill.setAttribute(...), and it works now. And I did the same for
setting "patternUnits". Now both cases work!

While it looks like a bug anyway, it is a bug with a work-around --- something
we can use and promote.

Thank you again for helping to narrow it down. If you need any help from me ---
just ask.

Thanks,

Eugene


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list