Commit Graph
705 Commits
Author SHA1 Message Date
[email protected] a4cc40910e 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
[email protected] c9c9579477 deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <[email protected]>, r+sr=roc
2007-02-22 18:05:14 +00:00
[email protected] c5dd092608 Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs 2007-02-20 20:22:19 +00:00
[email protected] 49c82b0ca8 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
[email protected] 2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
[email protected] dda4efb9cc Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, [email protected], r+sr=roc 2007-01-31 16:02:42 +00:00
[email protected] e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
[email protected] 70904dc430 Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc 2007-01-28 17:20:01 +00:00
[email protected] df00e5bb8c Revert previous change. 2007-01-27 19:35:29 +00:00
[email protected] 7e9453b3ea Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based. 2007-01-27 18:45:35 +00:00
[email protected] 2b7e956478 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
[email protected] b09985c9eb 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
[email protected] 8648581bf7 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
[email protected] f0bee97191 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron 2007-01-23 02:58:55 +00:00
[email protected] 50901e90ee Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc 2007-01-17 22:31:07 +00:00
[email protected] bde138df02 Handle padding and border correctly for reflow states constructed without a parent (reflow roots, things inside nsIBoxes). b=366952 r+sr=roc, r=bzbarsky 2007-01-17 05:19:35 +00:00
[email protected] 81d8934573 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <[email protected]>, r+sr=roc
2007-01-08 02:57:59 +00:00
[email protected] 35f26c5b05 Bug 200098: Double click near beginning of word selects two words (fix for Windows). r+sr=roc 2007-01-04 16:47:04 +00:00
[email protected] f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
[email protected] 1be7d32ec6 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
[email protected] 1f83839699 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
[email protected] eeeddacfd2 Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron 2006-12-18 13:20:18 +00:00
[email protected] 8a34355d8d Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
[email protected] 1615608000 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <[email protected]>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
[email protected] 13db671d0b Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
[email protected] d21cb374bd 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
[email protected] 9ca1fff9aa Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc 2006-11-18 06:38:15 +00:00
[email protected] d66d6b82e2 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
[email protected] 5f6f3dc247 Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
r+sr=roc.
2006-11-06 01:17:32 +00:00
[email protected] 0bbd0a39ad Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc 2006-10-02 19:33:49 +00:00
[email protected] 220cb21f8e Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron 2006-09-19 22:05:33 +00:00
[email protected] 7c9d2fc9f4 Bug 350148. Fix gmail scrolling speed by not creating nsDisplayBorder items for zero-width borders. r+sr=dbaron 2006-09-19 21:46:01 +00:00
[email protected] 513df44bd0 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs 2006-09-19 21:04:06 +00:00
[email protected] 149a5b6bee Bug 349477. Generalize handling of non-inline frames in inline contexts so they all make pseudo-stacking-contexts. r+sr=dbaron 2006-09-19 20:58:36 +00:00
[email protected] 67f8af50b6 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
[email protected] 8c3328a001 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc 2006-09-11 20:43:01 +00:00
[email protected] bc5bc7aeba Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
[email protected] a62a9316da Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131 2006-09-11 07:44:59 +00:00
[email protected] 2297c8c2f0 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc 2006-09-11 06:39:56 +00:00
[email protected] 3954591075 Allow users of nsFrameTraversal to specify what features they want the iterator to have, and make nsFrame::GetFrameFromDirection() specify "following OOFs". bug=334626 r+sr=roc 2006-08-30 13:38:16 +00:00
[email protected] 6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
[email protected] c7f59376b9 Pseudo-elements are not the root. Bug 334602, r+sr=dbaron 2006-08-12 02:14:39 +00:00
[email protected] 3766f48b05 Attempt to fix bustage from bug 333883. 2006-08-07 11:24:57 +00:00
[email protected] 5dbf40a6a3 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc 2006-08-07 10:54:56 +00:00
[email protected] 6bc259733d Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc 2006-08-04 07:35:35 +00:00
[email protected] d2643031f8 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc 2006-08-04 05:40:57 +00:00
[email protected] 527a5f7eaa Bug 346035. Force <stack> children to be full-fledged stacking contexts and put their display items in the Content display list. r+sr=dbaron 2006-08-03 21:39:39 +00:00
[email protected] df75e1c236 Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc 2006-08-03 06:24:11 +00:00
[email protected] 02f420c21c Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc 2006-07-18 07:32:58 +00:00
[email protected] d7ce53fcff Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00