Re: How can I implement this feature in Mozilla htmlparser?
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
byang wrote: > For example, a user who want to use <meter> element will consider that > there are some browsers which not support this element, so he will > write: > > <meter> <span> 50% </span> </meter> > > so, when there is a browser which not support <meter> element, it will > just ignore it and display 50% in the web page. Right. That makes sense. > And for a browser which understand the <meter> element, it should not render the <span> > element but still have to know the text (50%) in the <span> to render > the <meter> . So, I ask the above question from this situation... This should be handled at the DOM and layout level, not at the parser level, I would think. -Boris _______________________________________________ dev-tech-dom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-dom