L. David Baron
1d98076bbe
Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
...
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
L. David Baron
a99334a539
Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
a08510dddd
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Makoto Kato
13484c5fe3
Bug 434733: Don't apply width on colgroups to columns that have their own width. r=dbaron
2009-08-01 08:53:40 -07:00
Bernd
454af0dc50
bug 413091 - empty first column needs a cellspacing before as we assume always in the code to have cellspacing on the left and right side, r/sr=dbaron
2009-04-18 10:22:34 +02:00
L. David Baron
1b814ccbe2
Remove now-unneeded argument from GetWidthInfo. (Bug 466108) r=dholbert sr=roc
2008-12-04 08:09:52 -08:00
L. David Baron
6e815662e5
For fixed-layout tables, leave room for the cell spacing for all columns, whether they have cells originating in them or not, since we don't know if cells for those columns will arrive as the table loads incrementally. (Bug 444928) r=bernd sr=roc
2008-09-24 10:14:35 -07:00
Zack Weinberg
6071687c64
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-15 14:31:36 -07:00
6e955da96f
Bug 428521: Allow DistributeWidthToColumns to complete BTLS_PREF_WIDTH runs in situations with guess_min < aWidth <= guess_pref. (Reverts optimization from 368504 in which I'd thought that a run with aWidth <= guess_pref would be skippable) r+sr=dbaron a=beltzner
2008-04-24 11:48:34 -07:00
7dede2ea9c
Don't let columns with no cells originating in them expand in the pass for expanding zero-width columns. b=425972 r=dholbert sr=roc a=blocking1.9+
2008-04-08 12:07:16 -07:00
9edb0b075f
Bug 413180: Stop distributing span pct-width to cols when there are only 0-width cols left. r+sr=dbaron a=beltzner
2008-02-22 09:15:27 -08:00
9c0627193e
Bug 413286: Let empty auto-width columns be expanded. r+sr=dbaron a=blocking1.9+
2008-02-21 19:25:56 -08:00
9785078fb9
Bug 368504: Create and use DistributeWidthToColumns for colspan-width and table-width distribution. r+sr=dbaron a=blocking1.9+
2008-01-17 20:18:21 -08:00
2176d67e34
Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+
2007-11-15 10:10:31 -08:00
8981ac9a3e
Bug 403579: Don't scale up width by a pct when it's nscoord_MAX. Also, use NSCoordSaturating function with guess_pref since it could be nscoord_MAX. r+sr=roc, a=mtschrep
2007-11-15 10:04:16 -08:00
dd59210635
Bug 402893: don't scale up col prefWidth by % if it's nscoord_MAX. r+sr=roc, a=mtschrep
2007-11-15 09:59:49 -08:00
6977c863fe
Bug 403519: Support cells w/ prefWidth=nscoord_MAX when computing column intrinsic widths. r+sr=roc, a=mtschrep
2007-11-12 17:11:20 -08:00
745c169ae8
Bug 398157: Fix nscoord_MAX arithmetic using NSCoordSaturatingSubtract. r=roc sr=roc a=roc
2007-10-01 14:44:50 -07:00
ccfd2a6bad
Bug 397448 - "ASSERTION: Doing nscoord addition with values > nscoord_MAX" with percentage margin in table cell. r=roc sr=roc approval19=roc
2007-09-26 09:32:50 -07:00
0d28f155e9
Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
2007-09-24 10:30:42 -07:00
113010bff3
Prefer distributing the width of a column-spanning cell to columns without specified widths, and make a specified width on a column-spanning cell not cause the column to be considered to have a specified width. b=379361 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
2007-08-02 17:07:29 -07:00
adce60f984
Bug 372768: {inc}Setting nowrap attribute dynamically does not change layout like it should. r=bzbarsky,sr=dbaron.
2007-07-01 11:42:18 -07:00
62a35b0a2e
No max-width means "none", not null unit. Bug 381284, r+sr=dbaron
2007-05-23 12:56:02 -07:00
263d44e417
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
2007-05-03 16:11:00 -07:00
e0f90db412
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
dbaron@dbaron.org
7e73c0ab05
Fix logic error handling column-spanning cells with specified widths. b=374819 r+sr=roc a=vlad
2007-03-21 23:31:38 +00:00
dbaron@dbaron.org
99a7ef7730
Fix handling of specified widths on column-spanning cells. b=363874 r=bernd sr=roc
2007-03-19 20:26:36 +00:00
dbaron@dbaron.org
e3be85f90e
Subtract allocated parts before repeating division used for allocation to avoid rounding error of total. b=366865 r=bernd sr=roc
2007-02-18 19:49:50 +00:00
dbaron@dbaron.org
000d28f607
Stop rounding widths to pixel boundaries to fix reftest failures on Mac, which does subpixel positioning and sizing of text. b=369318 r=bernd sr=roc
2007-02-08 19:21:58 +00:00
dbaron@dbaron.org
25642beee2
Stop rounding final column widths (up) to pixel boundaries. b=349297 r=bernd sr=roc
2007-02-08 19:20:51 +00:00
sharparrow1@yahoo.com
2da748b9c2
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
bzbarsky@mit.edu
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
bzbarsky@mit.edu
40955e1aec
Fix various bugs in the column iterator's keeping track of the current row.
...
Bug 367749, r=bernd, sr=roc
2007-01-24 20:18:04 +00:00
bzbarsky@mit.edu
09d7e354a6
Have a faster way of iterating down the columns of a table. Bug 352461,
...
r=bernd, sr=roc
2007-01-22 04:32:33 +00:00
dbaron@dbaron.org
e55c85ca3c
When possible, distribute min width of colspanning cells so it fits within the pref width of the spanned columns. b=363144 r=bernd sr=bzbarsky
2007-01-17 19:19:50 +00:00
dbaron@dbaron.org
01d0284e3d
Fix incorrectly placed PR_MAX(), since the span* values are additions to the base values. b=365173 r=bernd sr=bzbarsky
2007-01-13 01:08:18 +00:00
dbaron@dbaron.org
269bfdc57a
Accumulate column-spanning cells into column intrinsic widths separately for each number of columns spanned, in increasing order. b=363329 r=bernd sr=bzbarsky
2007-01-13 01:04:56 +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
dbaron@dbaron.org
49b1914f6f
Fix shadowing variable name. No bug.
2006-12-18 22:35:01 +00:00
dbaron@dbaron.org
235ed5b61b
Fix handling of columns in which no cell originates (i.e., unneeded extra colspan). b=363329 Patch from Bernd Mielke, bmlk%gmx.de, with review comments addressed by me. r+sr=dbaron
2006-12-18 22:34:30 +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
dbaron@dbaron.org
fd302e6ca1
Fix bad interaction of colspan handling with AddMinCoord's magic to deal with specified coord widths. Substantive changes by bzbarsky, comments by me. r+sr=dbaron/bzbarsky b=363150
2006-12-09 05:38:19 +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
bmlk@gmx.de
6ee0aa31aa
fix potential 0 deref bug 333351 r/sr=roc
2006-04-14 16:21:21 +00:00
dbaron@dbaron.org
96634178f2
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
darin@meer.net
862ba45cb9
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00