16298 Commits

Author SHA1 Message Date
dbaron%dbaron.org
58f19edbad Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162996 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 05:18:05 +00:00
bryner%brianryner.com
8a83898990 Fix nsBoxFrame::RelayoutChildAtOrdinal to not clobber the first child in the list. Remove no-op nsIFrame::SetNextBox(). Thanks to darin for help with the patch, and r+sr=roc. Bug 262054.
git-svn-id: svn://10.0.0.236/trunk@162984 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 00:18:49 +00:00
bryner%brianryner.com
f011354486 Fix various crashes by not trying to set the parent before we've initialized the frame. Bug 262054, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162961 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 18:43:28 +00:00
roc+%cs.cmu.edu
1f87738ac5 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162932 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:19:06 +00:00
roc+%cs.cmu.edu
22c664a250 Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162931 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:18:25 +00:00
roc+%cs.cmu.edu
f303e742c2 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162930 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:08:51 +00:00
roc+%cs.cmu.edu
633d64dd17 Bug 261128. Protect scrollframes from dying if the prescontext's container goes away (it's a weak ref). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162929 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:46:55 +00:00
roc+%cs.cmu.edu
7587dd2afc Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito.
git-svn-id: svn://10.0.0.236/trunk@162928 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:44:29 +00:00
bryner%brianryner.com
4b0757d87f Attempt to fix perf regression from bug 258513 by fixing users of obsolete nsIBoxToBlockAdaptor interface. Also, removing this interface like I intended to do. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@162920 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 00:28:13 +00:00
aaronleventhal%moonset.net
df1a357353 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162879 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:41:15 +00:00
aaronleventhal%moonset.net
d45fca0e31 bug 258937: form elements in Midas are focusable. r=glazou, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:40:50 +00:00
bryner%brianryner.com
83424d8c14 svg part of bug 258513, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162877 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:39:13 +00:00
bryner%brianryner.com
d80f327086 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
d2e60997b8 Bug 251586. Allow a scrollbar to appear whenever it fits, even if the resulting visible size is zero. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@162847 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 19:21:41 +00:00
jst%mozilla.jstenback.com
7ae7afb188 Fixing bug 181364. Fixing problem with drag events in windowless plugins by making the code work as it has always worked on Mac, i.e. prevent drag events on plugins from being eaten by the browser. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162844 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 18:56:07 +00:00
neil%parkwaycc.co.uk
1e6e5a6511 Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me
git-svn-id: svn://10.0.0.236/trunk@162827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-26 22:37:50 +00:00
jst%mozilla.jstenback.com
8daad17357 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
neil%parkwaycc.co.uk
e4263e6587 Bug 76197 Unscrollable scrollbars should look disabled r=varga sr=roc
git-svn-id: svn://10.0.0.236/trunk@162658 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 06:33:36 +00:00
roc+%cs.cmu.edu
af0a174a7c Bug 260624. Handle case where scrollframe state is restored before its scrollbox has been created. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162627 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 21:41:01 +00:00
aaronleventhal%moonset.net
be3bc8cf53 Bug 166004. Need to fire accessible focus event on new menuitem when using left arrow to leave submenu and go back into parent menu. r=kyle, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162623 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 20:45:12 +00:00
aaronleventhal%moonset.net
f45d68ee55 Bug 260563. Put space before parenthesized appended accesskey, it looks nicer (trivial patch). r=dbaron, sr=pkwarren
git-svn-id: svn://10.0.0.236/trunk@162616 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 19:28:14 +00:00
roc+%cs.cmu.edu
5f2bf6d3a4 Bug 258175. Always capture the mouse at the root of the document if we haven't captured it in any child. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162594 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 13:58:22 +00:00
roc+%cs.cmu.edu
e328b8648c Bug 260515. Fix obviously broken code in CombineBreakType. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162593 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 13:56:06 +00:00
dbaron%dbaron.org
3d0e577f40 Fix bustage. b=259615 (and 258521)
git-svn-id: svn://10.0.0.236/trunk@162581 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 05:04:01 +00:00
dbaron%dbaron.org
40677d0de3 Turn on CSS error reporting. b=65469 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162579 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:42 +00:00
dbaron%dbaron.org
cdd43406c9 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:08 +00:00
kyle.yuan%sun.com
27ce42a23d Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162576 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:25:08 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
dbaron%dbaron.org
123881d207 Fix bustage when CSS error reporting disabled. b=187007
git-svn-id: svn://10.0.0.236/trunk@162555 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 20:08:20 +00:00
dbaron%dbaron.org
00ee6e5230 Make CSS errors localizable. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162553 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 19:38:11 +00:00
bmlk%gmx.de
1fa3d40c94 fix MEW computation regression introduced by my previous checkin bug 257955 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@162546 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:40:20 +00:00
aaronleventhal%moonset.net
559965b6d7 Bug 68841. Underline xul:radio and xul:checkbox accesskeys. r=mconnor, sr=neil
git-svn-id: svn://10.0.0.236/trunk@162545 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 11:29:07 +00:00
pete.zha%sun.com
dad2cb31dd bug 234470
There is something wrong with plugin printing on linux or unix
r=leon.sha@sun.com
sr=roc
patch=roland


git-svn-id: svn://10.0.0.236/trunk@162543 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 06:46:16 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
bmlk%gmx.de
e6f5bc2c94 at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
6d3feed3dd ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162529 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 09:50:41 +00:00
bmlk%gmx.de
796f8717f1 valign content that overflows the table cell from the celltop bug=114430 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162525 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 19:04:13 +00:00
roc+%cs.cmu.edu
0c4ce3d86f Bug 257612. Fix dynamic margin changes by 1) Propagate IsPreviousMarginDirty through empty lines 2) Reflow any line whose previous margin is dirty. 3) If a reflowed line could have been tested in a subsequent line's ShouldApplyTopMargin both before and after reflow, and might have been empty before or after reflow, then make the next line's previous margin dirty. 4) If reflowing a block changes its carried-out margin, then mark the next line's previous margin dirty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162521 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 14:39:07 +00:00
dbaron%dbaron.org
807b635c41 Null-check document to fix crash, and a little other cleanup. b=258843 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162512 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:50:22 +00:00
dbaron%dbaron.org
73ed9bfae6 Remove unconditional MarkDirty in nsBoxFrame::AttributeChanged. This is likely to cause some regressions, since it removes code that may have covered up inadequate handling of certain specific attribute changes. b=253364 r=bryner sr=roc
git-svn-id: svn://10.0.0.236/trunk@162505 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 18:36:30 +00:00
kyle.yuan%sun.com
e0b4c44029 Bug 238854 [gtk2] Changing GNOME2 theme doesn't apply until restarting Mozilla
r=bryner, sr=dbaron, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162490 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 06:27:01 +00:00
roc+%cs.cmu.edu
6f45d28987 Bug 248825. Correctly push overflowing float placeholders to the start of the overflow lines in the case where the first overflow line is a block. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162479 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 00:02:56 +00:00
tor%cs.brown.edu
5b7939da2e Bug 257433 - fix color channels on libart/OS-X. r=pedemonte
git-svn-id: svn://10.0.0.236/trunk@162473 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 19:25:36 +00:00
cbiesinger%web.de
49a0c9fc4b Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
mats.palmgren%bredband.net
4424e43f2f Allow styling of SELECT border. b=244370 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162414 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 21:17:37 +00:00
dbaron%dbaron.org
7d40175fee Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
dbaron%dbaron.org
e8bca4edc1 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
tor%cs.brown.edu
4c8d876f10 Bug 257669 - respect x,y attributes of inner <svg:svg>.
p=tor,jonathan.watt@strath.ac.uk; r=afri,tor


git-svn-id: svn://10.0.0.236/trunk@162254 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 22:55:43 +00:00
dbaron%dbaron.org
72c1cdb87b Fix VC7 bustage. b=258793
git-svn-id: svn://10.0.0.236/trunk@162242 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 20:40:46 +00:00