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

1539 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com f206c224ca moving 3.23.4.1 to the tip... 1998-08-20 06:16:32 +00:00
scullin%netscape.com 9893a4e5b9 Fix hack incompatibility. 1998-08-20 00:33:26 +00:00
scullin%netscape.com eea08fe2e2 Move form element hack from branch. 1998-08-20 00:24:29 +00:00
karnaze%netscape.com 3caa200a93 removed calls to DidReflow on browse button and text area 1998-08-19 21:43:46 +00:00
buster%netscape.com ed605f9f6e fixes a layout bug where subsequent cells in a column when colspans are involved
could select the wrong starting width for the column, causing it to have the
wrong ending width.
1998-08-19 20:41:06 +00:00
buster%netscape.com 1e386bbc7c modified the resize reflow optimization so max element size is returned
if requested without triggering a reflow if the width hasn't changed.
1998-08-19 18:40:33 +00:00
troy%netscape.com 8f260929b1 Re-ordered code that adds loader object to the array of loaders 1998-08-19 18:07:27 +00:00
troy%netscape.com c3adb596d7 Changed call to UpdateView() to be synchronous. This keeps us from
going re-entrant
1998-08-19 17:45:28 +00:00
buster%netscape.com 2515e08aee improved colspan handling.
cells with colspans and specified widths divide their width provisionally between the columns they span. This provisional division is ammended by any cell in any of the effected columns that:
1) has a colspan=1, and
2) has a width specified
the widths of all other columns must be adjusted for cells like these.  Further complicating matters is that it seems <faith> that if multiple colspanning cells intersect a column and each has a width
specified such that the column would have a different width depending on which is used, only the first such cell is used </faith>.  I can neither confirm nor deny this reading the mozilla code.

I also taught the cell map how to deal with this situation:

 colspan=1 | colspan=2 | colspan=1
 colspan=1 | colspan=2 | colspan=1

This table "really" has 4 columns, but the middle cells are treated as if they have no colspan.
Trust me, it matters.  The original colspan attributes can't simply be thrown away because Mr. DOM
could come along at any time and add/remove a cell that would make them important.
1998-08-19 15:43:51 +00:00
peterl%netscape.com bb68bab7e9 handle body's marginwidth/height via a special style rule 1998-08-19 01:16:40 +00:00
peterl%netscape.com 82c8546be9 handle marginwidth/height via a special style rule 1998-08-19 01:16:21 +00:00
karnaze%netscape.com 6884445c0a marginwidth, marginheight set in <frame> is passed to sub doc and added to padding 1998-08-18 22:02:23 +00:00
troy%netscape.com 8b23990b90 Changed destructor to Interrupt() image group before realeasing reference 1998-08-18 01:43:35 +00:00
buster%netscape.com a42be9cf57 fixed nested tables for the case where both parent and child table are %-width,
and the columns are any variety of width types
1998-08-17 23:37:04 +00:00
buster%netscape.com 49d858783e fixed a memory leak where a style context was not being released when
the table cell set the table column's style.
1998-08-17 19:03:36 +00:00
karnaze%netscape.com 40765150cf removed text field and browse button of <input type=text> from content model. 1998-08-17 17:46:08 +00:00
troy%netscape.com 695e20e125 Destructor now releases ref to image maps 1998-08-15 16:25:33 +00:00
troy%netscape.com af9e04cf14 Added missing NS_INIT_REFCNT() 1998-08-15 03:24:27 +00:00
scullin%netscape.com 39b83242e3 Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
troy%netscape.com fadc4d4beb Changed destructor to release reference to child form element, and
changed Release() to not check for external references to child form
elements
1998-08-14 21:03:16 +00:00
troy%netscape.com 98936027ef Changed NS_NewHTMLInputFile() to release reference to onput text and
input browse content objects
1998-08-14 20:36:36 +00:00
buster%netscape.com c024161837 * migrated and improved some fixes from the branch to the tip
* fixes sample6, yahoo resizing
* added BasicTableLayoutStrategy::ColIsSpecifiedAsMinimumWidth helper function,
which tells us if the given column has a width attribute that means "make me as small as possible"
* nsTableFrame methods now no longer use mCellMap directly, they ask for it from
GetCellMap which gets the cell map from the first-in-flow.  Only the first-in-flow has a
cell map because the cellmap refers to the table as a single object, not to each table frame.
* Likewise, continuing table frames do not call BalanceColumnWidths or SetTableWidth
which are "global" operations.  Responsibility for these lies with the first-in-flow.
1998-08-14 16:16:43 +00:00
troy%netscape.com 358b26c689 Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
text area content objects being leaked
1998-08-14 05:21:43 +00:00
troy%netscape.com c161f261c1 Added NS_RELEASE of list box widget interface pointer 1998-08-14 04:45:30 +00:00
troy%netscape.com c804eb4ad1 Added NS_IF_RELEASE(mAttributes) to destructor 1998-08-14 03:32:39 +00:00
joki%netscape.com a185078042 Adding more window properties and slightly refCnt declaration. 1998-08-13 23:37:54 +00:00
valeski%netscape.com f93dea794e 310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct. 1998-08-13 20:09:10 +00:00
vidur%netscape.com 824d631d5e Implemented document.location. 1998-08-13 19:08:01 +00:00
joki%netscape.com c316d58438 Adding url and lineno to script evaluation 1998-08-12 23:37:50 +00:00
joki%netscape.com 3c6cb25a6b Fix script src equals problem when src contained in quotes. 1998-08-12 22:28:50 +00:00
karnaze%netscape.com 73e4145994 fixed destructor problems causing www.goto.com to crash when hitting a link 1998-08-12 21:50:11 +00:00
rods%netscape.com 4d6426e924 Change the calculation of how big the dropdown list should be. The max size
is now 20.
1998-08-12 20:05:25 +00:00
peterl%netscape.com 189579e0f1 made parse color compress whitespace first 1998-08-12 18:28:55 +00:00
kipp%netscape.com 7cfac8916c Use new forwarding macros 1998-08-12 18:00:04 +00:00
vidur%netscape.com b7ad94a52c Correctly deal with BODY tag BACKGROUND attribute that is an empty string. 1998-08-12 17:51:31 +00:00
troy%netscape.com 9fcc472d50 Fixed leak of an HTML Meta content object 1998-08-12 05:27:21 +00:00
troy%netscape.com 44835d4e51 Made sure event state manager was always released 1998-08-12 05:09:07 +00:00
joki%netscape.com edb8b34146 Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
troy%netscape.com d8d09aa319 Eliminated circular reference between table row and table cell 1998-08-12 04:45:17 +00:00
troy%netscape.com 82af4aaaf5 Added release of row group context object 1998-08-12 04:09:43 +00:00
troy%netscape.com b690d7b15c Eliminated memory leak of a content object in ProcessInitialReflow() when
doing special processing for list-item containers
1998-08-12 03:22:24 +00:00
karnaze%netscape.com 4a849eba9d ref counting, destruction fixes 1998-08-12 02:04:41 +00:00
troy%netscape.com 08a675a1ca Fixed a leak of the HTML title 1998-08-12 01:36:25 +00:00
troy%netscape.com 639e969509 Fixed leak of a bullet content object 1998-08-12 01:26:25 +00:00
troy%netscape.com 46c56f731a Added NS_RELEASE in FlushText() of interface returned from QueryInterface() 1998-08-11 22:44:28 +00:00
karnaze%netscape.com 3d225ad8ac removed references to nsIWebFrame 1998-08-11 21:13:37 +00:00
karnaze%netscape.com 4d747b5c56 put back previous sizing of text fields due to changes in fixed width font 1998-08-11 19:07:25 +00:00
karnaze%netscape.com 6695e6c177 removed nsIWebFrame 1998-08-11 18:52:35 +00:00
buster%netscape.com fad1e52668 first cut at implementing %-width columns inside of auto-width tables.
This is about 50% done, which covers about 90% of the cases.
1998-08-11 18:42:10 +00:00
kipp%netscape.com 432127395e Work around frame-appended reflows that don't grow the child of the body 1998-08-11 17:38:46 +00:00
karnaze%netscape.com 1c9c06291f added missing NS_RELEASE statements 1998-08-11 16:52:05 +00:00
kipp%netscape.com 1a2351620b Elminated top/bottom margins around center tags 1998-08-11 15:32:12 +00:00
kipp%netscape.com bcf5a7235b Make sure text at the end of the document is reflowed properly 1998-08-11 00:19:11 +00:00
peterl%netscape.com bc1110caa7 connected LINKed style sheets 1998-08-10 23:02:39 +00:00
peterl%netscape.com 3276d26bc6 connect marginwidth & marginheight in body tag 1998-08-10 21:50:32 +00:00
rods%netscape.com 3e77497f64 Fixed edge case for selection, selection at starting of line and moving to new content. 1998-08-10 17:46:34 +00:00
kipp%netscape.com bc2b4662fd Fixed documents w/o titles bug #313016 1998-08-10 17:39:48 +00:00
karnaze%netscape.com 1e4f857439 fixed "return" submission on a single text field 1998-08-10 17:26:20 +00:00
karnaze%netscape.com 6837a9ba6b adjusted sizing for text controls; default control is text; assertion cleanup 1998-08-10 04:28:17 +00:00
joki%netscape.com ec9313f3d7 Move disassociation of frame from view up from destructor to DeleteFrame to prevent event entrance during destruction 1998-08-10 02:28:23 +00:00
buster%netscape.com 0824132571 percent-width nested tables in fixed-width cells now use the computed
column width if available for computing their own width.
1998-08-10 02:16:18 +00:00
karnaze%netscape.com 2638dac692 added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it. 1998-08-10 01:01:27 +00:00
joki%netscape.com b45f46d744 Partial fix for frame based and general memory leaks of webshells and prescontexts 1998-08-09 07:43:22 +00:00
troy%netscape.com acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
vidur%netscape.com b1f5f748ae Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement. 1998-08-07 23:08:00 +00:00
buster%netscape.com 43c4537038 bug #312932. fixes nested tables with percent widths that also have
content with percent widths.
1998-08-07 21:53:27 +00:00
rods%netscape.com 8dace2bf02 Shift click (without first clicking) no longer crashes the viewer 1998-08-07 20:15:36 +00:00
rods%netscape.com 41198541c5 Select All no turns on selection in the document and renders it selected. 1998-08-07 20:14:39 +00:00
troy%netscape.com a09b9a211e Removed MoveTo() and SizeTo() member functions that were for debug
purposes, and are no longer needed
1998-08-07 18:17:34 +00:00
karnaze%netscape.com 6dd5e7e32f removed overloaded GetAttribute on nsInput 1998-08-07 17:39:27 +00:00
rods%netscape.com aa71eea6d7 Bug fixes for memory crash, and added blue triangle instead of red line 1998-08-07 16:14:07 +00:00
joki%netscape.com c947a7da15 Fix mouseover in url messages by initializing event result messages. 1998-08-07 08:11:20 +00:00
joki%netscape.com c6c0021911 Added support for click event on form buttons 1998-08-07 05:19:07 +00:00
joki%netscape.com 9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
peterl%netscape.com 7c644d95bd fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com 184554a885 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com 711e9a2d5e fixed font face support 1998-08-07 02:16:38 +00:00
buster%netscape.com 79c1b74a7a synch with branch
fixed the following bugs: 312653 312656 312655
the fixes were:

1. cells now inherit their bgcolor from the row, if available.  This is the
Nav4 way of drawing row bgcolor, rather than having the row paint its own bgcolor. (Troy, I intend to make this conditional
based on the compatibility mode)

2. colspans across cols that are all specified width no longer try to proportionately
divide the width of the span between the cols.  see http://www.city.net (now it's really fixed, without breaking nested tables in
constrained situations.)  A happy side effect is nested tables in general behave better when constrained.

3. min table sizes are fixed, so min width changes to content now effect the
table correctly during incremental reflow.  This fixes the table layout portion of the bugs on the http://www.aol.com/corp tree.
Rick will check in the other half of this fix soon.  Until then, don't expect to see much improvement.

4. fixed bug 312799.  Table cell now always reserve at least the maxElementSize
of its content, fixing problems when desiredSize<maxElementSize
1998-08-07 02:11:51 +00:00
kipp%netscape.com ed342c9a6c Fixed embed/flush-text bug #312433 1998-08-07 01:49:12 +00:00
kipp%netscape.com 8a88e31cb1 Landed changes made on branch (bug #312572) 1998-08-06 19:52:48 +00:00
karnaze%netscape.com a906af34fb implemented border, frameborder attributes in <frameset> 1998-08-06 19:40:37 +00:00
rods%netscape.com 5fccb3fd81 Memory Leak in selection and a crash bug where a stack varible is being deleted. 1998-08-06 19:28:44 +00:00
rods%netscape.com cc8fe3270d Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)
1998-08-06 16:29:45 +00:00
joki%netscape.com 98d57cce13 Fix links not working. 1998-08-06 07:55:05 +00:00
rods%netscape.com 7dcb5fc234 Additional selection changes 1998-08-05 22:38:24 +00:00
karnaze%netscape.com 8cdf00711c support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero 1998-08-05 22:24:56 +00:00
rods%netscape.com 34c7b49f32 Fixed a warning in SelectAll 1998-08-05 22:23:03 +00:00
kipp%netscape.com 6320072fb6 Added decls for framesets 1998-08-05 22:08:33 +00:00
pierre%netscape.com ba71521ad0 added several files in "base", "events" and "html/document" groups 1998-08-05 08:29:20 +00:00
michaelp%netscape.com 2de3fff6bf added tags for plugins. 1998-08-05 04:22:51 +00:00
karnaze%netscape.com ee42a9cf3b fixed bug when size=0 is specified on form control 1998-08-05 02:16:26 +00:00
kipp%netscape.com 0ab074cc00 Added an assertion and a little more debug noise when nspr logging is maxed out 1998-08-05 01:43:42 +00:00
kipp%netscape.com f3c99bef88 Use flexible library naming 1998-08-05 01:40:20 +00:00
kipp%netscape.com b2995cbf59 Fix windows build to use js3250.dll 1998-08-05 01:33:07 +00:00
kipp%netscape.com 7f87aceca7 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
troy%netscape.com faeb2e1fc8 Removed some annoying printf messages 1998-08-04 21:44:42 +00:00
kipp%netscape.com 8336495451 Reworked floater handling and sanitized space manager usage 1998-08-04 21:18:16 +00:00
kipp%netscape.com b89e62ef43 Updates for better floater support 1998-08-04 21:17:56 +00:00
kipp%netscape.com 4c615158e5 Cleanup frame-first-reflow bit 1998-08-04 21:17:18 +00:00
kipp%netscape.com ae175bee39 snapshot 1998-08-04 21:16:58 +00:00
kipp%netscape.com 76ee6f6886 Tell line layout about floater 1998-08-04 21:16:32 +00:00
kipp%netscape.com 8b5c4ba1ab Enable refresh after document is loaded 1998-08-04 21:16:13 +00:00
karnaze%netscape.com f76f781af8 form submission on carriage return in some cases; replaced NS_RELEASE with NS_IF_RELEASE in nsFrame destructor 1998-08-04 18:19:51 +00:00
buster%netscape.com f8fb32ab12 removed an overly-aggressive assertion that prevents nested tables from laying out 1998-08-04 17:16:56 +00:00
buster%netscape.com 3aa831cc71 backed out a mistake from my last checkin. table min sizes are ok again 1998-08-04 00:56:57 +00:00
vidur%netscape.com 856891ed81 Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection. 1998-08-04 00:05:22 +00:00
rods%netscape.com d2d63295af Fixed the release problem on shell and doc and added a default paramenter to
Display Selection
1998-08-03 23:39:16 +00:00
troy%netscape.com 51a8b8dc9a Added ASSERT for the case where we get passed a reflow reason of initial
when we've already been reflowed once
1998-08-03 23:29:35 +00:00
rods%netscape.com e5af87628b Small selection fix, force update when frane changes but content stays the same. 1998-08-03 22:53:27 +00:00
rods%netscape.com eefb22bc87 Added ref counting for nsIContent, made selection rendering changes 1998-08-03 22:23:32 +00:00
rods%netscape.com 283a8c963e Added ref counting for nsIContent and made a a lot of fixes to selection 1998-08-03 22:22:27 +00:00
rods%netscape.com b2aa449610 Added ref counting on nsIContent and changed select all to only select the body
and it's content
1998-08-03 22:21:53 +00:00
rods%netscape.com 7ca2c5414e Added ref counting on nsIContent 1998-08-03 22:20:41 +00:00
rods%netscape.com c09f6b9e1b Added ref counting 1998-08-03 22:19:40 +00:00
buster%netscape.com 5fb7fd0dc2 fixed this case: (an image tag with no width attribute) inside (a specified-width column) inside
(a nested table with specified width) inside (an auto-width column)
inside (a specified-width table).  Got that?
The problem was that we we not setting state correctly during incremental reflow
when the image returned its proper metrics after giving default metrics that
were for its ALT text.
1998-08-03 20:27:59 +00:00
kipp%netscape.com f13723d5d8 Fixed reference counting bugs with OPTION tag handling 1998-08-03 19:21:26 +00:00
karnaze%netscape.com 94ba1901d6 fixed bug where <select> assummed all children were <option>s 1998-08-03 19:04:55 +00:00
kipp%netscape.com d000582645 Undid previous change because it didn't work right (doh) 1998-08-03 18:12:42 +00:00
kipp%netscape.com 1bc8c6c12a Disable VerifyTree for now 1998-08-03 18:12:13 +00:00
buster%netscape.com 87f4d49865 HR's min width is its specified width, if there is one.
Otherwise, it's one pixel for "springy-ness"
1998-08-03 17:17:50 +00:00
kipp%netscape.com 451a1c64b2 Stub out VerifyTree to avoid crashes; remove List methods and add in ListTag methods so that listings look better 1998-08-03 17:09:37 +00:00
kipp%netscape.com 82f2dbfb81 Pre-size the text-run array to reduce the number of malloc/free's 1998-08-03 17:08:57 +00:00
kipp%netscape.com 4bbc126edf Added finer grained DidReflow code and then disabled it until we solve the nested view x,y problem 1998-08-03 17:07:44 +00:00
kipp%netscape.com 799ce8db71 Use FirstChild method so that implementation can be reused by subclasses 1998-08-03 17:06:42 +00:00
troy%netscape.com 09c36ef1f5 Device context changes 1998-08-03 04:51:17 +00:00
troy%netscape.com 7f199e117a Added NS_IF_RELEASE of mImage 1998-08-02 17:03:08 +00:00
joki%netscape.com 849a2287e6 Fix bug 311157, mouseover crashes release builds. 1998-08-02 04:15:08 +00:00
michaelp%netscape.com 3b372e2026 another hack to get Unix to be happy. 1998-08-01 23:02:14 +00:00
buster%netscape.com d1810c5bd8 made auto-width tables that have all-fixed-width columns act like
fixed-width tables.
1998-08-01 20:31:40 +00:00
joki%netscape.com 26c18d9049 Adding submit and reset events 1998-08-01 20:30:11 +00:00
michaelp%netscape.com ef12e2e29f plugin changes. 1998-08-01 05:47:53 +00:00
buster%netscape.com a45b2ebb58 *** empty log message *** 1998-08-01 02:36:31 +00:00
buster%netscape.com 1d94952b0c *** empty log message *** 1998-08-01 02:32:27 +00:00
buster%netscape.com c0e2de3c56 fixed cases where we were not computing the table width correctly
fixed cases where we were inappropriately portioning out
a spanning cell's min width to the columns it spanned.
1998-08-01 02:31:55 +00:00
buster%netscape.com 705f18b571 fixed a memory leak on a style context 1998-08-01 02:30:35 +00:00
peterl%netscape.com 714146a525 rounding support 1998-07-31 23:34:45 +00:00
joki%netscape.com 100d4303d8 Change AddScriptListener call to get EventManager from window, not tag content 1998-07-31 22:53:00 +00:00
joki%netscape.com fa57426559 Filling out document event handlers, adding form events 1998-07-31 22:09:51 +00:00
joki%netscape.com fe390a0803 Adding support for event handlers in html tags and moving event handler IIDs to central file. 1998-07-31 18:21:37 +00:00
karnaze%netscape.com 7cebdad701 temporary fix of bug causing www.stocksite.com to crash 1998-07-31 17:47:50 +00:00
peterl%netscape.com cdf487bf43 connected prefs 1998-07-31 06:02:06 +00:00
peterl%netscape.com 094f51e1e6 renamed LoadImage 1998-07-31 05:59:31 +00:00
peterl%netscape.com bc1d1dbcbb connected prefs to the webshell 1998-07-31 05:58:41 +00:00
peterl%netscape.com d3024f8eb7 cleaned up 1998-07-31 05:58:13 +00:00
peterl%netscape.com 66acecae66 renamed LoadImage to avoid conflicts with windows headers 1998-07-31 05:55:41 +00:00
peterl%netscape.com 9dc8df6594 connected prefs
added compatibility mode
1998-07-31 05:54:59 +00:00
karnaze%netscape.com fc265fd305 sizing improvements of form controls for nav4 compatibility 1998-07-31 05:22:35 +00:00
buster%netscape.com 1ed0f3ea0a LengthOf defined in both debug and non-debug builds 1998-07-31 01:40:21 +00:00
buster%netscape.com ff35c20a64 we now paint backgrounds regardless of our content. Cell borders are
still conditionally painted based on whether the cell's content has
0=size or not.
1998-07-31 00:32:27 +00:00
buster%netscape.com 0e9212b3a8 fixed an error where min width of col spanners were getting proportionately distributed
only desired width gets distributed, not min size.
1998-07-31 00:31:09 +00:00
michaelp%netscape.com 4ce7ab5a99 improved performance of background rendering. 1998-07-30 23:31:42 +00:00
spider%netscape.com 257a2dec72 XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
troy%netscape.com 97f44b821e Removed assertion in image complete code that assumed we have gotten at
least one pixmap update notification
1998-07-30 22:24:11 +00:00
karnaze%netscape.com 8e54395b27 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize 1998-07-30 21:25:35 +00:00
buster%netscape.com d0afc21169 fixed non-Debug build by making LengthOf part of both debug and non-Debug builds 1998-07-30 19:54:17 +00:00
troy%netscape.com 81e0cb7584 Added some calls to NS_RELEASE() when exiting the function 1998-07-30 17:46:33 +00:00
troy%netscape.com 9964053935 Re-ordered some code to ensure we don't miss a Release() call 1998-07-30 17:39:41 +00:00
troy%netscape.com a4ab4c3b6f Added XXX comment about the lack of proper ref counting... 1998-07-30 17:30:44 +00:00
kipp%netscape.com 16d7855b70 Moved root creation into WillBuildModel; added code to enable refresh of the display on the first StartLayout call 1998-07-30 16:06:22 +00:00
troy%netscape.com 961f75c4e0 Changed BuildCellMap() to iterate table cell frames using the sibling
list instead of ChildAt()
1998-07-30 04:50:38 +00:00
troy%netscape.com 3766ec4048 Changed nsString to nsAutoString to eliminate heap allocation 1998-07-30 02:49:13 +00:00
troy%netscape.com b02d039f0a Changed CreateFrame() to do quick style resolution for text by calling
ResolvePseudoStyleContextFor()
1998-07-29 23:31:56 +00:00
kipp%netscape.com 7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp%netscape.com 6123acf9b9 Disabled widget&view for now; render the object so that people know code is coming 1998-07-29 19:33:48 +00:00
kipp%netscape.com 4a9fb58cf0 Tidy up the rendering; don't take space when show-borders is on 1998-07-29 19:33:27 +00:00
kipp%netscape.com d36f453987 When debugging allow zero width/height frames to render; do not render show-borders around them however 1998-07-29 19:33:00 +00:00
rpotts%netscape.com c22db3a910 Added a missing Release() which should allow the nsDocument to be destroyed... 1998-07-29 10:47:52 +00:00
kipp%netscape.com ec0320c95f Release font metrics when done 1998-07-29 04:06:37 +00:00
kipp%netscape.com 360dc68e35 Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression 1998-07-29 04:05:49 +00:00
kipp%netscape.com 06d95d348f Added support for hspace and vspace style attributes 1998-07-29 04:05:04 +00:00
kipp%netscape.com 305dace5b7 Added missing NS_RELEASE call 1998-07-29 04:04:39 +00:00
kipp%netscape.com 4a0c3e1318 Added code to try (poorly unfortunately) to give events to floating objects before regular objects 1998-07-29 04:04:01 +00:00
kipp%netscape.com bd2c231f25 cleaned up handling of list bullets; fixed FindFloaters to not recurse into child blocks (doh!); get x,y coordinate right for blocks that don't implement IRunAround; place floaters in nested blocks properly 1998-07-29 04:03:12 +00:00
kipp%netscape.com 9e71829460 When computing the max avail space for a frame, allow zero as a legal answer so that zero width objects on the same line stay on the line (e.g. BR's); fixed reflow routines to translate the spacemanager x,y 1998-07-29 03:59:33 +00:00
kipp%netscape.com 16f7bd14fb updated 1998-07-29 03:57:40 +00:00
kipp%netscape.com 632e200402 Setup metrics better for closer navigator compatability (and fix a bug) 1998-07-28 23:34:01 +00:00
kipp%netscape.com 8469091965 Bottom align BR's to make the compatible with nav 1998-07-28 23:33:31 +00:00
pierre%netscape.com 7da9dd2cd7 updated to Windows make file 1998-07-28 04:07:50 +00:00
buster%netscape.com 906c36bf12 fix for distributing spanned width that is less than the column minimums it spans. 1998-07-28 00:23:01 +00:00
buster%netscape.com ef37113511 more span fixes 1998-07-27 23:47:54 +00:00
rods%netscape.com 820bcabd0b removed DO_SELECTION #define 1998-07-27 23:20:35 +00:00
rods%netscape.com 25cac1e6bf Added processing for the mouse up event 1998-07-27 23:17:10 +00:00
michaelp%netscape.com c9901356f0 hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
michaelp%netscape.com b636c3052c made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
kostello%netscape.com f6774809de Added support for the copy command (converting the selection to XIF)
Changed XIF interface
1998-07-27 18:11:14 +00:00
kostello%netscape.com 4d8c0d4150 Added support for saving the selection (important for copy).
Change XIF interfaces
1998-07-27 18:08:58 +00:00
kostello%netscape.com 62bfa2bc37 Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces
1998-07-27 18:05:35 +00:00
kipp%netscape.com ed8adc5505 Added some trace messages 1998-07-27 18:05:11 +00:00
kipp%netscape.com b2cb7b5ecd Disable releasing atoms for now 1998-07-27 18:04:58 +00:00
kipp%netscape.com 766f73551f Added some more logging; discard dangling frame's 1998-07-27 18:04:38 +00:00
kostello%netscape.com 72d5a37b2b Changed XIF interface 1998-07-27 18:04:04 +00:00
kostello%netscape.com d6527ec8ad Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
1998-07-27 18:03:16 +00:00
kipp%netscape.com b8f37859fb Added nsImageDocument 1998-07-27 18:01:06 +00:00
kipp%netscape.com 5fc2d393bc snapshot 1998-07-27 17:55:17 +00:00
kipp%netscape.com 28446346a6 REference NS_NewImageDocument too 1998-07-27 17:51:56 +00:00
kipp%netscape.com 657c9d59c5 Added NS_NewImageDocument 1998-07-27 17:51:42 +00:00
kipp%netscape.com 64244e3017 new 1998-07-27 17:50:58 +00:00
dcone%netscape.com 3079fb0445 Added nsEventListenerManager.h 1998-07-27 16:29:58 +00:00
dcone%netscape.com 7cf65076d0 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h 1998-07-27 16:29:24 +00:00
dcone%netscape.com e3ef192bdb Added manifiest file so the nsIEventListenerManager could be public 1998-07-27 15:30:14 +00:00
dcone%netscape.com b660c245b3 Added this file so nsEventListenerManager.h is public 1998-07-27 14:41:36 +00:00
buster%netscape.com fb448713fb empty cells do not render border or background color 1998-07-27 07:37:57 +00:00
buster%netscape.com 01cb1091bc minor fixes for spans 1998-07-27 07:20:03 +00:00
karnaze%netscape.com 9c030a8f5c more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +00:00
buster%netscape.com 4aa30464e2 cleaner version of earlier code. still buggy on some pages for no apparent reason. 1998-07-27 05:32:50 +00:00
buster%netscape.com 5bc08af6bc *** empty log message *** 1998-07-27 03:02:32 +00:00
buster%netscape.com b0820f4994 much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be
added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.
1998-07-27 02:15:37 +00:00
troy%netscape.com 7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
buster%netscape.com cb77901bc4 COLS attribute ignored if any column width info is specified (like <TD width=100>)
fixed lots of COLS related bugs.
handle min width spec (<TD width=0 or width=0% or width=0*>)
major fix to colspan handling
1998-07-26 04:23:01 +00:00
peterl%netscape.com e4af0f2495 fixed build on unix 1998-07-25 02:17:13 +00:00
joki%netscape.com 98a6e7f5d1 Fix for missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:15 +00:00
peterl%netscape.com 8cae022e89 added accessor for html style sheet 1998-07-25 01:26:12 +00:00
peterl%netscape.com ab09d83870 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com 62cb905c58 made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com 7ecf7edd80 added body link color support 1998-07-25 01:20:48 +00:00
peterl%netscape.com cc19e3c20d added bosy link color support
added font scaling support
1998-07-25 01:17:42 +00:00
peterl%netscape.com d6a3e2103a added Nav's magic font scaler 1998-07-25 01:11:49 +00:00
vidur%netscape.com 92e85525b5 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes 1998-07-25 00:31:52 +00:00
buster%netscape.com c2cb496f85 NOWRAP turned off in fixed-width cells for backwards compatibility
we handle inconsistent width attributes better
1998-07-24 23:26:23 +00:00
michaelp%netscape.com 837d1a9ae0 added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
kipp%netscape.com d1cf32dce8 snapshot 1998-07-24 18:20:55 +00:00
kipp%netscape.com ff4f467280 Added base tag support 1998-07-24 18:20:27 +00:00
kipp%netscape.com 54f2957e25 support base href/target 1998-07-24 18:18:05 +00:00
kipp%netscape.com ee3c9d1293 Support base_href attributes 1998-07-24 18:17:36 +00:00
kipp%netscape.com 5a60518848 New atoms for base tag handling 1998-07-24 18:16:24 +00:00
buster%netscape.com ccdd156af5 turn off debug 1998-07-24 17:15:12 +00:00
buster%netscape.com cc50c03239 GetColCount now returns the effective column count of the table, adjusted
for nonsense COLSPANs at the edge of a table.  Fixed some bugs this uncovered
where the cell was being asked for its colspan attribute rather than the table
being asked for the cell's effective col span.
1998-07-24 16:51:16 +00:00
kipp%netscape.com de4d61cd11 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
rpotts%netscape.com 17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts%netscape.com 9049f19d16 When stopping a TextTimer Cancel(...) the nsTimer before releasing it... 1998-07-24 05:41:34 +00:00
joki%netscape.com f85ed9ce71 Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
buster%netscape.com 8194f070cf fixed column balancing for case where minColWidth > specifiedFixedColumnWidth 1998-07-24 03:53:59 +00:00
troy%netscape.com ab555eff47 Changed PaintChildren() to check for lines that intersect the damage
area
1998-07-24 03:18:35 +00:00
buster%netscape.com 911380aeb5 any table with a nonsense rowspan lays out better 1998-07-24 00:43:09 +00:00
troy%netscape.com bf11c1e307 CHanged Invalidate() to pass the NS_VMREFRESH_NO_SYNC flag. Temporary
measure to keep us from painting before the DidReflow() notifications
have been sent...
1998-07-24 00:01:53 +00:00
troy%netscape.com 34af0e1d92 Tweaked the repaint code in Reflow() to make sure the entire frame is
repainted for a resize reflow
1998-07-23 23:28:03 +00:00
kipp%netscape.com e91ad473c2 Use proper cast path for query-interfaces 1998-07-23 23:13:39 +00:00
vidur%netscape.com 8547dd423c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
dcone%netscape.com 9d2025a71d added manifest file 1998-07-23 22:05:51 +00:00
buster%netscape.com 4ad5fcf455 completed AdjustTableThatIsTooWide, now gets the table down to the right width. 1998-07-23 21:55:45 +00:00
michaelp%netscape.com 229931e725 unix will build again... 1998-07-23 21:54:26 +00:00
troy%netscape.com b97023bc6c Added XXX description of floater problem 1998-07-23 21:35:53 +00:00
troy%netscape.com 825a176c6f Fixed nbody code to do a WillReflow() and to size the frame when incrementally
reflowing an absolutely positioned frame
1998-07-23 21:16:09 +00:00
michaelp%netscape.com 96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
dcone%netscape.com 8bd0bfe854 first version of manifest for this directory 1998-07-23 20:31:35 +00:00
troy%netscape.com 37a9603e3b Moved cde that does damage repair for a resize reflow from the
body to the root content frame
1998-07-23 20:19:05 +00:00
kipp%netscape.com 9d7cbfff3b new 1998-07-23 19:58:09 +00:00
kipp%netscape.com 7d9dcb23b5 Removed hack reflow code now that body/block do it properly 1998-07-23 19:56:11 +00:00
kipp%netscape.com c233b72b56 Handle floaters better by triggering a resize-reflow on the body's content frame after reflowing the floater 1998-07-23 19:55:27 +00:00
kipp%netscape.com f9ce8ce6a7 Fix floater placement by removing it's old location before adding it again; use proper reflow state when getting a floaters style-size; don't forget to place below-current-line-floaters on frame-appended reflow 1998-07-23 19:54:44 +00:00