Commit Graph

1162 Commits

Author SHA1 Message Date
kipp
5ef073ab09 Rebased to use nsObjectContent to share common code 1998-07-15 00:48:39 +00:00
kipp
44dba2b2a1 new 1998-07-15 00:48:22 +00:00
kipp
d94273ffcf Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp
0b21a9b759 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp
847827aa89 Handle null pointers better 1998-07-15 00:23:31 +00:00
kipp
87faf8d82c Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp
3b245bcbcd Added nsObjectFrame 1998-07-15 00:22:56 +00:00
kipp
fdbc836e19 new 1998-07-15 00:22:30 +00:00
kipp
2edd02bae5 Handle applet, object and embed tags 1998-07-15 00:22:15 +00:00
kipp
4e2e0f5153 Use NS_NewObjectFrame 1998-07-15 00:21:51 +00:00
kipp
d9b9fa893c added nsHTMLEmbed 1998-07-15 00:21:43 +00:00
kostello
213a328a93 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
karnaze
10c6b37bd2 made "get" the default for submission when method is omitted 1998-07-14 22:52:07 +00:00
kostello
33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kostello
f9fa8c6055 Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
kipp
ca16578186 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp
cbc1a1cdea new 1998-07-14 18:52:27 +00:00
vidur
1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
kipp
e531368a89 Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp
4d399204ba Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code 1998-07-14 18:37:51 +00:00
troy
8fb033f617 Incremental reflow changes 1998-07-14 15:29:50 +00:00
kipp
2a54790f09 Handle null pointer bugs 1998-07-14 15:22:30 +00:00
kipp
59156541d0 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp
902d0b7a9a Commented out an unused variable 1998-07-14 15:21:50 +00:00
kipp
ef9d89dd16 Removed MoveTo/SizeTo; added DidReflow and changed it so that on final placement the widget is made visible; during widget creation the widget is created hidden; updated hack font name to match ua.css 1998-07-14 15:21:36 +00:00
kipp
c940e01855 Removed MoveTo/SizeTo and added DidReflow 1998-07-14 15:20:43 +00:00
kipp
7ab5d3ff06 Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp
7430059fdf Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame 1998-07-14 00:56:49 +00:00
kipp
e51e484113 Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp
384602528f Revamp list handling so that the LI frame is placed differently then regular frames by the LI container 1998-07-14 00:55:28 +00:00
kipp
6272e27350 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp
a5f9c0b814 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00
kipp
78d4f7fa5e Added code so that TR VALIGN's will dump properly when content is dumped 1998-07-13 21:16:51 +00:00
buster
6670b21c59 turned debug noise off 1998-07-13 20:44:07 +00:00
buster
d00c767f83 for Nav compatibility, 0-width cells do not have insets 1998-07-13 20:41:38 +00:00
kipp
68ab2aa86e Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp
8ff38eadd5 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp
21059331cd Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp
2432218467 updated a few comments 1998-07-13 19:49:07 +00:00
buster
2eb1eecd14 added Nav4 compatibility code for 0-width cells 1998-07-13 19:22:45 +00:00
buster
5be37245a3 fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans
1998-07-13 18:11:12 +00:00
kipp
a53b58f65f Reflow child when max-element-size is requested (this works around a purify detected crash) 1998-07-12 00:19:17 +00:00
kipp
53496bd65e Set max-element-size 1998-07-12 00:18:36 +00:00
kipp
d48f1f528d Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
kipp
149a96f186 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
rpotts
9069d8ec06 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
troy
5d8fdf9dd8 Added back in some changes that got lost in the previous
check-in
1998-07-11 04:16:29 +00:00
kipp
a2bec51709 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
kipp
45bd6033e4 Split HandleEvent between the two classes; in theory this is because the RootContentFrame gets the scroll adjusted x,y coordinate and RootFrame doesnt 1998-07-11 03:51:18 +00:00
kipp
bd7c472e67 Disabled some code to make cursors over links work 1998-07-11 03:50:14 +00:00
kipp
91583e8ea0 Adjust coordinates to account for borders; don't consume the event when just mouse overing (only consume it when clicking); this fixes cursors oddly enough 1998-07-11 03:49:56 +00:00
kipp
96ce66e91d Tweaked 1998-07-11 03:49:17 +00:00
kipp
c2c262b5fd Removed GetCursorAt code 1998-07-11 03:48:33 +00:00
kipp
473f3e0175 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp
bdc1ff0f5b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
buster
6e3192f275 fixed unix build, and one small uninitialized variable problem 1998-07-11 00:47:29 +00:00
buster
8ce4ae05e9 *** empty log message *** 1998-07-11 00:08:08 +00:00
buster
3e596fc26a major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
troy
786d36083e More code re-shuffling. I need to hurry and check-in before Cujo
whacks the tree
1998-07-10 22:56:13 +00:00
kipp
cb83cf384a Fixed max-element-size to account for the border+padding 1998-07-10 21:45:30 +00:00
kipp
bc69e4d178 Generate automatic margin values for most blocks; this emulates ebina margins fairly well 1998-07-10 20:30:23 +00:00
kipp
16b20ee3a0 Removed SetMargins call; the default ctor zeros things out now 1998-07-10 20:28:30 +00:00
kipp
50698a0e13 Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp
3fdb071728 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views 1998-07-10 20:27:43 +00:00
kipp
7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy
97ae834b23 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
rickg
8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +00:00
troy
b147b465e4 Changed it so we assume that rows are always complete 1998-07-10 05:23:05 +00:00
troy
4e29404d47 Some incremental improvements 1998-07-10 04:00:38 +00:00
peterl
48d742912a tweaking <FONT size=x> handling 1998-07-10 02:45:18 +00:00
troy
6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
troy
b4c186d39c Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing
1998-07-09 18:14:19 +00:00
karnaze
72b2dcf73c borders 1998-07-09 17:47:33 +00:00
kipp
051acc64fd Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible 1998-07-09 17:08:40 +00:00
kipp
eba3466b03 tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp
94003031d4 Init passed in margins 1998-07-09 17:07:39 +00:00
kipp
8659fdf2e9 Implement css collapsing margins 1998-07-09 17:06:35 +00:00
kipp
5bb77d7e59 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
troy
360378b073 Changed it so the inner table is reflowed by using the Reflow()
member function rather than poking the individual pass 1, pass 2, ...
member functions
1998-07-09 14:30:34 +00:00
kipp
b362b02627 Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in 1998-07-08 23:15:32 +00:00
kmcclusk
61adf8bf9d Modified the order of the source shareables so all of the symbols
are in the single destination shareable for Linux.
1998-07-08 21:11:09 +00:00
troy
ff91686953 Changes to the caption handling code 1998-07-08 20:21:17 +00:00
troy
3a510d5648 Tables not allow only one caption 1998-07-08 04:49:01 +00:00
jevering
7545f2a29d Fixing optimized build. 1998-07-07 22:20:00 +00:00
jevering
afde6be6e3 Fixed optimized build. 1998-07-07 22:07:35 +00:00
troy
dbb8e4e65a Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows 1998-07-07 03:48:21 +00:00
buster
72142b30f4 fixed 3 dumb bugs I introduced recently.
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
troy
6d54a65afb More incremental reflow changes 1998-07-07 00:49:07 +00:00
buster
f8cb71dab5 fix for empty tables. we now support tables that have no content. 1998-07-07 00:20:21 +00:00
buster
e90e663a7b fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
kipp
fb279bade9 Changed AttributeToString to handle empty value types 1998-07-06 22:16:23 +00:00
kipp
48010a25e3 Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up) 1998-07-06 22:15:55 +00:00
kipp
d38fc85f48 Removed obsolete tags header file generation rules 1998-07-06 22:15:22 +00:00
troy
35c2e6b45c Incremental reflow work-in-progress 1998-07-06 21:39:23 +00:00
kipp
dc09e8124d Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp
1f9273223c Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow 1998-07-06 21:37:08 +00:00
kipp
1f5b3b6c21 new 1998-07-06 21:36:00 +00:00
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
03b43b72a7 Don't build shared library 1998-07-03 23:54:25 +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
kipp
853131c098 Fixed a typo (blush) 1998-07-02 23:44:46 +00:00
troy
44b7ebb358 More work-in-progress incremental reflow code 1998-07-02 23:19:31 +00:00
kipp
7938ef27e5 Moved initial reflow processing into InitialReflow method (doh) 1998-07-02 22:55:15 +00:00
kipp
c3f1f480a4 Added more asserts to catch bad behavior of parents and children 1998-07-02 22:54:53 +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
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
kipp
cc4cdf6b7e Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks 1998-06-27 22:57:26 +00:00
kipp
f0202fa3dd Use revised inline reflow status 1998-06-27 22:56:59 +00:00
kipp
85a6b3667b Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status 1998-06-27 22:56:09 +00:00
kipp
925e12fa74 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
atotic
1437970bf6 That for (int i)... problem fix 1998-06-27 02:49:36 +00:00
atotic
12f2a33570 Another class reference inside class declaration problem class A { void A:method }; is bad 1998-06-27 02:48:39 +00:00
atotic
afb360e8c5 Fixed mac warnings 1998-06-27 02:47:44 +00:00
atotic
868db37b2d Added/removed some files 1998-06-27 02:47:08 +00:00
atotic
7535197e5b Fixed the Mac build 1998-06-26 23:55:11 +00:00
buster
471f5b46a8 support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide 1998-06-26 23:31:33 +00:00
troy
09eaa8f230 Changed absolutely positioned elements to have the body as their
geometric parent
1998-06-26 18:49:30 +00:00
kipp
b04bd31883 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
kipp
5c09f13bd0 Make a title object that's a child of the head when we get a title 1998-06-26 16:12:51 +00:00
kipp
c33d44d4ed Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp
6eb5fb1cd9 new 1998-06-26 16:11:41 +00:00
kipp
b2066141e4 new files 1998-06-26 16:11:26 +00:00
kipp
790937f2af Updated for irix 1998-06-26 15:31:45 +00:00
kipp
794a360e5c Removed stale reference to nsHTMLMeta 1998-06-26 15:15:58 +00:00
kipp
1dcd2fab16 Link new content library in 1998-06-26 15:12:06 +00:00
kipp
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp
4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp
b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl
5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
peterl
d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl
b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
buster
d7cca42032 fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code. 1998-06-26 00:48:44 +00:00
kipp
52519ae680 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
kipp
fbacb4a2d2 Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured. 1998-06-25 23:35:53 +00:00
kipp
517c85766e Added code to giving floating children a width to reflow into when they don't specify one themselves 1998-06-25 23:09:04 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp
689607ad40 Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children 1998-06-25 22:26:35 +00:00
kipp
4d3b8a3643 Change ParseColor to be more compatible with navigator 1998-06-25 21:37:07 +00:00
kipp
91faf6c911 Support text attribute in body tags 1998-06-25 21:36:51 +00:00
kipp
f5fcce25a1 Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow 1998-06-25 21:11:12 +00:00
kipp
ac35bf05fb Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once. 1998-06-25 20:51:04 +00:00
kipp
522095421c Rework the way that bullets are detected; this fixes up the http://client/nova page 1998-06-25 19:02:15 +00:00
kipp
c22118eca3 Link html .so properly 1998-06-25 18:38:59 +00:00
kipp
f961aac6ed Fixed library name 1998-06-25 18:38:40 +00:00
kipp
132f959cd8 Work around infinite-width bug by not passing down an infinite width to a block child of a block 1998-06-25 17:26:40 +00:00
kipp
e23973dc33 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp
803595c993 Fixed unix makefile 1998-06-25 16:58:59 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp
fc85edd770 Revised page size computation 1998-06-25 15:05:35 +00:00
kipp
03930d69e0 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp
3147b0e1a7 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
kipp
e4f5e7bf4b Added missing include line; minor tidy up as well 1998-06-25 15:01:13 +00:00
kipp
a7d4787477 Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina 1998-06-25 14:56:46 +00:00
kipp
b3611ffa22 Added CreateFrame method 1998-06-25 14:55:15 +00:00
kipp
b3cf3affc7 Added the same skip-over-non-body-content code that's in the root content frame code 1998-06-25 14:53:45 +00:00
kipp
73ee06bfb8 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
troy
04e9ce1a5f Added some asserts to the incremental reflow code 1998-06-24 22:05:59 +00:00
buster
ba02200c08 fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights. 1998-06-24 19:13:19 +00:00
troy
48262a93f9 Changed to make sure we set the (x,y) for the frame before we reflow it 1998-06-24 18:09:47 +00:00
kipp
cf88b306ce snapshot 1998-06-24 17:52:42 +00:00
troy
d8ba6d4919 Changed to make sure we link the child frame into the list of frames before
we reflow it
1998-06-24 16:35:21 +00:00
troy
9419e27a89 Some incremental reflow changes 1998-06-24 04:38:52 +00:00
troy
fb859a6264 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
atotic
8fd260481b More project fixes 1998-06-24 01:44:20 +00:00
atotic
f125653c3e First Checked In. 1998-06-24 01:41:16 +00:00
buster
9605fb0d2f now tables with precent width nested within tables with auto width work 1998-06-24 00:40:33 +00:00
buster
aca4c96fbe lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
troy
0ba0825eb4 Initialized mColLayoutData to nsnull 1998-06-23 22:45:26 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur
e25cc5bd2b Added js dependency 1998-06-23 19:11:22 +00:00
vidur
b5f413930d Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
rpotts
58123235cc Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
troy
ea085cab4b Some work-in-progress for table incremental reflow 1998-06-23 05:43:27 +00:00
rickg
4b202376f1 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg
68c01dae1a added a new secret argument to Parse() 1998-06-23 00:52:21 +00:00
troy
7d13a4fd7f Eliminated mFirstPassValid and changed code to key off the reflow
reason
1998-06-22 21:59:43 +00:00
troy
14b98d4773 Started hooking up incremental reflow. So far we only handle changed
captions
1998-06-22 05:34:17 +00:00
troy
a89d59bb51 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
troy
2a5b7ac3b2 Changed TextFrame to implement ContentChanged() notification and generate
a reflow command
1998-06-20 00:04:22 +00:00
rods
2d98f633a6 add XP_UNIX size temporary fixes 1998-06-19 20:07:35 +00:00
kipp
f6c2579b4e Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's 1998-06-19 19:57:59 +00:00
kipp
09145642f6 Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code 1998-06-19 19:57:14 +00:00
kipp
dc5fa0a59a snapshot 1998-06-19 18:23:28 +00:00
troy
36e45e1fac Work in progress for incremental reflow 1998-06-19 05:21:45 +00:00
rickg
60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
troy
3456471e4f Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead 1998-06-19 00:34:12 +00:00
kipp
6730df8ced snapshot 1998-06-18 23:44:30 +00:00
kipp
d134b87bb0 new 1998-06-18 23:16:18 +00:00
kipp
9292fd012d snapshot 1998-06-18 23:16:00 +00:00
karnaze
505cf9d7ac fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00