gavin%gavinsharp.com
b1ef96b548
Bug 345339, attachment 243112: Revisit nsPresState, patch by Karthik Sarma <karthik3@comcast.net>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@214778 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 16:08:20 +00:00
mats.palmgren%bredband.net
2b07153d10
1. Make scroll frames non-splittable.
...
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208285 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 05:22:16 +00:00
sharparrow1%yahoo.com
00bcbdd174
Bug 344583: misc cleanup. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@202118 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 03:02:37 +00:00
mats.palmgren%bredband.net
1bbaeed419
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
e71eeec88a
Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@199477 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:11:43 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
leon.sha%sun.com
ca47f5992a
Bug 333896
...
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com .
roc: review+
roc: superreview+
git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
dbaron%dbaron.org
0abb1d10ac
Back out checkins for bug 333829, for now at least.
...
git-svn-id: svn://10.0.0.236/trunk@194496 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 03:19:22 +00:00
dbaron%dbaron.org
168d2ef516
Clamp curpos to between its min and max to fix resizing regression. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@194481 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 20:05:30 +00:00
dbaron%dbaron.org
53af910084
Set curpos after maxpos to fix restoration of horizontal scrollbar in RTL scrolled all the way to the left. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@194472 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com
7964cbc37f
Bug 333590: fix input field scrolling. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@194202 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:55:25 +00:00
sharparrow1%yahoo.com
b1c51e04df
Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
...
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
c17b6b4c3d
Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193832 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 19:51:46 +00:00
dbaron%dbaron.org
38dfc5e1f2
Reorder FinishAndStoreOverflow and SyncFrameViewAfterReflow so it does what I intended. b=331458 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193244 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 04:26:36 +00:00
dbaron%dbaron.org
b258ce85ca
Single line comments to describe files (helpful in LXR)
...
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
dbaron%dbaron.org
39a926c190
Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193023 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 22:12:54 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
dbaron%dbaron.org
e92900026b
Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
dbaron%dbaron.org
6997cf4a86
It is no longer correct to assume 0 as a default value for curpos, due to translations of curpos when scrolling left of the viewport. b=331049 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192832 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 03:45:41 +00:00
dbaron%dbaron.org
e3404f83e9
Add comment about importance of view sizing. b=330732 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192820 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 00:11:43 +00:00
dbaron%dbaron.org
32758d4ffd
Avoid potential problems initializing attributes to -1. b=192767 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192763 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 07:10:31 +00:00
dbaron%dbaron.org
8cfdd67955
Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
705600853e
Bug 328881. Set the frame offset of scrolled frames correctly. This shouldn't affect anything immediately --- the offset is not used currently --- but it helps prepare for view removal and I'd like to catch regressions now. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@192082 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:46:14 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
7ea406aa26
Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
...
to nsIGlobalHistory3. Bug 328928, r=brettw and smfr, sr=darin
git-svn-id: svn://10.0.0.236/trunk@191656 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 03:34:48 +00:00
roc+%cs.cmu.edu
23e90c981a
Bug 78087. Propagate the canvas background to be the background of the entire viewport so it z-orders correctly in the viewport's stacking context. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@188972 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 20:52:13 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
d3d2e97d3b
Bug 321294: Remove unused ReplaceFrame codepaths.
...
r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
roc+%cs.cmu.edu
2d2444ef45
Bug 318425. Make sure the scrolled frame's view is set to include the overflow area of its frame. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@186240 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 01:07:41 +00:00
bzbarsky%mit.edu
0c494d3744
Don't store the "normal" frame state for the root scrollframe, for now. Bug
...
318709, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185743 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:56:17 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
3018abfa20
Bug 227121. A scrolled element's frame size should be set to the max of its desired size and the scrollport size, and should not depend on its overflow. Fixes an incremental reflow bug with scrolled frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@184064 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 23:35:37 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu
9c37faadc0
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
...
git-svn-id: svn://10.0.0.236/trunk@182685 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu
cccd7adffc
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.
...
git-svn-id: svn://10.0.0.236/trunk@182444 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 05:00:24 +00:00
roc+%cs.cmu.edu
b747c5efb5
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
...
git-svn-id: svn://10.0.0.236/trunk@181748 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 01:28:27 +00:00
bzbarsky%mit.edu
fe07e4df3d
Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@181630 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 23:49:39 +00:00
cst%andrew.cmu.edu
ec3d38fd28
Bug 278739 Reloading a page whose length changes should not cause scroll position to change
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180502 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:50:26 +00:00
roc+%cs.cmu.edu
84761d32e5
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
...
git-svn-id: svn://10.0.0.236/trunk@179638 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu
1f87133eec
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
...
git-svn-id: svn://10.0.0.236/trunk@179365 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 00:57:27 +00:00
roc+%cs.cmu.edu
e62ae2d243
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
...
git-svn-id: svn://10.0.0.236/trunk@178883 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 00:10:37 +00:00
bmlk%gmx.de
0606f552eb
pixel align pct based scroll frames bug 139843 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@178802 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 18:11:45 +00:00
roc+%cs.cmu.edu
01b8ec2e94
Bug 303458. Check in rest of patch for 295673. Doh!
...
git-svn-id: svn://10.0.0.236/trunk@178727 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 20:44:23 +00:00
roc+%cs.cmu.edu
7bb639f3e7
Bug 189308. Checking in the changes to address dbaron's comments, left out of the orginal checkin.
...
git-svn-id: svn://10.0.0.236/trunk@178590 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 04:16:38 +00:00
roc+%cs.cmu.edu
6a0f96c99e
Fixing build bustage ... variable named 'min' seems to conflict with some macro. r+sr=NOBODY AT ALL\! HAHAHAHA\!
...
git-svn-id: svn://10.0.0.236/trunk@178576 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 00:22:41 +00:00