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
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
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
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
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
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
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
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
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
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
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
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
bmlk%gmx.de
35e33e2e07
CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162220 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 18:21:03 +00:00
roc+%cs.cmu.edu
26dae9e55b
Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162210 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 13:35:46 +00:00
dbaron%dbaron.org
bbe291225f
The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 05:39:27 +00:00
bzbarsky%mit.edu
068c8b28b1
Fix crash due to text inputs flushing pending restyles while we're in text
...
control frame code. Bug 257818, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162194 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:19:58 +00:00
bzbarsky%mit.edu
b5b1e1b77a
Make sure not to add entries to the pending restyle hashtable while enumerating
...
it. Bug 257694 (also fixes bug 256242, bug 258101). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162193 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:08:14 +00:00
dbaron%dbaron.org
161ac90313
Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@162192 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 03:22:46 +00:00
roc+%cs.cmu.edu
007e533df8
Bug 258118. Ensure that float breaks are eventually honoured even if the line with the break is not reflowed and the following line is empty. r+sr=dbaron(rubber-stamp)
...
git-svn-id: svn://10.0.0.236/trunk@162191 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:21:35 +00:00
roc+%cs.cmu.edu
d9025f99fb
Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
...
git-svn-id: svn://10.0.0.236/trunk@162190 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:10:29 +00:00
mats.palmgren%bredband.net
1cbbbb7f10
Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162184 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
3956b19b41
Backing out bug 167001, which I should not have reviewed without more careful consideration.
...
git-svn-id: svn://10.0.0.236/trunk@162168 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 19:32:50 +00:00
bmlk%gmx.de
eb73ad615e
don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162132 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:08:53 +00:00
smontagu%smontagu.org
0abf27ba72
Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@162131 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
a4ca9058c6
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
jst%mozilla.jstenback.com
6d9a847d4a
Landing fix for bug 258487, patch by Wladimir Palant <trev@gtchat.de>. Add code to check a pref for how to treat popups opened by a plugin. r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@161999 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 18:53:21 +00:00
aaronleventhal%moonset.net
ef893ae0a8
Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@161935 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 19:32:29 +00:00
jst%mozilla.jstenback.com
08a3874eb0
Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@161885 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 22:34:02 +00:00
bryner%brianryner.com
6bab9e3329
Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu
25c92b6a90
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
d078282226
Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
f9bdcbfb99
Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161771 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 23:03:04 +00:00
dbaron%dbaron.org
371342cda8
Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
jst%mozilla.jstenback.com
809b317cb3
Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
...
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00