Commit Graph

29 Commits

Author SHA1 Message Date
shaver%netscape.com
51896259f4 remove stale DOM span/transclusion code 1998-10-19 20:45:03 +00:00
nisheeth%netscape.com
6110735e63 Patch submitted by Chris Siegler (siegler@citilink.com). Checks for an
error case in layout of formatted and preformatted text and aborts early.
Fixes a crash on resizing of pages with preformatted text inside tables.
1998-10-17 00:42:30 +00:00
pollmann%netscape.com
61e94462cf Move DOM Style parsers to laydom.[ch]
Add destructor to entries.
1998-10-16 21:18:24 +00:00
shaver%netscape.com
689593b998 (All DOM changes.)
Fixed layer properties.  Links and images-within-links get the right appearance
even when there are no style rules.  Started on lo_SetStyleSheetBoxProperties.
Don't force the creation of a style db, ever.  Handle style-system failures
more gracefully.  Update to use ACTIVE_NODE where appropriate.
1998-10-15 18:32:04 +00:00
shaver%netscape.com
453cc779ce Use ACTIVE_NODE now rather than CURRENT_NODE, and include lm_dom.h everywhere
to make that possible.
Move LM_ReflectNode call to laytags.c back-end from layout.c front-end (thank
you, Uncle Brendan).
Correct FIND_LAST_ELEMENT to handle newly-ended doc_states.
1998-10-09 00:46:05 +00:00
waterson%netscape.com
aa4668f7b1 Touch down smooth progress bar changes from PROGRESS_19981006_BRANCH. a=nisheeth. 1998-10-08 21:35:07 +00:00
shaver%netscape.com
e044775eba more DOM style stuff, fix some warnings, conditionally prune looks-dead-to-me code, support font-weight:bold/normal 1998-10-02 00:09:52 +00:00
shaver%netscape.com
29f18d8c5e Wire up Perignon stuff #if DOM.
Remove some unused variables.
1998-09-28 23:39:17 +00:00
mcafee%netscape.com
18d145ec21 Uninitialized variable compiler warnings on Linux 1998-09-16 07:45:58 +00:00
shaver%netscape.com
27f566b792 Move current_node and top_node to top_state, to protect them from tables.
Handle table and row and cell data.
(We do nested-table text now.)
1998-08-29 02:52:27 +00:00
cmanske%netscape.com
9076fefa9f Fixed P0 Composer bug 312249 (backspacing when lines wrap) with help/review/approval by nisheeth. Also layout's part of fix to 310966 (changing doc colorsof current windows) 1998-08-08 02:06:57 +00:00
ftang%netscape.com
ef7a7728a6 Comment out problemtic XP_ASSERT. We should double check editor when we
introduce Thai line breaking into mozill
1998-08-04 19:12:42 +00:00
nisheeth%netscape.com
8ebdc55ae8 Fix for bug 129639: Only add the new linefeed for preformatted text inside
lo_RelayoutTextElements().  This fixes the extra line feeds that were
being generated for regular text.
1998-08-04 19:01:27 +00:00
ftang%netscape.com
811e97ed82 Check in change to make it easier to do different line breaking.
Prepare for Thai line break to land. approved by thshok
1998-08-01 07:44:33 +00:00
toshok%netscape.com
43355cce76 make sure to initialize all parts of the LO_TextStruct structure. this was causing UMR's in the XFE (and causing the text to just not be displayed). 1998-07-29 19:41:17 +00:00
akkana%netscape.com
fde82a1240 244341: infinite loop/hang in text layout. Reviewed by Nisheeth.
Thanks to Matthew Dillon <dillon@backplane.com> for the fix!
1998-07-24 00:39:30 +00:00
toshok
134617a2e5 Only call lo_SetLineBreak if we indeed inserted a line break - fixes SF1 P0 bug 300047. 1998-07-14 22:16:21 +00:00
toshok
682346549a switch order of if checks. gets rid of a SF1 P0 bug 300045. 1998-07-14 21:39:00 +00:00
nisheeth
91b5a97ca7 Fix for bug#124552. No code review needed coz fix is smaller than 5 lines.
Now text layout looks at both the state structure and the current text block
for propagating anchor information when a new text layout element is created.
1998-06-16 03:05:10 +00:00
nisheeth
aea8359755 Fix for bug #108358. No code review coz its a one liner. Fixes the infinite
loop by letting us break out on a condition that wasn't being checked
earlier in lo_LayoutTextBlock() in laytext.c.  Thanks a lot to Jeff
Caldwell (look@shell.lazerlink.net) for the patch.
1998-06-12 01:16:59 +00:00
gordon
03e58a5dca Fixing Mac bustage by adding typecast. Approved by sar. 1998-06-10 23:04:18 +00:00
toshok
0a6e8a22c3 fix relayout of preformatted text (and hopefully help out in the
relayout of normal text as well.)  Make sure we start at the element
immediately following the LO_TextBlock (if possible, otherwise start
at the startTextElement.)  Also, loop up to and including the
endElement.  Lastly, insert new soft line breaks after recycling the
old ones.
1998-06-10 19:12:01 +00:00
jgellman
9f800f1e0e merge from OJI branch 1998-06-03 00:37:20 +00:00
toshok
e08bc01688 Remove #ifdef's for TEXT_CHUNK_LIMIT, since it's always defined to something. 1998-05-07 21:16:02 +00:00
toshok
79741f2460 I know I'm going to get strung up for this, but I just can't read this file without a window that's like 150 columns wide. 1998-05-07 21:12:03 +00:00
toshok
d2cd5fd1cf remove huge commented out chunks of code (that have been commented out since time began, it seems.) also added a couple of fairly bogus comments at the beginnings of lo_Push/PopAlignment 1998-05-07 20:44:45 +00:00
nisheeth
bae32c65fd Warning fix. Thanks to tenthumbs@cybernex.net. 1998-04-29 08:39:56 +00:00
valeski
94b209c54f compiler warning fix (paren inclusion) submitted by dkindred@cmu.edu . approved/rev'd by nisheeth 1998-04-21 17:17:35 +00:00
ltabb
3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00