cvshook%sicking.cc
|
ccd1d6884d
|
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-01-30 00:06:41 +00:00 |
|
bzbarsky%mit.edu
|
343ced44ba
|
Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-01-26 00:05:12 +00:00 |
|
dbaron%dbaron.org
|
103e95ab15
|
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
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-01-23 04:06:56 +00:00 |
|
timeless%mozdev.org
|
c778d21502
|
Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-12-26 17:47:52 +00:00 |
|
dbaron%dbaron.org
|
1ca9f3f372
|
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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-12-08 05:38:33 +00:00 |
|
roc+%cs.cmu.edu
|
b1ae3cf7e7
|
relanding fix for bug 317278 :-(
git-svn-id: svn://10.0.0.236/trunk@201179 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-06-29 01:19:48 +00:00 |
|
roc+%cs.cmu.edu
|
bd9175c940
|
Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-06-26 22:18:23 +00:00 |
|
roc+%cs.cmu.edu
|
d643001e93
|
Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@200367 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-06-19 23:06:59 +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 |
|
roc+%cs.cmu.edu
|
cbf12a16e3
|
Bug 328946. Mark reflowed block as non-dirty earlier, so we don't get a spurious assertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193020 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-26 21:02:19 +00:00 |
|
dbaron%dbaron.org
|
22a8d25049
|
Fix handling of auto margins on blocks and tables wider than their container. b=96394 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192423 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-15 17:00:57 +00:00 |
|
roc+%cs.cmu.edu
|
fe7bb3975b
|
Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191298 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-02-27 04:15:05 +00:00 |
|
roc+%cs.cmu.edu
|
b280811155
|
Backing out changes for bug 326944.
git-svn-id: svn://10.0.0.236/trunk@191296 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-02-27 03:22:03 +00:00 |
|
roc+%cs.cmu.edu
|
ede1364b21
|
Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191294 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-02-27 02:51:57 +00:00 |
|
roc+%cs.cmu.edu
|
47f6eb2817
|
Bug 298893. Collapse the leading and trailing margins of a column set. Makes columns degrade more gracefully.
git-svn-id: svn://10.0.0.236/trunk@177002 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-08-02 20:05:52 +00:00 |
|
roc+%cs.cmu.edu
|
38bb755f3e
|
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
git-svn-id: svn://10.0.0.236/trunk@175285 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-06-29 04:17:21 +00:00 |
|
dbaron%dbaron.org
|
5efdb69c74
|
Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174650 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-06-15 23:45:06 +00:00 |
|
roc+%cs.cmu.edu
|
7f1a3c9c93
|
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171036 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-03-23 03:35:08 +00:00 |
|
roc+%cs.cmu.edu
|
1984f9a568
|
Bug 274249. Stop double-counting the top margin of collapsed-through empty blocks, by moving the line bounds back up above its empty block by the top margin amount (while leaving the empty block in the same (correct) place). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168685 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-02-02 01:33:20 +00:00 |
|
roc+%cs.cmu.edu
|
f29d6c1b55
|
Bug 273946. We actually don't need to correct the y-position of empty blocks; it's already correct for both the collapsing-with-parent and not-collapsing-with-parent cases. Also, clearance on an empty line should force subsequent lines to apply their top margins. Also, clearance on an empty line should *not* prevent its top and bottom margins from collapsing. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168416 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-01-27 20:54:27 +00:00 |
|
roc+%cs.cmu.edu
|
c3a175543d
|
Bug 273193. Make sure empty blocks get the same margin and relative positioning adjustments that non-empty blocks get. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168327 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-01-25 22:29:59 +00:00 |
|
roc+%cs.cmu.edu
|
9b5587fb9c
|
Bug 265857. Make sure we never split blocks when height is unconstrained, even if integer overflow in y-coord calculations makes it look like we're out of space. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168324 18797224-902f-48f8-a5cc-f745e15eee43
|
2005-01-25 22:20:35 +00:00 |
|
bmlk%gmx.de
|
adcb976e59
|
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-12-27 15:05:18 +00:00 |
|
roc+%cs.cmu.edu
|
d4a6c32e7b
|
Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165781 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-11-25 14:51:00 +00:00 |
|
roc+%cs.cmu.edu
|
ab88d1e1ac
|
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-09-14 02:28:03 +00:00 |
|
bryner%brianryner.com
|
ff2bc0b69e
|
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-08-24 18:50:29 +00:00 |
|
bryner%brianryner.com
|
2ac3245dec
|
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-08-22 07:10:50 +00:00 |
|
bryner%brianryner.com
|
0501b2872a
|
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-08-22 04:58:44 +00:00 |
|
bryner%brianryner.com
|
03c6a8279c
|
Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-08-21 06:27:54 +00:00 |
|
bryner%brianryner.com
|
e49f4fa38e
|
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-08-21 05:09:50 +00:00 |
|
bryner%brianryner.com
|
865734bf2f
|
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-31 23:15:21 +00:00 |
|
gerv%gerv.net
|
2ac510b678
|
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-18 14:30:37 +00:00 |
|
bryner%brianryner.com
|
d956db112f
|
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-23 21:29:06 +00:00 |
|
dbaron%dbaron.org
|
564b504848
|
Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152537 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-09 05:22:23 +00:00 |
|
dbaron%dbaron.org
|
5d781dc551
|
Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151897 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-01-27 06:46:33 +00:00 |
|
dbaron%dbaron.org
|
3057f6fb34
|
Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@151892 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-01-27 05:47:55 +00:00 |
|
dbaron%dbaron.org
|
3d49352c78
|
Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151166 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-01-11 04:29:09 +00:00 |
|
dbaron%dbaron.org
|
a8191642ef
|
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-24 19:46:25 +00:00 |
|
dbaron%dbaron.org
|
01d5186c80
|
Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902
git-svn-id: svn://10.0.0.236/trunk@149404 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-16 21:12:17 +00:00 |
|
dbaron%dbaron.org
|
c53d72392a
|
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149126 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-10 23:36:06 +00:00 |
|
dbaron%dbaron.org
|
33601224e0
|
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-13 21:51:02 +00:00 |
|
dbaron%dbaron.org
|
c997dd0ad0
|
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-16 22:09:18 +00:00 |
|
roc+%cs.cmu.edu
|
f12a3fdf92
|
Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144867 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-07-15 00:04:43 +00:00 |
|
roc+%cs.cmu.edu
|
62382bd5e2
|
ongoing deCOMtamination work. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-06-27 18:13:48 +00:00 |
|
dbaron%dbaron.org
|
69da9d4a19
|
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-05-15 03:42:21 +00:00 |
|
bryner%netscape.com
|
c44337949a
|
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-02-22 00:32:13 +00:00 |
|
dbaron%dbaron.org
|
a569c670f5
|
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-01-09 14:26:32 +00:00 |
|
dbaron%fas.harvard.edu
|
ffb8d9cca7
|
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-01-01 23:53:20 +00:00 |
|
dbaron%fas.harvard.edu
|
d515d330cd
|
Allow relative positioning to again influence the overflow area, since we're no longer using the overflow area for layout. r+sr=roc b=174149
git-svn-id: svn://10.0.0.236/trunk@135478 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-12-19 00:23:00 +00:00 |
|
dbaron%fas.harvard.edu
|
d77395a3b9
|
Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
git-svn-id: svn://10.0.0.236/trunk@134576 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-11-28 19:29:28 +00:00 |
|