Re: Support for title attribute in tooltips
"corvid" <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <20110731023041.GF23546@local> |
Rob wrote: > > I remember discussing this with Johannes, and I think he had some reason > > that he was reluctant to check for the title attr there...? I hope he > > remembers because I can't seem to find record of it. > > > > BTW, strictly speaking, we shouldn't be calling Html_parse_common_attrs() > > for every element because I believe there were a few that don't have > > %coreattrs under ATTLIST in the spec. > > Of course you are right. I was too eager to send something in, and > was really swimming over my head. Going back to > Html_parse_common_attrs(), it is plain that this is for all elements > having common attributes, whereas there are a handful of elements that > do not allow for the title attribute, and are therefore excluded. > I'll go back to learning how this thing works, and hopefully Johannes > will have something to add about the conversation you mentioned in the > meantime. Well, it's equally true of the attrs already in there -- id, class, and style, so it's not necessarily a bad place. The declaration or whatever goes: <!ENTITY % coreattrs "id ID #IMPLIED -- document-wide unique id -- class CDATA #IMPLIED -- space-separated list of classes -- style %StyleSheet; #IMPLIED -- associated style info -- title %Text; #IMPLIED -- advisory title --" >