Commit Graph

625 Commits

Author SHA1 Message Date
buster
5135afe659 added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
kipp
37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp
ddc9a7e093 Removed obsolete files 1998-07-03 19:09:41 +00:00
kipp
72388e4355 Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
kipp
08cfb3e93e Removed a test 1998-07-03 17:51:45 +00:00
kipp
2e00b89d0f Build nsHTMLParts too 1998-07-03 17:50:53 +00:00
kipp
f68e83223f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
kipp
e06dbd0167 new 1998-07-03 17:50:00 +00:00
kipp
b10c5120a2 Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp
05b511b5fd Reworked ContentInserted handling 1998-07-03 17:46:44 +00:00
troy
44b7ebb358 More work-in-progress incremental reflow code 1998-07-02 23:19:31 +00:00
kipp
682477fe78 new 1998-07-02 22:53:47 +00:00
kipp
edf8a97ccb updated test 1998-07-02 21:26:54 +00:00
kipp
f0ed6d38a2 Fixed bug where tables weren't returning a proper set of metrics 1998-07-02 21:24:56 +00:00
troy
d138bc14e1 Moved code that resized the table row cells from the row group frame
to the row frame. It's now handled as part of the DidReflow() post-
processing code
1998-07-02 20:35:23 +00:00
buster
b54c4bdc95 added an optimization that skips pass2 cell reflows when the new available width is unchanged
from the prior available width.  Some real-world test cases sped up
1-2 orders of magnitude for resize reflow.  Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.
1998-07-02 17:40:56 +00:00
rickg
ff4f9c2c9c major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
troy
8df0e96786 Some work-in-progress for incremental reflow 1998-07-02 05:39:10 +00:00
kipp
3c97507e19 Fixed some dom methods 1998-07-02 00:04:44 +00:00
kipp
bb120f9612 new 1998-07-02 00:02:42 +00:00
atotic
9689fc070a Fixed the for (PRInt32 i=) problem 1998-07-01 22:40:00 +00:00
troy
183b82a765 Eliminated some usage of ChildAt() 1998-07-01 22:22:28 +00:00
kipp
5f3883e687 Fixed up iframe layout (again) 1998-07-01 22:21:13 +00:00
karnaze
5c32434ce8 more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
rpotts
d32af17295 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp 1998-07-01 11:21:41 +00:00
rpotts
42b06709ba Reworked Post data to avoid memory leaks... 1998-07-01 11:18:39 +00:00
rpotts
c839df2239 Now uses nsIViewerContainer interface and the Document Loader... 1998-07-01 11:17:41 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
rpotts
bb2454f77a Fix crash by checking whether a link handler was returned bu GetLinkHandler(...) 1998-07-01 11:15:20 +00:00
troy
59d4da2785 Some work-in-progress for incremental reflow 1998-07-01 04:55:15 +00:00
troy
aa312a24e8 Removed some vertical margin collapsing stuff that wasn't needed 1998-07-01 03:03:32 +00:00
kipp
6259c3326f Keep view around so that it moves properly 1998-07-01 00:54:54 +00:00
kipp
3ad9573382 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
troy
38fcfa98f3 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
troy
a841c05205 Changed a XXX comment that was now out of date 1998-06-30 21:37:30 +00:00
troy
87a620acb0 Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp
541fe9b490 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp
3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp
90d3d36058 update to new nsIInlineReflow API 1998-06-30 20:22:04 +00:00
kipp
7dd41cfa7a Implement new PropagateContentOffsets to avoid looking at floaters 1998-06-30 20:21:57 +00:00
kipp
0022cca732 Pretend to map STYLE attributes back to strings to avoid crashing 1998-06-30 20:20:51 +00:00
kipp
f6483b60bd disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp
483aff9cd6 Pass attribute-to-string calls to superclass when it's an unkown attribute/type 1998-06-30 20:15:37 +00:00
buster
70c232ebd4 fixed-width cells no longer improperly impact the available size
of subsequent cells in reflow pass 1

we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
troy
04f55afb1b Added ContentDeleted() member function 1998-06-30 20:11:10 +00:00
troy
add97af1d2 Moved shrink wrap code from table frame to table row group frame 1998-06-30 02:11:07 +00:00
buster
5a4c2d4364 columns that are fixed-width due to an attribute on the corresponding cell in the first row
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster
1f0d9a91f1 cells no longer monkey with their available width based on attribute constraints.
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
kipp
9d7cab2d27 Made sub/sup look more like navigator 1998-06-29 16:10:41 +00:00
kipp
d16b98213b Fixed bug where percentage width in an unconstrained situation was yielding a bad size 1998-06-29 16:09:44 +00:00