Граф коммитов

1180 Коммитов

Автор SHA1 Сообщение Дата
kipp 5ce420759d Fixed HR style 1998-07-15 17:07:00 +00:00
kipp ea7b5b6165 Speed up doc loading by not reflowing after appending leaf elements (temporary hack) 1998-07-15 17:06:53 +00:00
kipp 4321face90 Indent tweak 1998-07-15 17:05:59 +00:00
kipp 20e3fe203d Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly 1998-07-15 17:05:49 +00:00
troy 6b93376d50 Some more changes of nsIPresContext* to nsIPresContext& 1998-07-15 17:05:21 +00:00
kmcclusk 54ad587479 Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines. 1998-07-15 17:04:56 +00:00
kipp c85bf69d5a Make bullets a bit smaller to look better 1998-07-15 17:04:30 +00:00
kostello 61c9478c9f Fix Unix build bustage 1998-07-15 16:54:29 +00:00
kipp d457c0a741 Use GetStyleSize to get a better width; store away computed width so that paint code doesn't have to compute it 1998-07-15 16:49:07 +00:00
kipp 5e5e5523c4 Keep unconstrained flowing downward 1998-07-15 16:48:21 +00:00
troy a3ff77478f Added an XXX to remind me to talk with Cujo about how we determine
whether the column widths have changed...
1998-07-15 04:52:32 +00:00
troy a0c12aec8d Turned off some code that was accidently turned on 1998-07-15 04:46:51 +00:00
troy fe75103d32 Some improvements to the incremental reflow logic to handle all the
cases handled by resize reflow
1998-07-15 04:45:58 +00:00
troy e264371e9b Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy 243f3f1255 Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy e8893481dd Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp ce90528b49 Treat embed properly as a leaf; fixed typo with object tag 1998-07-15 00:49:26 +00:00
kipp 6c9f53efd0 Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +00:00
kipp 4b95268bb9 Rebased to use nsObjectContent to share common code 1998-07-15 00:48:39 +00:00
kipp f03bf40d32 new 1998-07-15 00:48:22 +00:00
kipp aad4b832a4 Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp b46eb126c9 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp e1aaad9be7 Handle null pointers better 1998-07-15 00:23:31 +00:00
kipp f5cbcc3d7a Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp 4b9098e4f0 Added nsObjectFrame 1998-07-15 00:22:56 +00:00
kipp d53bd676fa new 1998-07-15 00:22:30 +00:00
kipp a35909b3f6 Handle applet, object and embed tags 1998-07-15 00:22:15 +00:00
kipp ca18debaa3 Use NS_NewObjectFrame 1998-07-15 00:21:51 +00:00
kipp c83d696716 added nsHTMLEmbed 1998-07-15 00:21:43 +00:00
kostello dd36a73fb3 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
karnaze 30dcad0261 made "get" the default for submission when method is omitted 1998-07-14 22:52:07 +00:00
kostello 97e90b0639 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 bd0069498b Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
kipp 5bc86bdb50 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp 01960261fe new 1998-07-14 18:52:27 +00:00
vidur ef2bd5eb2a 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 f382b0305a Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp b2d3d14ec8 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 993e1fb8ac Incremental reflow changes 1998-07-14 15:29:50 +00:00
kipp 0062cb394e Handle null pointer bugs 1998-07-14 15:22:30 +00:00
kipp 15a83c2495 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp 86d73fc89b Commented out an unused variable 1998-07-14 15:21:50 +00:00
kipp faa65f837b 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 7ed3ed9880 Removed MoveTo/SizeTo and added DidReflow 1998-07-14 15:20:43 +00:00
kipp f6a71595aa Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp e1f7b9e0aa 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 6c501dde1f Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp 96bd6d412c 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 8f35d36ee0 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp d58b5ed026 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00
kipp 17e25c1c81 Added code so that TR VALIGN's will dump properly when content is dumped 1998-07-13 21:16:51 +00:00
buster 129f8dca89 turned debug noise off 1998-07-13 20:44:07 +00:00
buster f6c2161c41 for Nav compatibility, 0-width cells do not have insets 1998-07-13 20:41:38 +00:00
kipp dbaf7838af Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp 7ce52ac972 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp 072549eb21 Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp 4504999f6f updated a few comments 1998-07-13 19:49:07 +00:00
buster d243e443c4 added Nav4 compatibility code for 0-width cells 1998-07-13 19:22:45 +00:00
buster 4c77b2df1d fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans
1998-07-13 18:11:12 +00:00
kipp ec1a4ff016 Reflow child when max-element-size is requested (this works around a purify detected crash) 1998-07-12 00:19:17 +00:00
kipp 228c0ba1be Set max-element-size 1998-07-12 00:18:36 +00:00
kipp 3773621cca Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
kipp 9f86005e45 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
rpotts ca4a702aa6 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
troy 03dd77b394 Added back in some changes that got lost in the previous
check-in
1998-07-11 04:16:29 +00:00
kipp 329d9232e9 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
kipp 75f1af4c1a 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 b8470d7af5 Disabled some code to make cursors over links work 1998-07-11 03:50:14 +00:00
kipp 5fbdae41b4 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 135b6b3efb Tweaked 1998-07-11 03:49:17 +00:00
kipp 289c595b22 Removed GetCursorAt code 1998-07-11 03:48:33 +00:00
kipp 4b99029c24 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp 199a67232b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
buster 106c3a7c7a fixed unix build, and one small uninitialized variable problem 1998-07-11 00:47:29 +00:00
buster f6e4fa25de *** empty log message *** 1998-07-11 00:08:08 +00:00
buster 7a2fe842b8 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 be29f02f19 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 f84b2d2dae Fixed max-element-size to account for the border+padding 1998-07-10 21:45:30 +00:00
kipp 8495eff9e0 Generate automatic margin values for most blocks; this emulates ebina margins fairly well 1998-07-10 20:30:23 +00:00
kipp 91f5df2787 Removed SetMargins call; the default ctor zeros things out now 1998-07-10 20:28:30 +00:00
kipp 6d3504205c Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp 81811ffa88 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 15a1048658 initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy 54f6cf2b02 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
rickg 665f63b9f3 dynamic DTD support 1998-07-10 05:35:23 +00:00
troy cee35a3b5c Changed it so we assume that rows are always complete 1998-07-10 05:23:05 +00:00
troy ee57569c83 Some incremental improvements 1998-07-10 04:00:38 +00:00
peterl 7c911cce58 tweaking <FONT size=x> handling 1998-07-10 02:45:18 +00:00
troy 7c4b0ac9ae Added some new sizing constraints 1998-07-09 20:53:37 +00:00
troy dea55a262d Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing
1998-07-09 18:14:19 +00:00
karnaze 3561337959 borders 1998-07-09 17:47:33 +00:00
kipp c567f52925 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 b4651aac4e tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp 8985110d66 Init passed in margins 1998-07-09 17:07:39 +00:00
kipp de2608533c Implement css collapsing margins 1998-07-09 17:06:35 +00:00
kipp 8beef8ceaa 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 60d0990794 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 01ecca0c0c 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 7509d63de0 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 3e55f85f43 Changes to the caption handling code 1998-07-08 20:21:17 +00:00
troy ed3232febb Tables not allow only one caption 1998-07-08 04:49:01 +00:00
jevering 6041a1925c Fixing optimized build. 1998-07-07 22:20:00 +00:00
jevering b8db61a8c0 Fixed optimized build. 1998-07-07 22:07:35 +00:00
troy ca5a505826 Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows 1998-07-07 03:48:21 +00:00
buster 03fd05a8af 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 e1426ada21 More incremental reflow changes 1998-07-07 00:49:07 +00:00
buster 54d0edc73c fix for empty tables. we now support tables that have no content. 1998-07-07 00:20:21 +00:00
buster 8589fa4d8f 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 e89008b0ac Changed AttributeToString to handle empty value types 1998-07-06 22:16:23 +00:00
kipp a8907efbbc 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 574f642d9f Removed obsolete tags header file generation rules 1998-07-06 22:15:22 +00:00
troy bec31309df Incremental reflow work-in-progress 1998-07-06 21:39:23 +00:00
kipp c21f2ee0f4 Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp 4727732a61 Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow 1998-07-06 21:37:08 +00:00
kipp 8b73ffa085 new 1998-07-06 21:36:00 +00:00
buster ed14926019 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 9fd4a227e9 Don't build shared library 1998-07-03 23:54:25 +00:00
kipp fc81f712c0 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp 704e070c50 Removed obsolete files 1998-07-03 19:09:41 +00:00
kipp 2056d51a8c Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
kipp 0f579e2006 Removed a test 1998-07-03 17:51:45 +00:00
kipp f992c86548 Build nsHTMLParts too 1998-07-03 17:50:53 +00:00
kipp 656913c53f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
kipp 69a30a250e new 1998-07-03 17:50:00 +00:00
kipp e75706a7db Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp 8de1e92335 Reworked ContentInserted handling 1998-07-03 17:46:44 +00:00
kipp cbccf5e8ca Fixed a typo (blush) 1998-07-02 23:44:46 +00:00
troy 52d84888b7 More work-in-progress incremental reflow code 1998-07-02 23:19:31 +00:00
kipp 62b7408349 Moved initial reflow processing into InitialReflow method (doh) 1998-07-02 22:55:15 +00:00
kipp 5589454a83 Added more asserts to catch bad behavior of parents and children 1998-07-02 22:54:53 +00:00
kipp d01b7687b8 new 1998-07-02 22:53:47 +00:00
kipp e63fe3bdbe updated test 1998-07-02 21:26:54 +00:00
kipp 69891e7fc1 Bug fix for content-appended reflow 1998-07-02 21:26:34 +00:00
kipp 8a08808e93 Fixed up logging to use the frame logging 1998-07-02 21:26:00 +00:00
kipp 4e9a622067 Fixed bug where tables weren't returning a proper set of metrics 1998-07-02 21:24:56 +00:00
troy 1ee17c78b1 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 2b75ce1f63 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 531152b50b now takew margins into account when computing parent's available width 1998-07-02 17:40:02 +00:00
rickg c7c8f485ed major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
troy b4aa257397 Some work-in-progress for incremental reflow 1998-07-02 05:39:10 +00:00
kipp bc2a7ac47a Fixed some dom methods 1998-07-02 00:04:44 +00:00
kipp 7519a048cd Removed unneeded duplicate code 1998-07-02 00:04:26 +00:00
kipp ce88c47885 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 c8c9f58b3b new 1998-07-02 00:02:42 +00:00
atotic 0bd5d91ab3 Fixed the for (PRInt32 i=) problem 1998-07-01 22:40:00 +00:00
troy 34efb1dd5a Eliminated some usage of ChildAt() 1998-07-01 22:22:28 +00:00
kipp dbadaed61b Fixed up iframe layout (again) 1998-07-01 22:21:13 +00:00
karnaze e1d5194abb more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
rpotts a0c53581a8 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp 1998-07-01 11:21:41 +00:00
rpotts a3a7597795 Reworked Post data to avoid memory leaks... 1998-07-01 11:18:39 +00:00
rpotts 09cfa8359e Now uses nsIViewerContainer interface and the Document Loader... 1998-07-01 11:17:41 +00:00
rpotts 1afdd4f963 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 00765c5325 Fix crash by checking whether a link handler was returned bu GetLinkHandler(...) 1998-07-01 11:15:20 +00:00
troy 226119c0ab Some work-in-progress for incremental reflow 1998-07-01 04:55:15 +00:00
troy 7c185eac84 Removed some vertical margin collapsing stuff that wasn't needed 1998-07-01 03:03:32 +00:00
kipp c34f27c145 Keep view around so that it moves properly 1998-07-01 00:54:54 +00:00
kipp 0f3bc0bc43 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
kipp f1e5c4b66b Added state recovery logic for FrameAppendedReflow (though it still reflows too much) 1998-06-30 23:51:26 +00:00
troy a3005d96d4 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
troy a08407817f Changed a XXX comment that was now out of date 1998-06-30 21:37:30 +00:00
troy 08cdd6ebcd Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp 11fba76f60 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp 13db757b9c update to new nsIInlineReflow API 1998-06-30 20:22:04 +00:00
kipp 94f1a4ea1d Implement new PropagateContentOffsets to avoid looking at floaters 1998-06-30 20:21:57 +00:00
kipp 8fdc3b767c Pretend to map STYLE attributes back to strings to avoid crashing 1998-06-30 20:20:51 +00:00
kipp 9d76dca44e disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp 8c19ac4205 Pass attribute-to-string calls to superclass when it's an unkown attribute/type 1998-06-30 20:15:37 +00:00
kipp 980cc4a227 Improved listing output 1998-06-30 20:14:33 +00:00
kipp 67c8c57b30 Updated APIs 1998-06-30 20:14:16 +00:00
kipp ea0b890a93 Various pagination related bug fixes; pass in reflow command to FindTextRuns 1998-06-30 20:14:04 +00:00
kipp bca0af2fe6 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 3cc96f5b94 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 7a8d09e439 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 f923e8753c Added ContentDeleted() member function 1998-06-30 20:11:10 +00:00
troy 8885fde69e Moved shrink wrap code from table frame to table row group frame 1998-06-30 02:11:07 +00:00
buster 033ee8a162 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 a5505b8275 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 ed831815d1 Made sub/sup look more like navigator 1998-06-29 16:10:41 +00:00
kipp 206c13d241 Fixed bug where percentage width in an unconstrained situation was yielding a bad size 1998-06-29 16:09:44 +00:00
buster 5e60369eda minor tweaks for table layout 1998-06-29 03:09:14 +00:00
kipp 0fb4c0d0ce Take text content and join it together so reduce the size of the content model 1998-06-27 22:57:52 +00:00
kipp 13cd2413d6 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 3552e92cad Use revised inline reflow status 1998-06-27 22:56:59 +00:00
kipp 387a21b0d1 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 7292712c50 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 102f568560 That for (int i)... problem fix 1998-06-27 02:49:36 +00:00
atotic e6ceb0c01e Another class reference inside class declaration problem class A { void A:method }; is bad 1998-06-27 02:48:39 +00:00
atotic 90b32ba9d8 Fixed mac warnings 1998-06-27 02:47:44 +00:00
atotic e6c716048f Added/removed some files 1998-06-27 02:47:08 +00:00
atotic 1669148b76 Fixed the Mac build 1998-06-26 23:55:11 +00:00
buster 8cb2f20cbf support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide 1998-06-26 23:31:33 +00:00
troy dbcbcf7d1d Changed absolutely positioned elements to have the body as their
geometric parent
1998-06-26 18:49:30 +00:00
kipp 31261d92a4 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
kipp b9e2811c6a 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 cdaedbbf86 Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp be37e59a5e new 1998-06-26 16:11:41 +00:00
kipp 6661115e62 new files 1998-06-26 16:11:26 +00:00
kipp 92e7d9f215 Updated for irix 1998-06-26 15:31:45 +00:00
kipp e74a8768aa Removed stale reference to nsHTMLMeta 1998-06-26 15:15:58 +00:00
kipp 76229f342c Link new content library in 1998-06-26 15:12:06 +00:00
kipp 822565e6d7 Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp 396b89b7f9 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp 163249f258 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl cb4e3b72c0 fixed context dumping 1998-06-26 05:49:01 +00:00
buster a6ca882bee 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 634974d444 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
kipp 7a286b21c0 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 a1545fa943 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 ebd644e8a3 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp e85f1b7f20 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 3d2430f3ad Change ParseColor to be more compatible with navigator 1998-06-25 21:37:07 +00:00
kipp 5cd48e486c Support text attribute in body tags 1998-06-25 21:36:51 +00:00
kipp 1ec7c27374 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 79f6ada6b0 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 e1f8e23585 Rework the way that bullets are detected; this fixes up the http://client/nova page 1998-06-25 19:02:15 +00:00
kipp 5922d1bfa1 Link html .so properly 1998-06-25 18:38:59 +00:00
kipp 62ef571c0c Fixed library name 1998-06-25 18:38:40 +00:00
kipp 894b45c36a 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 07602ac028 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp 9e2f3ecca6 Fixed unix makefile 1998-06-25 16:58:59 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp 04388f92cf Revised page size computation 1998-06-25 15:05:35 +00:00
kipp cc626cdb79 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp aa980ae438 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 856263ab91 Added missing include line; minor tidy up as well 1998-06-25 15:01:13 +00:00
kipp 0f45fd1b7c 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 bfeb08a1fe Added CreateFrame method 1998-06-25 14:55:15 +00:00
kipp cc04a28262 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 51abae9138 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
michaelp e183f05efb 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 2b34ccf86a Added some asserts to the incremental reflow code 1998-06-24 22:05:59 +00:00
buster 670bf41c19 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 d8d860fb0b 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 c3c647c6e3 snapshot 1998-06-24 17:52:42 +00:00
troy a5129668b4 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 69e26c8efd Some incremental reflow changes 1998-06-24 04:38:52 +00:00
troy a45125c78c 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 777858f597 More project fixes 1998-06-24 01:44:20 +00:00
atotic 1fe21f0dd7 First Checked In. 1998-06-24 01:41:16 +00:00
buster ff9c9a022a now tables with precent width nested within tables with auto width work 1998-06-24 00:40:33 +00:00
buster 722a46b983 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 c51219818e Initialized mColLayoutData to nsnull 1998-06-23 22:45:26 +00:00
karnaze ea5cd1554d named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki ad7c15864e Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur ca8463d4f8 Added js dependency 1998-06-23 19:11:22 +00:00
vidur f2cccbb1e0 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 9493926876 Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00