Commit Graph

4566 Commits

Author SHA1 Message Date
pollmann%netscape.com
cb70f00a3a Bug 12849: OnChange event.target is now the select instead of the option. 1999-09-07 02:16:23 +00:00
rods%netscape.com
925132c54e Fills in background color webshell gets centered and the size is large then the minium 1999-09-04 13:34:40 +00:00
pierre%netscape.com
9dab157a97 Fixed #6874 "Hover doesn't work for gfx-rendered buttons" 1999-09-04 00:15:43 +00:00
peterl%netscape.com
a8e65ff2a6 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
peterl%netscape.com
c6165d5393 fix warning 1999-09-03 23:40:22 +00:00
peterl%netscape.com
e9991bb140 remove error output for non-error conditions 1999-09-03 23:38:40 +00:00
peterl%netscape.com
1b015c684b use reparent style context 1999-09-03 23:37:37 +00:00
peterl%netscape.com
25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
peterl%netscape.com
b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
peterl%netscape.com
09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
ftang%netscape.com
31de89ab0f fix bug 13063 12881 1999-09-03 22:46:16 +00:00
danm%netscape.com
e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
rods%netscape.com
4b5adf6a1f ListControlFrame now use the nsSelectsAreaFrame to get the correct frame
when clicking in a list
removed NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN on list frames the events get routed correctly
1999-09-03 14:57:47 +00:00
rods%netscape.com
e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
rods%netscape.com
b093deaeeb it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)
1999-09-03 14:50:23 +00:00
rods%netscape.com
59740457c4 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
rods%netscape.com
2341d6fb93 during reflow it now should only reflow once for GFX widgets 1999-09-03 14:44:53 +00:00
rods%netscape.com
ec3b6092be Added nsSelectsAreaFrame.cpp to build 1999-09-03 14:38:26 +00:00
rods%netscape.com
330aa86411 added family and font size to type text and textarea 1999-09-03 14:35:17 +00:00
rods%netscape.com
9cfdd9cffd initial add (not in the build yet) 1999-09-03 14:25:15 +00:00
rods%netscape.com
a4d98e6a57 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
bruce%cybersight.com
443ae40b6e Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:42:41 +00:00
karnaze%netscape.com
cd3dbc4f8d bug 1163 - implemented bordercolor attribute on table 1999-09-03 05:06:08 +00:00
kipp%netscape.com
86e12ae621 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
kipp%netscape.com
b2b92bb835 Eliminate some useless string malloc/free's 1999-09-03 03:47:06 +00:00
buster%netscape.com
27032c0f32 just a comment about a possible bug I saw going through this code 1999-09-02 20:47:20 +00:00
buster%netscape.com
a85b0c659f fixed wrapping issues. dogfood bug 8984 1999-09-02 20:46:53 +00:00
buster%netscape.com
f73226e81f added PRInt32 GetWidthInCharacters() const; 1999-09-02 20:45:50 +00:00
buster%netscape.com
cad140c93a replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +00:00
buster%netscape.com
096cf35713 added GetDefaultColumnWidth(), replacing a hardcoded #define 1999-09-02 20:44:17 +00:00
bienvenu%netscape.com
f466ad1dda fix build bustage 1999-09-02 19:21:45 +00:00
karnaze%netscape.com
fa024d2268 I forgot to check this in last night with the other changes. 1999-09-02 18:39:10 +00:00
karnaze%netscape.com
fed4bd6496 I forgot to check this is last night with fixes for table borders. 1999-09-02 18:20:43 +00:00
joki%netscape.com
de39ff5831 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
kipp%netscape.com
ca2b2003c6 Fixed an nsString usage oopsie 1999-09-02 18:02:52 +00:00
kipp%netscape.com
b1ed8de092 Moved atom init to factory where it should have been 1999-09-02 18:02:21 +00:00
kipp%netscape.com
1e904c8b7b Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +00:00
rods%netscape.com
4b2f3e78ca commented out some unused variables to remove warnings 1999-09-02 13:51:12 +00:00
troy%netscape.com
60ea03d2ca Fix for bug #12997 1999-09-02 05:21:39 +00:00
karnaze%netscape.com
56ddbd02ab regression tests 1999-09-02 04:30:44 +00:00
karnaze%netscape.com
d52908a587 regression tests 1999-09-02 03:46:43 +00:00
karnaze%netscape.com
5b0679f4bf bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
mjudge%netscape.com
3b3c9f8b30 oops infinite loop. need to break out if no frame is found. 1999-09-02 00:04:56 +00:00
kmcclusk%netscape.com
cf4f73e939 Bug#12729 Modified SinkContext::DemoteContainer to cache the child's mForm before
Removing it. After removing it the child's mForm is reset to the cached value.
1999-09-01 21:57:01 +00:00
mjudge%netscape.com
fa5d3c3459 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine. 1999-09-01 21:40:16 +00:00
mjudge%netscape.com
9c8fd6ae78 getting rid of build warnings 1999-09-01 21:37:32 +00:00
karnaze%netscape.com
8bad55df9a new regression tests 1999-09-01 21:20:44 +00:00
kipp%netscape.com
433a754f0b Remove a warning 1999-09-01 20:59:13 +00:00
kipp%netscape.com
2489cbb7b8 Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027 1999-09-01 20:58:59 +00:00
kipp%netscape.com
ae12f6c7e5 Added in support for IE specific area types 1999-09-01 20:58:17 +00:00
kipp%netscape.com
510e253e0f Create floating frame properly (bug #2751) 1999-09-01 20:57:58 +00:00
kipp%netscape.com
121e487001 Fixed to account for the overflow hidden value when computing the combined area (bug #2751) 1999-09-01 20:57:37 +00:00
troy%netscape.com
e47c2b4fe6 Optimized IR_TargetIsChild() so in the simple case where the row frame
has no cells that span into or across the row we don't call CalculateRowHeights()
1999-09-01 05:16:12 +00:00
troy%netscape.com
7492fe49f2 Added definition for RowHasSpanningCells() 1999-09-01 04:36:47 +00:00
troy%netscape.com
8ca21e9d4e Fixed compiler warning 1999-09-01 04:32:45 +00:00
mscott%netscape.com
d3ffd930a4 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs
1999-09-01 04:11:17 +00:00
kipp%netscape.com
1ea958d508 Added missing #ifdef's 1999-09-01 02:03:50 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
troy%netscape.com
3688b0a7ce Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com
30b60e57f2 Disable empty text frame removal; tweaked a few lines to be more compiler friendly 1999-09-01 01:00:25 +00:00
nisheeth%netscape.com
dfd7b5d559 - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
rods%netscape.com
e826861c50 option (dropdown) fonts now match the select 1999-08-31 14:22:56 +00:00
rods%netscape.com
88b7272f14 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge 1999-08-31 14:16:02 +00:00
rods%netscape.com
7545b1a8cf Added AbsolutelyPositionDropDown 1999-08-31 13:23:15 +00:00
rods%netscape.com
c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
0706193578 Added SynViewWithFrame 1999-08-31 13:22:45 +00:00
rods%netscape.com
0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods%netscape.com
3bca354587 uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods%netscape.com
596cd15f00 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.
1999-08-31 13:03:38 +00:00
rods%netscape.com
c3ade2023a removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
nisheeth%netscape.com
d3eaaedcfb The HTML Content sink now generates content IDs for each of the content objects it creates. The IDs start at NS_CONTENT_ID_COUNTER_BASE, defined in nsIContentSink.h, and increase monotonically as content objects get created. 1999-08-31 11:17:26 +00:00
nisheeth%netscape.com
a3d25a6149 Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
waterson%netscape.com
64c56ebd1f Fix nsCOMPtr --pedantic bustage. 1999-08-31 07:14:54 +00:00
troy%netscape.com
33c2ac2603 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +00:00
kipp%netscape.com
9f71d4027a Tally up lineBox's and textRun's seperately 1999-08-31 04:32:13 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
a208673213 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
evaughan%netscape.com
f19bc0e464 Numberous fixes 1999-08-30 22:32:25 +00:00
troy%netscape.com
a7a27982af Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
kmcclusk%netscape.com
ed5ecc24cc Removed compiler warning in nsFormControlHelper::PaintCircularBackground 1999-08-30 22:29:11 +00:00
kmcclusk%netscape.com
f52576ec61 bug #1222. Changed color for selected color for gfx-combobox options to match the
dark blue specified for gfx-listbox options.
1999-08-30 22:26:34 +00:00
buster%netscape.com
5b9c4e9270 clean up: better error handling and minor performance fixes 1999-08-30 22:14:44 +00:00
karnaze%netscape.com
23e30e42c8 backed out fix for bug 6674 because it broke resizing collapsing rows 1999-08-30 22:00:12 +00:00
kin%netscape.com
5fb0f43078 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.
1999-08-30 21:55:02 +00:00
kin%netscape.com
bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
hyatt%netscape.com
415182cc05 Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.
1999-08-30 00:01:09 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
hyatt%netscape.com
d67f1ece67 Teaching the fixed layout strategy how to deal with relative/proportional specified
widths.
1999-08-29 06:00:32 +00:00
troy%netscape.com
20364c9f5a Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
troy%netscape.com
c4d6cf70d3 Fix for bug #12751. Optimized PaintBorder() so if the dirty rect is completely
inside of the border rect, then we don't paint anything. This speed up
incremental painting
1999-08-29 03:25:56 +00:00
sspitzer%netscape.com
ed2973bf46 fix pedantic build bustage. 1999-08-28 16:55:31 +00:00
hyatt%netscape.com
76da3e3cf9 Enabling tree row frames. 1999-08-28 00:45:18 +00:00
hyatt%netscape.com
dc1ee7e3f6 Tweaks to be able to see the RowReflowState over in trees 1999-08-28 00:43:53 +00:00
troy%netscape.com
ea250c6886 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
8a8625d5eb Fixed crash when a frame is skipped and we are in a first-letter situation (doh) 1999-08-27 22:53:18 +00:00
kipp%netscape.com
52db05b1bf Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden' 1999-08-27 21:53:04 +00:00
kipp%netscape.com
78d89afc45 Fixed bug #10571 by always initializing 'ref' 1999-08-27 21:52:19 +00:00
kipp%netscape.com
8607e1fe21 Provide a small margin around tables and images here instead of hardcoding (bug #2119); make links red when active (bug #11230) 1999-08-27 21:51:46 +00:00
kipp%netscape.com
0c8f598a12 Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00