Commit Graph

9 Commits

Author SHA1 Message Date
shaver%netscape.com
582327af4c Fixed tree generation and added new STYLE_NODE flags for content-hiding. 1998-10-15 18:34:05 +00:00
shaver%netscape.com
97d95775a6 Initialize variables and generally behave better.
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.
1998-10-09 00:48:51 +00:00
shaver%netscape.com
1f8f0c1e2e add LM_Set/ClearNodeFlags 1998-10-02 00:10:16 +00:00
brendan%netscape.com
8b7f210e05 - Need JS_THREADSAFE in mozilla.mak and config.mak (and because of the latter,
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).
1998-09-30 02:07:26 +00:00
shaver%netscape.com
2e458c4dd4 Remove DOMSetAttribute event guck (now tweak on mocha thread with layout
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.
1998-09-05 04:34:13 +00:00
shaver%netscape.com
cf61abf5d5 Wired up DOM-node destruction after firing onUnload.
Added event guck for altering attributes (will be rewritten to do
poke-and-schedule).
Tentatively blocked out LM_ClearContextStream, which looks like dead code.
1998-09-04 00:05:53 +00:00
shaver%netscape.com
466dc2044f move top_node and current_node into top_state, where they're invulnerable to the evil tactics of table layout 1998-08-29 02:49:13 +00:00
shaver%netscape.com
b71d90a4f3 switch to void * in lo_DocState, not DOM_Node * because too many places #include "layout.h" 1998-08-28 07:52:07 +00:00
shaver%netscape.com
47f7c96aba added code to drive the lib/libdom stuff 1998-08-27 00:09:43 +00:00