Commit Graph

790 Commits

Author SHA1 Message Date
dbaron@dbaron.org
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
bzbarsky@mit.edu
81d8934573 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
uriber@gmail.com
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
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren@bredband.net
1be7d32ec6 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron@dbaron.org
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
mats.palmgren@bredband.net
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
mats.palmgren@bredband.net
8a34355d8d Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
gavin@gavinsharp.com
1615608000 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
dbaron@dbaron.org
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
dbaron@dbaron.org
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
Olli.Pettay@helsinki.fi
9ca1fff9aa Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc 2006-11-18 06:38:15 +00:00
Olli.Pettay@helsinki.fi
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
bzbarsky@mit.edu
5f6f3dc247 Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
r+sr=roc.
2006-11-06 01:17:32 +00:00
aaronleventhal@moonset.net
0bbd0a39ad Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc 2006-10-02 19:33:49 +00:00
roc+@cs.cmu.edu
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
roc+@cs.cmu.edu
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
roc+@cs.cmu.edu
513df44bd0 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs 2006-09-19 21:04:06 +00:00
roc+@cs.cmu.edu
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
Olli.Pettay@helsinki.fi
67f8af50b6 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
uriber@gmail.com
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
uriber@gmail.com
bc5bc7aeba Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
uriber@gmail.com
a62a9316da Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131 2006-09-11 07:44:59 +00:00
uriber@gmail.com
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
uriber@gmail.com
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
timeless@mozdev.org
6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bzbarsky@mit.edu
c7f59376b9 Pseudo-elements are not the root. Bug 334602, r+sr=dbaron 2006-08-12 02:14:39 +00:00
uriber@gmail.com
3766f48b05 Attempt to fix bustage from bug 333883. 2006-08-07 11:24:57 +00:00
uriber@gmail.com
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
Olli.Pettay@helsinki.fi
6bc259733d Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc 2006-08-04 07:35:35 +00:00
uriber@gmail.com
d2643031f8 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc 2006-08-04 05:40:57 +00:00
roc+@cs.cmu.edu
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
uriber@gmail.com
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
uriber@gmail.com
02f420c21c Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc 2006-07-18 07:32:58 +00:00
uriber@gmail.com
d7ce53fcff Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
uriber@gmail.com
261a300837 Always use the visual iterator when moving visually in a bidi page, even if the current line or adjacent lines are LTR. bug=309432 r=smontagu sr=roc 2006-07-12 11:22:18 +00:00
uriber@gmail.com
f12ea6ca9d Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc 2006-07-12 07:07:36 +00:00
mark@moxienet.com
c6c47f58f5 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
mrbkap@gmail.com
896a7031f9 Avoid a crash in nsAutoScrollTimer by keeping a reference to the content instead of the view. bug 322084, patch by jpl24 <jlurz24@gmail.com>, r+sr=roc 2006-06-16 01:54:31 +00:00
roc+@cs.cmu.edu
dc73678bfa Bug 341141. Position abs-pos clip rects correctly. r+sr=bzbarsky 2006-06-15 03:25:33 +00:00
dbaron@dbaron.org
60e13b1c15 Fix regression by re-retrieving style struct after changing the frame we're dealing with. b=340798 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron 2006-06-09 21:04:21 +00:00
roc+@cs.cmu.edu
5dbdc7d18c Bug 331590. Treat inline-box/grid/stack XUL elements like inline blocks, making them pseudo-stacking-contexts. r+sr=dbaron 2006-06-08 03:35:29 +00:00
roc+@cs.cmu.edu
d5a4da288c Bug 336121. Treat table outer frames as psuedostacking contexts. r+sr=dbaron 2006-06-08 03:32:06 +00:00
roc+@cs.cmu.edu
af8ada7008 Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
uriber@gmail.com
8f52e71c4e Fix triple-click paragraph selection near block generated content. bug=339430, r+sr=roc 2006-05-29 08:32:46 +00:00
Olli.Pettay@helsinki.fi
5a3f2c8ff5 Bug 336592, Crash when window gets destroyed during selection event, r+sr=roc 2006-05-12 06:40:49 +00:00
darin@meer.net
0700b87ece 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
timeless@mozdev.org
638502c33e Bug 334897 Useless null check of shell in nsFrame::Destroy
r=dbaron sr=dbaron
2006-05-06 21:42:49 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
aaronleventhal@moonset.net
447388696f Bug 336162. Don't fire DOM events from layout. r+sr=bz 2006-05-03 17:02:37 +00:00