Folks (particularly extension developers) regularly ask for a way to parse HTML into a document object, which is currently hard and hacky to do.

bzbarsky suggested last year that things may get better in Gecko 1.9 [1], and shaver recently started a wiki page on the subject [2].

My questions are:

1. Will things get better in Gecko 1.9/Firefox 3 (i.e. are there concrete plans or promising developments in this area)?

2. If not, is it worth turning the MicrosummaryResource object [3], which does this (hackily, but perhaps as well as currently possible), into an XPCOM component usable by other code?

[1] http://groups-beta.google.com/group/netscape.public.mozilla.dom/msg/a584d4ed6b907b5c

[2] http://developer.mozilla.org/en/docs/Parsing_HTML_From_Chrome

[3] http://lxr.mozilla.org/mozilla/source/browser/components/microsummaries/src/nsMicrosummaryService.js.in#1873
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to