Commit Graph

9158 Commits

Author SHA1 Message Date
kin%netscape.com
58d6844948 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


git-svn-id: svn://10.0.0.236/trunk@118752 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:02:47 +00:00
kin%netscape.com
cb4f8026fd 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


git-svn-id: svn://10.0.0.236/trunk@118750 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:01:11 +00:00
dbaron%fas.harvard.edu
1e850f52c6 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
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
serge%netscape.com
a65806ef7b fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@118712 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:27:00 +00:00
seawood%netscape.com
14a386d562 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)


git-svn-id: svn://10.0.0.236/trunk@118710 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:25:58 +00:00
dbaron%fas.harvard.edu
1d8c4f5344 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
git-svn-id: svn://10.0.0.236/trunk@118709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:24:18 +00:00
waterson%netscape.com
27b2245dbd 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
git-svn-id: svn://10.0.0.236/trunk@118697 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:13:41 +00:00
mjudge%netscape.com
5707942d3f fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display
git-svn-id: svn://10.0.0.236/trunk@118696 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:11:23 +00:00
rods%netscape.com
926073cd03 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


git-svn-id: svn://10.0.0.236/trunk@118690 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:53:20 +00:00
rods%netscape.com
dd82de1a8d 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


git-svn-id: svn://10.0.0.236/trunk@118688 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:45:11 +00:00
rods%netscape.com
5d79a0e67c 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


git-svn-id: svn://10.0.0.236/trunk@118687 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:34:59 +00:00
alexsavulov%netscape.com
d471bf6ed8 fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd


git-svn-id: svn://10.0.0.236/trunk@118680 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:06:39 +00:00
shanjian%netscape.com
afd38856f3 #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,


git-svn-id: svn://10.0.0.236/trunk@118679 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:00:40 +00:00
karnaze%netscape.com
34d7213599 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@118650 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:40:46 +00:00
karnaze%netscape.com
6dcf85a892 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.
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
cbiesinger%web.de
5acc5ee9c8 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders


git-svn-id: svn://10.0.0.236/trunk@118626 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:45:05 +00:00
locka%iol.ie
a7f818a9a6 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)
git-svn-id: svn://10.0.0.236/trunk@118610 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:13:35 +00:00
dbaron%fas.harvard.edu
ba46223ec2 Paint image background and border in the correct paint layer, depending on whether the image is block or inline, rather than always as if it were block. b=61217 r=pavlov sr=waterson a=asa
git-svn-id: svn://10.0.0.236/trunk@118512 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:16:48 +00:00
dbaron%fas.harvard.edu
ebbe48cf02 Fix topcrash resulting from accidentally making DeletingFrameSubtree not null-safe. b=134508 sr=waterson r=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@118511 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:11:25 +00:00
attinasi%netscape.com
15c4b120a6 Backing out patch from bug 128133 due to the myriad regression - my apologies to all good Mozillans.
git-svn-id: svn://10.0.0.236/trunk@118496 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:57:37 +00:00
caillon%returnzero.com
fd3d1e0079 Bug 134927. Backing out part of the fix for 106317 in order to make text boxes stylable once again. Patch by fantasai@escape.com, r=bzbarsky, sr=hyatt, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@118453 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 23:35:24 +00:00
attinasi%netscape.com
bd0e2b8bad stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr
git-svn-id: svn://10.0.0.236/trunk@118446 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 18:26:35 +00:00
attinasi%netscape.com
6bc6a98dd4 stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr
git-svn-id: svn://10.0.0.236/trunk@118445 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 18:20:27 +00:00
waterson%netscape.com
b0d31a6489 Bug 128855. Be sure to grow |spacing| array in the case of small caps. Patch provided by Andrew Schultz <ajschult@eos.ncsu.edu>, r=attinasi, sr=waterson, a=asa.
git-svn-id: svn://10.0.0.236/trunk@118443 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 17:37:30 +00:00
karnaze%netscape.com
a30b39396c new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@118409 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 23:55:54 +00:00
karnaze%netscape.com
312699b125 bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@118408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:56:45 +00:00
karnaze%netscape.com
4d74eadb99 bug 133948 - don't reset HadSpecialReflow bit so that subsequent resize reflows will occur whenever a special height reflow has ever occured. a=asa, adt=jaimejr, sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@118407 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:42:39 +00:00
karnaze%netscape.com
b5480ba60f bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@118406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:28:39 +00:00
karnaze%netscape.com
7cd502cfaa bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
git-svn-id: svn://10.0.0.236/trunk@118405 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:16:12 +00:00
dbaron%fas.harvard.edu
7f16c8df41 Fix SunWS / OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@118393 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:18:35 +00:00
dbaron%fas.harvard.edu
71aca9d886 Make button controls paint on top of inline element backgrounds. b=107244 r=rods sr=waterson a=asa
git-svn-id: svn://10.0.0.236/trunk@118370 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 15:31:53 +00:00
rods%netscape.com
22707ac421 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118247 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 13:27:04 +00:00
rods%netscape.com
c73a8a4ad0 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118246 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 12:13:23 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jkeiser%netscape.com
713188f737 Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@118207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:34:02 +00:00
jkeiser%netscape.com
7ec2a482fd Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@118206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:29:05 +00:00
aaronl%netscape.com
0dce206ee4 Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@118164 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 23:27:45 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
rbs%maths.uq.edu.au
0b3c5b285b Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@118125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:42:45 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
ce7d3cf8e3 Hmm, looks like the orange on linux is due to a bug in gcc 2.95, there have been issues with using nsCOMPtr's in narrow scopes with that compiler before, so maybe this'll fix this crash too. Who knows, but it's worth a try. This changes nothing, so no reviews...
git-svn-id: svn://10.0.0.236/trunk@118081 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 04:45:22 +00:00
rbs%maths.uq.edu.au
0c0c8d4953 Bug 129560 - Selection doesn't display on stretchy MathML characters. This is the part of the patch that makes text frames retain an appropriate width during selection (to avoid the caret to undershot when crossing stretchy characters), r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@118073 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:15:57 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
shanjian%netscape.com
9784553190 #128394 Cursor position widely off from actual text when selection is made.
Taking langGroup into consideration when selecting font for text selection, it
should be consistent with the way of rendering text.

r=rbs, sr=attinasi, a=asa, adt


git-svn-id: svn://10.0.0.236/trunk@118049 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 23:26:58 +00:00
bernd.mielke%snafu.de
5dabd77797 show canvasframe in debug reflow logs, bug 134130 , r=jkeiser sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117977 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 04:21:20 +00:00
attinasi%netscape.com
ccc52f504e Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers)
git-svn-id: svn://10.0.0.236/trunk@117952 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:14:43 +00:00
bryner%netscape.com
9935d25532 Add a focus border for xbl checkboxes and radio buttons (bug 132885). r=ben, sr=blake, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@117853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 07:24:00 +00:00
karnaze%netscape.com
d894ecdc94 regression tests for bug 131020, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@117852 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:55:31 +00:00
karnaze%netscape.com
f0d801b686 bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@117851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:46:17 +00:00
heikki%netscape.com
261767c20d Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117835 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 04:27:50 +00:00