roc+%cs.cmu.edu
9f0e76cac1
Bug 189308. Fire onscroll for all kinds of scrollling, and consolidate multiple scrolls into one event, and delay firing the event until we've returned to our PLevent loop. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@178574 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:37:13 +00:00
roc+%cs.cmu.edu
6fd1b09b01
Bug 295673. Fix up GetActualScrollbarSizes so that padding doesn't confuse it. r+sr=dbaron, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@177011 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:34 +00:00
roc+%cs.cmu.edu
5bae01caf2
Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176582 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:23:53 +00:00
roc+%cs.cmu.edu
38bb755f3e
Bug 293504. Make MEW/max-width calculations in scrollframes consistent with regular reflow about how we handle the scrollbar width. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@175285 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 04:17:21 +00:00
roc+%cs.cmu.edu
b3806fdb92
Bug 296337. Always correct the overflow area even if NS_FRAME_OUTSIDE_CHILDREN is set. r+sr=bzbarsky,a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@174666 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 02:57:23 +00:00
bmlk%gmx.de
26006fb9e8
make the MEW for scrollframes content independent as they can scroll the content if the available size shrinks, bug 295459 r/sr=roc a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@174110 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 06:04:23 +00:00
bzbarsky%mit.edu
d1a3868aa5
Not all scrollable children of the viewport are the root scrollframe. Fix
...
semi-hangs when fixed-pos elements have non-visible overflow. Bug 295292,
r+sr=roc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173848 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-31 18:30:27 +00:00
roc+%cs.cmu.edu
86fb15307d
Bug 293453. Hack scrolled frame NS_FRAME_OUTSIDE_CHILDREN to work around event handling bug. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173462 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 23:04:45 +00:00
roc+%cs.cmu.edu
6c13770343
Bug 292312. Take scrollbar pref-sizes into account. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173198 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 22:33:40 +00:00
roc+%cs.cmu.edu
fc69777e94
Bug 292431. Don't resize the scrolled frame's view until we know exactly what size it should be ... avoids unnecessary repainting. r+sr=bzbarsky,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@173197 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 22:17:03 +00:00
roc+%cs.cmu.edu
d86d34fe37
Bug 292370. Adjust instrinsic widths in nsHTMLScrollFrame to account for 'width','min-width' and 'max-width' style settings. r+sr=dbaron,a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@173015 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 21:15:55 +00:00
roc+%cs.cmu.edu
5a73cc999a
Bug 47710. Get padding right in scrollframes. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172969 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 22:49:44 +00:00
roc+%cs.cmu.edu
ca3be43c02
Checked in wrong patch. Backing out.
...
git-svn-id: svn://10.0.0.236/trunk@172939 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:48:59 +00:00
roc+%cs.cmu.edu
9e1ef0858d
Bug 47710. Fix padding inside scrollframes. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172937 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:26:38 +00:00
roc+%cs.cmu.edu
e83744f868
Bug 292286. Fix stupid typo so that we don't reset the vertical scrollbar when there is no horizontal scrollbar. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@172935 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 02:16:25 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
131435cb9a
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
89977d9b7c
Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@171875 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu
a6bfe5d186
Bug 288888. Fix detection of when a scrollframe is the root scrollframe, so that we don't create scrollbars for scrolling=no IFRAMEs. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171543 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 22:40:25 +00:00
roc+%cs.cmu.edu
0da7df6e3e
Removing debug printfs that crept in.
...
git-svn-id: svn://10.0.0.236/trunk@171541 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:19:37 +00:00
roc+%cs.cmu.edu
7021bee02b
Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
f7e591cd27
Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
...
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478
Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
bryner%brianryner.com
3437ee229a
Remove nsIPresState (bug 279699). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
f53f98f7f3
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bmlk%gmx.de
f7f774656e
improve MEW computation for scrollframes during incr. reflow bug=234593 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@164606 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:36:58 +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
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
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
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
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
e53ac83c0a
Back out previous round of bug 72747 changes due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0
Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
22aae5389e
Back out text input changes from bug 72747.
...
git-svn-id: svn://10.0.0.236/trunk@161743 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:49:25 +00:00
dbaron%dbaron.org
09307f3c9f
Back out text input changes from bug 72747.
...
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
d223d8305c
Land bug 72747 in pieces: A little cleanup. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161738 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:57:42 +00:00
dbaron%dbaron.org
6bd6d2aaf3
Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161735 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:29:38 +00:00
dbaron%dbaron.org
d9fbd9ddf7
Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161734 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:28:26 +00:00
dbaron%dbaron.org
76aef2c246
Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
a327321c0a
Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161731 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:17:18 +00:00
dbaron%dbaron.org
7fe37df265
Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161688 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 00:46:43 +00:00