13616 Commits

Author SHA1 Message Date
bryner%netscape.com
2fdd9e39df Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst. 2002-04-16 05:09:35 +00:00
mjudge%netscape.com
cbca07291c 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
mjudge%netscape.com
b0f1fe2322 r= jfrancis sr= kin 2002-04-16 02:39:54 +00:00
varga%utcru.sk
75975dce87 Fix for bug 137178 - Outliner tree expanded by default, should not be.
- prevent insertions to closed containers
r=sgehani/varga, sr=hewitt, patch=sgehani,varga
2002-04-16 01:12:22 +00:00
dbaron%fas.harvard.edu
31405a1069 Remove bitrotted DEBUG_RULES code. Clean up RULE_HASH_STATS debugging code. Add comments to HasStateDependentStyle, and speed it up by making IsStateSelector match only what it needs to. Clean up GetRuleCascade by sorting the final array in non-reversed order and merging BuildStateEnum and BuildHashEnum. b=128743 r=bzbarsky sr=waterson 2002-04-15 22:49:26 +00:00
dougt%netscape.com
f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
dbaron%fas.harvard.edu
8e67539937 Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson 2002-04-15 22:28:54 +00:00
rods%netscape.com
e6ba8d44f3 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi
2002-04-15 13:39:00 +00:00
rods%netscape.com
6cc2d64532 Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com
7003507aa7 For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
joki%netscape.com
af9379992c Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst 2002-04-14 21:52:52 +00:00
bernd.mielke%snafu.de
4ce91fc502 make rtest.sh windows compatible, this allows windows gmake builds to run
*the* layout regression tests, not part of the build bug 136519 r=jkeiser sr=attinasi
2002-04-14 17:50:50 +00:00
attinasi%netscape.com
6519a05626 temporary topcrash fix: make sure stale anonymoux content is removed from the undisplayed map when a style sheet is added. b=118014 r=dbaron sr=kin
NOTE: bug 136704 has been opened for making the real fix, and reference to this patch has been noted therein.
2002-04-14 15:34:02 +00:00
attinasi%netscape.com
8c88845bfc Backout some diagnostic code. b=134962 sr=waterson r=dbaron 2002-04-14 15:16:40 +00:00
hwaara%chello.se
92f889abb0 #13702, just fixing some minor typos in the documentation. r=bzbarsky 2002-04-13 19:47:15 +00:00
dbaron%fas.harvard.edu
b878ea3fae Fix leak (within the pres shell arena) of lines from nsLineBox::DeleteLineList. b=136764 r=attinasi sr=waterson 2002-04-13 18:54:40 +00:00
sicking%bigfoot.com
f8c2ea5afa Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
tor%cs.brown.edu
cb1d9145e3 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
peterlubczynski%netscape.com
1fef229506 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com
54b90e52ee Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
pinkerton%netscape.com
bb66767179 fix build bustage 2002-04-12 15:26:05 +00:00
kin%netscape.com
13fdc1980a Fix for bug 106489 (Text entered in box does not appear)
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
  file where they could be called from my new utility method
  AdjustOutOfFlowFrameParentPtrs().

- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
  so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
  so that out-of-flow floater frames are reparented to the correct
  containing block when the placeholder is moved under the block
  created in ConstructInline().

r=attinasi@netscape.com  sr=waterson@netscape.com
2002-04-12 14:41:40 +00:00
dcone%netscape.com
02e7316517 b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.
2002-04-12 14:30:00 +00:00
jkeiser%netscape.com
c09f9a2e00 Fix very bad reflow problem in nsBoxToBlockAdaptor (bug 119849). r=hewitt@netscape.com, sr=attinasi@netscape.com 2002-04-12 04:39:48 +00:00
hyatt%netscape.com
e0734fa45e Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
kin%netscape.com
60b911495e Fix for bug 128136 (Printing disables keyboard movement of caret in textfields)
Added SuppressEventHandlers() utility routine, which PreDestroy()
and CreateAnonymousContent() now call to determine if the controller
unregister/register code should be executed.

r=rods@netscape.com  sr=sfraser@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:02:47 +00:00
kin%netscape.com
03b54f0b0a Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:01:11 +00:00
dbaron%fas.harvard.edu
07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
739a1a3e49 Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson 2002-04-11 03:29:40 +00:00
serge%netscape.com
014a6bcfd1 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
seawood%netscape.com
ae7c7f0de5 Error 690: "nsSelectsAreaFrame.cpp", line 149 # Nonempty source files must end with a newline that is not preceded by a backslash.
(Fixing HP-UX tinderbox bustage)
2002-04-11 03:25:58 +00:00
dbaron%fas.harvard.edu
2ee8b39604 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag 2002-04-11 03:24:18 +00:00
waterson%netscape.com
4d89367b86 Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi 2002-04-11 01:13:41 +00:00
mjudge%netscape.com
35d42a18e6 fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display 2002-04-11 01:11:23 +00:00
rods%netscape.com
57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
rods%netscape.com
56c0612f03 The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
rods%netscape.com
6afe706be3 This patch also fixes a regression from 6.2 where when printing selection it
prints in the top margin of the second (or third, etc.) page.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:34:59 +00:00
rods%netscape.com
1756fd22db Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00
alexsavulov%netscape.com
804a3c8cac fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd
2002-04-11 00:06:39 +00:00
shanjian%netscape.com
84eb514a5a #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,
2002-04-11 00:00:40 +00:00
karnaze%netscape.com
c271e5831f new regression test not affecting the build. 2002-04-10 21:40:46 +00:00
karnaze%netscape.com
253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
cbiesinger%web.de
898fb53814 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders
2002-04-10 14:45:05 +00:00
locka%iol.ie
60e32f6220 Lower limit on number of nested content frames before giving up. b=126466 r=fabian@bluishgecko.net sr=jst@netscape.com a=rjesup@wgate.com (drivers) a=jaimejr@netscape.com (adt) 2002-04-10 11:13:35 +00:00
bryner%netscape.com
93feb099b0 Fix crash if the view manager is destroyed (such as on a page change) while a menupopup is open. Bug 129785. r=ben, sr=hyatt. 2002-04-10 09:32:22 +00:00
bryner%netscape.com
19967fe712 Fix positioning of menupopups that are inside iframes (bug 129782). r=pavlov, sr=ben. 2002-04-10 09:27:11 +00:00
varga%utcru.sk
dc40b5db6b Fix for bug 135294 - Click on splitter causes semi-hang
r=hwaara, sr=ben, a=asa
2002-04-10 04:58:02 +00:00
varga%utcru.sk
272fcbb016 Fix for bug 135048 - Folder pane won't auto scroll down during drag and drop.
Covers 134889 also.
r=bryner, sr=ben, a=asa
2002-04-10 04:55:46 +00:00
rods%netscape.com
c477cf19b3 Although the front-end should be disabled and not allow the user to make any
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime
2002-04-09 14:17:56 +00:00
pinkerton%netscape.com
e5bb4fd7b3 rewrite to use a view instead of tracking frame resize/moves ourselves. when the view moves, the attached widget is moved automatically. r=ben/sr=hyatt/a=asa. bug# 135436 2002-04-09 14:11:52 +00:00