Commit Graph

1282 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
a1a8481910 Bug 295941. Remove hack that is obsolete on the trunk now that Eli has fixed event dispatch coordinates. patch by Eli Friedman, r+sr=roc 2005-10-21 02:50:35 +00:00
roc+@cs.cmu.edu
4849bee778 Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets. 2005-10-18 05:00:24 +00:00
roc+@cs.cmu.edu
1a3a0724b3 Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst 2005-10-07 01:28:27 +00:00
bzbarsky@mit.edu
3c56ab8b8e Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil 2005-10-04 23:49:39 +00:00
cst@andrew.cmu.edu
a6442c9ed3 Bug 278739 Reloading a page whose length changes should not cause scroll position to change
r+sr=roc
2005-09-18 14:50:26 +00:00
roc+@cs.cmu.edu
cac4b42297 Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
roc+@cs.cmu.edu
669b0a6178 Bug 305120. Make overflow/underflow events be posted by HTML again. Also, only post an overflow event when we go from not-overflowing to overflowing instead of every time we reflow with overflow. r+sr=dbaron 2005-08-31 00:57:27 +00:00
roc+@cs.cmu.edu
c9414b9a99 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
bmlk@gmx.de
97630274a4 pixel align pct based scroll frames bug 139843 r/sr=roc 2005-08-24 18:11:45 +00:00
roc+@cs.cmu.edu
1883e0616e Bug 303458. Check in rest of patch for 295673. Doh! 2005-08-23 20:41:08 +00:00
roc+@cs.cmu.edu
3d46421273 Bug 189308. Checking in the changes to address dbaron's comments, left out of the orginal checkin. 2005-08-22 04:16:38 +00:00
roc+@cs.cmu.edu
5c7e500427 Fixing build bustage ... variable named 'min' seems to conflict with some macro. r+sr=NOBODY AT ALL\! HAHAHAHA\! 2005-08-22 00:22:41 +00:00
roc+@cs.cmu.edu
e8e5d0191e 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 2005-08-21 23:37:13 +00:00
roc+@cs.cmu.edu
e9da00ac1e Bug 295673. Fix up GetActualScrollbarSizes so that padding doesn't confuse it. r+sr=dbaron, a=bsmedberg 2005-08-02 20:19:34 +00:00
roc+@cs.cmu.edu
e4626ce388 Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg 2005-07-25 23:23:53 +00:00
roc+@cs.cmu.edu
d4b8361480 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 2005-06-29 04:17:21 +00:00
roc+@cs.cmu.edu
0d80387473 Bug 296337. Always correct the overflow area even if NS_FRAME_OUTSIDE_CHILDREN is set. r+sr=bzbarsky,a=shaver 2005-06-16 02:57:23 +00:00
bmlk@gmx.de
91ec059c50 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 2005-06-03 06:04:23 +00:00
bzbarsky@mit.edu
43aaf7a082 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
2005-05-31 18:30:27 +00:00
roc+@cs.cmu.edu
d43f8add7b Bug 293453. Hack scrolled frame NS_FRAME_OUTSIDE_CHILDREN to work around event handling bug. r+sr=bzbarsky,a=asa 2005-05-15 23:04:45 +00:00
roc+@cs.cmu.edu
d028d46274 Bug 292312. Take scrollbar pref-sizes into account. r+sr=dbaron,a=asa 2005-05-08 22:33:40 +00:00
roc+@cs.cmu.edu
63139271e0 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 2005-05-08 22:17:03 +00:00
roc+@cs.cmu.edu
d1a9e687eb Bug 292370. Adjust instrinsic widths in nsHTMLScrollFrame to account for 'width','min-width' and 'max-width' style settings. r+sr=dbaron,a=mkaply 2005-05-03 21:15:55 +00:00
roc+@cs.cmu.edu
7f4b3edd30 Bug 47710. Get padding right in scrollframes. r+sr=dbaron,a=chofmann 2005-05-02 22:49:44 +00:00
roc+@cs.cmu.edu
0519bc8b09 Checked in wrong patch. Backing out. 2005-05-02 04:48:59 +00:00
roc+@cs.cmu.edu
83f004e2c6 Bug 47710. Fix padding inside scrollframes. r+sr=dbaron,a=chofmann 2005-05-02 04:26:38 +00:00
roc+@cs.cmu.edu
a61e77293d Bug 292286. Fix stupid typo so that we don't reset the vertical scrollbar when there is no horizontal scrollbar. r+sr+a=dbaron 2005-05-02 02:16:25 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 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 2005-04-28 23:48:28 +00:00
roc+@cs.cmu.edu
141851a7d3 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 2005-04-28 21:57:22 +00:00
roc+@cs.cmu.edu
b7debc2516 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. 2005-04-07 23:54:28 +00:00
roc+@cs.cmu.edu
e584e98cea 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 2005-04-03 22:40:25 +00:00
roc+@cs.cmu.edu
773f5d0241 Removing debug printfs that crept in. 2005-04-03 21:19:37 +00:00
roc+@cs.cmu.edu
47dfcd9b72 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
dbaron@dbaron.org
c7fad4aada Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+@cs.cmu.edu
1191e43f13 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
bzbarsky@mit.edu
83d699eccc Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky@mit.edu
9e69ad849c 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
2005-02-07 01:58:25 +00:00
bryner@brianryner.com
ac990d5d4b Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
neil@parkwaycc.co.uk
954ec4a8a9 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky@mit.edu
3058450426 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
2004-11-03 16:16:57 +00:00
darin@meer.net
41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bmlk@gmx.de
a08a255d2e improve MEW computation for scrollframes during incr. reflow bug=234593 r/sr=dbaron 2004-10-29 17:36:58 +00:00
roc+@cs.cmu.edu
4f2dc12416 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron 2004-09-29 02:08:51 +00:00
roc+@cs.cmu.edu
5f37ba3f3c Bug 261128. Protect scrollframes from dying if the prescontext's container goes away (it's a weak ref). r+sr=dbaron 2004-09-29 01:46:55 +00:00
bryner@brianryner.com
f447d12b9e 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. 2004-09-28 18:37:50 +00:00
roc+@cs.cmu.edu
3dc559313d Bug 251586. Allow a scrollbar to appear whenever it fits, even if the resulting visible size is zero. r+sr=dbaron,a=asa 2004-09-27 19:21:41 +00:00
neil@parkwaycc.co.uk
be5bf0e589 Bug 76197 Unscrollable scrollbars should look disabled r=varga sr=roc 2004-09-22 06:33:36 +00:00
roc+@cs.cmu.edu
f17c1698ae Bug 260624. Handle case where scrollframe state is restored before its scrollbox has been created. r+sr=dbaron 2004-09-21 21:41:01 +00:00
roc+@cs.cmu.edu
4481c13282 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
roc+@cs.cmu.edu
4b8c28dfbf Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00