Commit Graph

305 Commits

Author SHA1 Message Date
sharparrow1@yahoo.com
b3d0e6d715 Bug 381645: Remove nsBoxFrame::GetContentOf. r+sr=dbaron. 2007-05-22 20:48:43 -07:00
sharparrow1@yahoo.com
b7b65effc9 Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron. 2007-05-22 13:34:00 -07:00
bzbarsky@mit.edu
1b5f6b30b6 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
79c66b8a27 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
7b162c96d2 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
Olli.Pettay@helsinki.fi
f993d40caa Bug 374090, Crash [@ nsGfxScrollFrameInner::GetScrollPortSize] with noframes and setting binding on root element, r+sr=roc 2007-04-13 07:07:40 -07:00
bzbarsky@mit.edu
eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
a31a8a4d5d Bug 373474: Scrollbar buttons don't get invalidated (i.e. for notification box or resizing). r+sr=roc. 2007-03-27 23:24:40 -07:00
Olli.Pettay%helsinki.fi
fe29ef194d Bug 373564, r+sr=roc 2007-03-13 22:11:14 +00:00
roc+%cs.cmu.edu
f8cefabfb8 Bug 363253. Move scrollframe attribute-setting out of reflow to a post-reflow callback. r+sr=dbaron 2007-03-05 01:39:53 +00:00
dbaron%dbaron.org
9d7f938b99 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com
4862938c93 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc. 2007-02-24 00:23:42 +00:00
bzbarsky%mit.edu
997dd25704 deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
2007-02-22 18:05:14 +00:00
bzbarsky%mit.edu
023de09ffa Set the used padding on the scrolled frame, since we're munging its padding.
Bug 370794, r+sr=dbaron
2007-02-20 18:54:16 +00:00
asqueella%gmail.com
284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
530dab30fb Update scrollframes to the new GetCollapsed() API too. Bug 369127, r+sr=dbaron. 2007-02-03 00:08:19 +00:00
Olli.Pettay%helsinki.fi
b3361bf8f9 Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc 2007-01-31 16:02:42 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net
318f1d6bdf Improve overflow/underflow DOM event handling. b=365477 r+sr=roc 2007-01-27 22:50:18 +00:00
bzbarsky%mit.edu
baec9bd166 Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
f6245f0ed9 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu
7a61f6f940 Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
335628, r+sr=roc
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu
019c7e17f9 Make sure to do scrollbar layout if we suppressed it previously, even if we
don't obviously need to do it.  Bug 364762, r+sr=roc
2007-01-19 18:01:10 +00:00
bzbarsky%mit.edu
5bb5b8f623 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
dbaron%dbaron.org
53724f11e8 Restore code to refresh scrolledContentSize between horizontal and vertical scrollbar manipulation. b=330673 r+sr=roc 2007-01-04 04:44:42 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net
79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
mats.palmgren%bredband.net
15d1307833 Horizontal under/overflow events are not dispatched. b=363933 r+sr=dbaron 2006-12-20 01:17:00 +00:00
roc+%cs.cmu.edu
e89d6ad93e Bug 363848. Scrollframes CAN TOO have an nsIScrollbarMediator scrolled frame. r=enndeaking,sr=mats 2006-12-19 20:11:27 +00:00
bzbarsky%mit.edu
e97d70d0d0 Make scrollframes use the pref width of the scrollbar, not the min width, for
determining pref width.  Fixes bug 363528, r+sr=dbaron
2006-12-19 02:53:05 +00:00
Olli.Pettay%helsinki.fi
5cdb072969 Bug 336574, r+sr=roc 2006-12-15 00:23:39 +00:00
bzbarsky%mit.edu
76c2764d17 Fix percentage padding on nodes with overflow other than visible. Bug 332557,
r+sr=dbaron.
2006-12-12 15:18:40 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
b88792e2d2 Bug 344228. Fix up some naughty uses of nsIScrollbarMediator. r=enndeakin,sr=bzbarsky 2006-12-07 19:53:41 +00:00
gavin%gavinsharp.com
e67a58c911 Bug 345339, attachment 243112: Revisit nsPresState, patch by Karthik Sarma <karthik3@comcast.net>, r+sr=roc 2006-11-06 16:08:20 +00:00
mats.palmgren%bredband.net
fd99ce03ed 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
2006-08-24 05:22:16 +00:00
sharparrow1%yahoo.com
2dbafa80ee Bug 344583: misc cleanup. r+sr=roc 2006-07-14 03:02:37 +00:00
mats.palmgren%bredband.net
153ab238ca Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
597d8bc582 Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
dbaron%dbaron.org
7d9906de5d Back out checkins for bug 333829, for now at least. 2006-04-17 03:19:22 +00:00
dbaron%dbaron.org
3292500649 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 2006-04-16 20:05:30 +00:00
dbaron%dbaron.org
6d9da6b006 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 2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com
ace92acc3f Bug 333590: fix input field scrolling. r+sr=dbaron 2006-04-12 01:55:25 +00:00
sharparrow1%yahoo.com
3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
roc+%cs.cmu.edu
a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9e499dc761 Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-07 19:51:46 +00:00