[webkit-dev] Initialization of Attribute Map

2010-06-18 Thread Fady Samuel
Hi all, I'm looking at a bug listed on chromium.org ( http://code.google.com/p/chromium/issues/detail?id=46025) but it's actually a WebKit bug...I've verified that the crash is in WebKit and Safari also crashes on Mac. It seems that the javascript line: ellipse.className.baseVal = cls1; results

Re: [webkit-dev] Initialization of Attribute Map

2010-06-18 Thread Darin Adler
This is the kind of discussion we usually have in bug reports. First step would be to put the bug report into bugs.webkit.org. To answer your question, it’s not legal to call StyledElement::classNames without first checking hasClass. And if hasClass is true, then there will already be an