Commit Graph
4144 Commits
Author SHA1 Message Date
[email protected] 6c71f3d6a0 events are now propogated from the editor out to the containing document, as per Javascript/DOM spec.
onSelect doesn't work yet, I'm not sending the right event message yet.
1999-08-02 14:00:41 +00:00
[email protected] 42e86782a6 Finished cleanup of reflow command handling 1999-08-02 02:18:33 +00:00
[email protected] bc20c459b0 Reflow command cleanup 1999-08-01 22:21:03 +00:00
[email protected] a31590a4de Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
[email protected] 48918de0e5 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
[email protected] 7499f69786 Fixed incremental painting problem 1999-08-01 16:50:52 +00:00
[email protected] 35cad0c225 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
[email protected] a2c2deff75 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
[email protected] 01d27c806d Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
[email protected] b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
[email protected] 4b9ae7693e Adding interface for editor access to table layout data 1999-07-31 22:05:37 +00:00
[email protected] f9c919b756 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
[email protected] 2fa42b8d1e Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
where LoadIconImage() is succeeding but returning NULL for the icon
1999-07-31 05:59:12 +00:00
[email protected] ac0ec4c9a7 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
[email protected] d79e024e86 fix build breakage....include config.mak 1999-07-29 04:11:58 +00:00
[email protected] 1e444cc3e9 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by [email protected]. 1999-07-29 01:18:12 +00:00
[email protected] 4cc4729cef Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option
1999-07-28 21:43:43 +00:00
[email protected] 7a6b6fe748 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +00:00
[email protected] 650a11dca8 fix setting empty attributes
approved cyeh
1999-07-28 21:41:16 +00:00
[email protected] b4681eab62 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
[email protected] ce2ca16eba Added the setting of the clip rect before drawing the button text 1999-07-28 21:37:22 +00:00
[email protected] eca3652585 Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-28 21:35:55 +00:00
[email protected] 1d292f43db NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method 1999-07-28 21:35:28 +00:00
[email protected] a6e4ff24b6 fixes related to crash in AC_Wrapup on optimized builds. 1999-07-28 19:43:37 +00:00
[email protected] 73c51845d7 zero out colInfo wehen allocated to avoid startup crash and other badness 1999-07-28 18:52:04 +00:00
[email protected] f1201519ab fix mac breakage, hopefully 1999-07-28 09:13:44 +00:00
[email protected] 8192e46937 Attempt to fix the mac build. 1999-07-28 08:56:12 +00:00
[email protected] 541821e18e Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
[email protected] 0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
[email protected] fd67f88e34 Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
[email protected] 60a089e66c Added form searching for form controls that are newly created and added to the tree. 1999-07-28 05:26:55 +00:00
[email protected] 99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
[email protected] c4e2a74db2 Added support for "box-sizing" style property 1999-07-28 03:51:37 +00:00
[email protected] 0648756a21 EnableParse() returns nsresult. 1999-07-27 23:33:16 +00:00
[email protected] 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
[email protected] 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
[email protected] 5c81e70106 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
[email protected] 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
[email protected] c3a812ef59 Fixed background rendering 1999-07-27 06:41:34 +00:00
[email protected] a39e5b237e window creation changes 1999-07-27 04:27:17 +00:00
[email protected] c65871e69b more test cases 1999-07-27 02:00:01 +00:00
[email protected] 7c5cc9301c fixing bug #8290 1999-07-27 01:35:30 +00:00
[email protected] 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
[email protected] 78ea941140 new regression tests 1999-07-26 16:18:49 +00:00
[email protected] 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
[email protected] 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
[email protected] 9e8c855244 replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
[email protected] b06584d421 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
[email protected] 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
[email protected] 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