Commit Graph

848 Commits

Author SHA1 Message Date
kipp
8559359849 Bug fix for content-appended reflow 1998-07-02 21:26:34 +00:00
kipp
7125b57c68 Fixed up logging to use the frame logging 1998-07-02 21:26:00 +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
buster
b56e9c0f36 now takew margins into account when computing parent's available width 1998-07-02 17:40:02 +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
38e6a2338b Removed unneeded duplicate code 1998-07-02 00:04:26 +00:00
kipp
131f7949e0 First pass implementation of content insertion/deletion handling code (untested at this point); also did some misc cleanup 1998-07-02 00:04:12 +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
kipp
6280b71fdf Added state recovery logic for FrameAppendedReflow (though it still reflows too much) 1998-06-30 23:51:26 +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
kipp
ea122ca87d Improved listing output 1998-06-30 20:14:33 +00:00
kipp
d51c620f1b Updated APIs 1998-06-30 20:14:16 +00:00
kipp
a4bf798d9b Various pagination related bug fixes; pass in reflow command to FindTextRuns 1998-06-30 20:14:04 +00:00
kipp
f6fcd6698d Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames 1998-06-30 20:13:07 +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
kipp
93a84a0358 Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage. 1998-06-30 20:12:23 +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
buster
705daa1418 minor tweaks for table layout 1998-06-29 03:09:14 +00:00
kipp
4cbc340e2c Take text content and join it together so reduce the size of the content model 1998-06-27 22:57:52 +00:00