Commit Graph

4126 Commits

Author SHA1 Message Date
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00
rods%netscape.com
417d4dd5ab Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option


git-svn-id: svn://10.0.0.236/trunk@41490 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:43:43 +00:00
rods%netscape.com
e2a7ed2062 temporary fix for reentrancy bug in HandleEvent
git-svn-id: svn://10.0.0.236/trunk@41488 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:42:37 +00:00
peterl%netscape.com
4d6131b0ce fix setting empty attributes
approved cyeh


git-svn-id: svn://10.0.0.236/trunk@41487 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:41:16 +00:00
rods%netscape.com
6464e75057 Made many changes to fix several bugs
git-svn-id: svn://10.0.0.236/trunk@41485 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:38:08 +00:00
rods%netscape.com
606e276090 Added the setting of the clip rect before drawing the button text
git-svn-id: svn://10.0.0.236/trunk@41484 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:37:22 +00:00
rods%netscape.com
fd779c3778 Added NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@41483 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:55 +00:00
rods%netscape.com
a7021cc7c2 NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method
git-svn-id: svn://10.0.0.236/trunk@41482 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:28 +00:00
karnaze%netscape.com
b7f79a3328 fixes related to crash in AC_Wrapup on optimized builds.
git-svn-id: svn://10.0.0.236/trunk@41479 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 19:43:37 +00:00
shaver%netscape.com
d786ea88d0 zero out colInfo wehen allocated to avoid startup crash and other badness
git-svn-id: svn://10.0.0.236/trunk@41478 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 18:52:04 +00:00
karnaze%netscape.com
53bf90aac1 fix mac breakage, hopefully
git-svn-id: svn://10.0.0.236/trunk@41460 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:13:44 +00:00
warren%netscape.com
d9f0756d1e Attempt to fix the mac build.
git-svn-id: svn://10.0.0.236/trunk@41459 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:56:12 +00:00
hyatt%netscape.com
40f43dfde9 Fixing karnaze's bustage.
git-svn-id: svn://10.0.0.236/trunk@41458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:55:41 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
nisheeth%netscape.com
4aa16e828e Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
vidur%netscape.com
3c5bfb7cde Added form searching for form controls that are newly created and added to the tree.
git-svn-id: svn://10.0.0.236/trunk@41432 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:26:55 +00:00
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