4110 Commits

Author SHA1 Message Date
troy%netscape.com
08b0ac1ce2 Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
troy%netscape.com
296ff668fa Added support for "box-sizing" style property
git-svn-id: svn://10.0.0.236/trunk@41416 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:51:37 +00:00
harishd%netscape.com
6fd9346db6 EnableParse() returns nsresult.
git-svn-id: svn://10.0.0.236/trunk@41357 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:33:16 +00:00
kmcclusk%netscape.com
4da058a9e8 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.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
ftang%netscape.com
8b4d6e129c 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.
git-svn-id: svn://10.0.0.236/trunk@41292 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:47:24 +00:00
troy%netscape.com
dd72d8029f Changed root frame class over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41287 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:15:42 +00:00
troy%netscape.com
177b8110fa 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


git-svn-id: svn://10.0.0.236/trunk@41286 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:13:09 +00:00
dcone%netscape.com
1bc77a488a Fixed background rendering
git-svn-id: svn://10.0.0.236/trunk@41258 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 06:41:34 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
karnaze%netscape.com
36aa58a4f4 more test cases
git-svn-id: svn://10.0.0.236/trunk@41212 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 02:00:01 +00:00
av%netscape.com
48b8cdd78f fixing bug #8290
git-svn-id: svn://10.0.0.236/trunk@41205 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:35:30 +00:00
troy%netscape.com
6b27e8cd0c 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


git-svn-id: svn://10.0.0.236/trunk@41181 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:48:47 +00:00
karnaze%netscape.com
9330f3cc8b new regression tests
git-svn-id: svn://10.0.0.236/trunk@41143 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 16:18:49 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
nisheeth%netscape.com
0069328861 - 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.


git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
buster%netscape.com
e7c1159441 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.


git-svn-id: svn://10.0.0.236/trunk@41055 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:04:51 +00:00
troy%netscape.com
e5d671b720 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


git-svn-id: svn://10.0.0.236/trunk@41023 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 23:08:34 +00:00
troy%netscape.com
fca2c43f1f Cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:41:15 +00:00
peterl%netscape.com
4c73c7609e Cleaned up attribute parsing so that illegal values are preserved as strings
git-svn-id: svn://10.0.0.236/trunk@40994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:55:35 +00:00
peterl%netscape.com
d95df4dc2d fixed warnings
git-svn-id: svn://10.0.0.236/trunk@40992 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:05:17 +00:00
peterl%netscape.com
97f9eb5ee1 added experimental CSS3 properties
git-svn-id: svn://10.0.0.236/trunk@40991 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:04:42 +00:00
peterl%netscape.com
bcadfff6c1 added debug code for netlib weirdage
git-svn-id: svn://10.0.0.236/trunk@40990 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:04:22 +00:00
peterl%netscape.com
af5128f77d added basic support for inline-block
git-svn-id: svn://10.0.0.236/trunk@40989 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:01:43 +00:00
peterl%netscape.com
1216b60c2b added char unit output support
git-svn-id: svn://10.0.0.236/trunk@40988 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:00:42 +00:00
sspitzer%netscape.com
a34256b4a5 fix for Solaris bustage. Following mcafee's earlier fixes.
git-svn-id: svn://10.0.0.236/trunk@40978 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 15:53:19 +00:00
troy%netscape.com
391149c4d4 Moved code that repaints after a resize or initial reflow to the viewport
git-svn-id: svn://10.0.0.236/trunk@40977 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 15:18:24 +00:00
troy%netscape.com
6297f61432 Changed to use the new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40963 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:59:47 +00:00
troy%netscape.com
1f10b16dec Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used


git-svn-id: svn://10.0.0.236/trunk@40962 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:58:35 +00:00
troy%netscape.com
37565e5645 Renamed a member function to more accurately reflect its purpose
git-svn-id: svn://10.0.0.236/trunk@40956 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:46:08 +00:00
troy%netscape.com
448fbdd0ee Changed area frame code over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:45 +00:00
troy%netscape.com
59f067c692 Added VerifyDirtyBitSet() helper function
git-svn-id: svn://10.0.0.236/trunk@40954 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:06 +00:00
morse%netscape.com
05e0844b4a Remove wallet from layout
git-svn-id: svn://10.0.0.236/trunk@40944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 01:39:58 +00:00
hyatt%netscape.com
52ebdc69b8 oops. crazy_width only defined for debug builds. Changing this.
git-svn-id: svn://10.0.0.236/trunk@40938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 00:32:21 +00:00
hyatt%netscape.com
d5b584d48c Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.


git-svn-id: svn://10.0.0.236/trunk@40934 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 23:41:05 +00:00
sfraser%netscape.com
6abdbb4fa4 Fix Mac startup crash: nil check for prefs.
git-svn-id: svn://10.0.0.236/trunk@40932 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 22:23:13 +00:00
hyatt%netscape.com
888af6b43a 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.


git-svn-id: svn://10.0.0.236/trunk@40926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 20:32:18 +00:00
hyatt%netscape.com
f4ec94c153 Adding the capability to distinguish menus and menu items.
git-svn-id: svn://10.0.0.236/trunk@40817 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 05:11:49 +00:00
rods%netscape.com
dcffac81c3 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.


git-svn-id: svn://10.0.0.236/trunk@40777 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 02:25:17 +00:00
scc%netscape.com
ed86a6a75d Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!


git-svn-id: svn://10.0.0.236/trunk@40749 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 00:11:21 +00:00
sfraser%netscape.com
1e6d3a3340 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[].
git-svn-id: svn://10.0.0.236/trunk@40743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:48:48 +00:00
vidur%netscape.com
ec6663824d Forms can now be container content.
git-svn-id: svn://10.0.0.236/trunk@40735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:28:16 +00:00
pollmann%netscape.com
203c71adbd Bug 10301: Check base target for image maps
git-svn-id: svn://10.0.0.236/trunk@40679 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:47:23 +00:00
pollmann%netscape.com
6b835b1af9 Bug 5403: Release services properly
git-svn-id: svn://10.0.0.236/trunk@40672 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:32:49 +00:00
pollmann%netscape.com
464c15169e Bug 5403: Release services properly
git-svn-id: svn://10.0.0.236/trunk@40670 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:10:10 +00:00
hyatt%netscape.com
1e949b447e Fixing my while loops. They could crash under rare circumstances.
git-svn-id: svn://10.0.0.236/trunk@40653 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 10:06:38 +00:00
scc%netscape.com
b498e2909d explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
vidur%netscape.com
7ff96c159d Deal with multiple BODY elements passed by the parser by ignoring all but the first
git-svn-id: svn://10.0.0.236/trunk@40606 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:46:57 +00:00
troy%netscape.com
73690aa1c5 Added ReplaceFrame() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:32:31 +00:00