Commit Graph
4113 Commits
Author SHA1 Message Date
troy@netscape.com 99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
troy@netscape.com c4e2a74db2 Added support for "box-sizing" style property 1999-07-28 03:51:37 +00:00
harishd@netscape.com 0648756a21 EnableParse() returns nsresult. 1999-07-27 23:33:16 +00:00
kmcclusk@netscape.com 003825881c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
ftang@netscape.com 31b679ace8 fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker. 1999-07-27 14:47:24 +00:00
troy@netscape.com 5c81e70106 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy@netscape.com 590a66f112 Fix for bug #10563 where we were triggering a post condition assertion. Changed
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone@netscape.com c3a812ef59 Fixed background rendering 1999-07-27 06:41:34 +00:00
pavlov@netscape.com a39e5b237e window creation changes 1999-07-27 04:27:17 +00:00
karnaze@netscape.com c65871e69b more test cases 1999-07-27 02:00:01 +00:00
av@netscape.com 7c5cc9301c fixing bug #8290 1999-07-27 01:35:30 +00:00
troy@netscape.com 2b95b9b80c Fix for bug #10395. Now we recalculate margins when we use the minimum or
maximum value for the computed width/height. This applies to positioned
elements only
1999-07-27 00:48:47 +00:00
karnaze@netscape.com 78ea941140 new regression tests 1999-07-26 16:18:49 +00:00
joki@netscape.com 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
nisheeth@netscape.com d162e65cd8 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
rickg@netscape.com 9e8c855244 replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy@netscape.com b06584d421 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
buster@netscape.com 64b3f9db09 With this checkin, ender-based gfx rendered text controls now work properly both as HTML text controls and XUL text fields.
GFX text controls are not enabled by default.  The primary goal of the next few days is to stabilize the tree, so I thought it would be inappropriate to enable the new
feature by default. But you can still set your nglayout.widget.mode pref to enable them.

Here's what I did:
1) backed out a small part of Simon & Kin's fix to nsGFXTextControlFrame that was mistakenly setting up the text control's webshell as a frame.  It still (correctly)
isn't doing that, but it does not set the webshell's prefs from the outer webshell.
2) for output, I now ask for format="text/plain" rather than "text/html", since (for now) these are all plain text edit controls.  Soon, this will depend on the type of
edit control
3) fixed some ownership issues between the frame, the editor, and the subdocument being edited.  This fixes an assertion on dialog destruction if the dialog included
a GFX-rendered text widget, and some memory leaks.
4) set up DOM key listeners on the editor to propogate events from the editor to the parent document, so things like form submission on Enter, and onKeyUp
handlers work.  More work is needed here for other kinds of events.
1999-07-25 18:04:51 +00:00
troy@netscape.com ce310fc14f Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
troy@netscape.com e22d4ec6cb Cleanup of reflow command handling 1999-07-24 21:41:15 +00:00
peterl@netscape.com 83ae953e4a Cleaned up attribute parsing so that illegal values are preserved as strings 1999-07-24 19:55:35 +00:00
peterl@netscape.com f7e3aff50a fixed warnings 1999-07-24 19:05:17 +00:00
peterl@netscape.com 1c4963abec added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
peterl@netscape.com 59dbe23615 added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
peterl@netscape.com a767a54df3 added basic support for inline-block 1999-07-24 19:01:43 +00:00
peterl@netscape.com 618e913fae added char unit output support 1999-07-24 19:00:42 +00:00
sspitzer@netscape.com 127f84cddf fix for Solaris bustage. Following mcafee's earlier fixes. 1999-07-24 15:53:19 +00:00
troy@netscape.com 26c822b17d Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy@netscape.com b8d0a3f3fc Changed to use the new reflow command handling 1999-07-24 03:59:47 +00:00
troy@netscape.com d08706a0e6 Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
troy@netscape.com 9e8209032b Renamed a member function to more accurately reflect its purpose 1999-07-24 02:46:08 +00:00
troy@netscape.com 84e64beb04 Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
troy@netscape.com 98c8e85c2b Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00
morse@netscape.com 42c990a692 Remove wallet from layout 1999-07-24 01:39:58 +00:00
hyatt@netscape.com 8ddc68a23e oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
hyatt@netscape.com aab60da5b4 Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.
1999-07-23 23:41:05 +00:00
sfraser@netscape.com 3bf092dbcb Fix Mac startup crash: nil check for prefs. 1999-07-23 22:23:13 +00:00
hyatt@netscape.com 012d4b7453 Fix for assertions being thrown when fixed layout tables are flowed at an
unconstrained width.  Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.
1999-07-23 20:32:18 +00:00
hyatt@netscape.com 9c2e727d5c Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
rods@netscape.com e42968d0ba Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.
1999-07-23 02:25:17 +00:00
scc@netscape.com 01af8d6640 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
sfraser@netscape.com 414ee295f1 Fix for GFX ender text widgets; don't parent nsIWebShells that the text widget creates, because you don't want them to interfere with window.frames[]. 1999-07-22 23:48:48 +00:00
vidur@netscape.com fedbce2269 Forms can now be container content. 1999-07-22 23:28:16 +00:00
pollmann@netscape.com 1c1b97a091 Bug 10301: Check base target for image maps 1999-07-22 18:47:23 +00:00
pollmann@netscape.com 595c8885a0 Bug 5403: Release services properly 1999-07-22 18:32:49 +00:00
pollmann@netscape.com 47c267cb29 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
hyatt@netscape.com 5e0bd70ffc Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
scc@netscape.com e2ea20873d explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
vidur@netscape.com 81e1792ede Deal with multiple BODY elements passed by the parser by ignoring all but the first 1999-07-22 04:46:57 +00:00
troy@netscape.com 3dd72d0e69 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00