Re: Where does mozilla build a table of attribute for each node
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Thank you. I have searched for SetAttr, but the result does not show > nsHTMLContentSink. > > http://lxr.mozilla.org/mozilla1.8.0/ident?i=SetAttr Uh... That URI shows hits in nsHTMLContentSink. > And why not all html elements have SetAttr() function? You mean the implementation? It's on the superclass (nsGenericElement), generally speaking. Only the ones that have to do something weird with attributes override it. -Boris