Re: How can I implement this feature in Mozilla htmlparser?
byang <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <bb43499b-ade4-4884-bc75-ce76f48e3c29@p31g2000prf.googlegroups.com> |
On 9月16日, 上午10时37分, Boris Zbarsky <[email protected]> wrote: > 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. So, how can I control that there is no Frame generated for the <span> ? Regards! Bo _______________________________________________ dev-tech-dom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-dom