All-singing, all-dancing HTML tag handling for better coping in the face
of malformed (slashdot.org) HTML and simplified logic.
LOCAL_ASSERTs are fatal for me, just annoying for everyone else.
Use ACTIVE_NODE instead of CURRENT_NODE where appropriate.
Moved DOMMOZ_NewStyleDatabase and DOM_StyleDatabaseFromContext here to
enhance libdom's purity of essence.
don't need it in js/src/makefile.win).
- Added DOM support.
- Break up really long lines in mozilla.mak using backslashes.
- Added /I../../lib/libdom to several places (ugh).
- factor some mime.lib stuff better, but still not consistent in how SMART_MAIL
and MOZ_MAIL_NEWS select it.
- Include spans and transclusion stuff, shaver and toshok to clean up later.
- Use ?: instead of if/else in layout.c to minimize source and generated code.
- Use strong typing for struct DOM_foo * types without including domstyle.h,
by using mighty struct tags.
- Fix doc_id signedness in lm_dom.h (also eliminate tabs, but use 8 for
tab-width).
lock held, and signal reflow via event). Check doc_id before trusting
LO_Element *s. Make <TD>.bgcolor mutable. Use DOM_NewElement instead
of inline hackery. Defend against NULL returns from DOM_HTMLPopElementByType.
Make PR_ASSERTs XP_ASSERT for sake of brave users.
Added event guck for altering attributes (will be rewritten to do
poke-and-schedule).
Tentatively blocked out LM_ClearContextStream, which looks like dead code.