Граф коммитов

277 Коммитов

Автор SHA1 Сообщение Дата
Jan Küchler c510bc3046 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
L. David Baron 89545b0362 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 2a023744e6 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 dea07412a1 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Makoto Kato 63a9fda84f 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 326d24abca 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 8408879a60 Remove now-unneeded argument from GetWidthInfo. (Bug 466108) r=dholbert sr=roc 2008-12-04 08:09:52 -08:00
L. David Baron 3347434086 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 28a8588125 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
dholbert@cs.stanford.edu 9afbef7f63 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
dbaron@dbaron.org 593a0bb24a 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
dholbert@cs.stanford.edu 356cf160e5 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
dholbert@cs.stanford.edu 8bc4c97fbc Bug 413286: Let empty auto-width columns be expanded. r+sr=dbaron a=blocking1.9+ 2008-02-21 19:25:56 -08:00
dholbert@cs.stanford.edu 2ed65950de 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
dbaron@dbaron.org 5a7a8d066f 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
dholbert@cs.stanford.edu 9fa5945e40 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
dholbert@cs.stanford.edu 0d23f498fd 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
dholbert@cs.stanford.edu f6b0191adc 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
dholbert@cs.stanford.edu 7bd62c18f6 Bug 398157: Fix nscoord_MAX arithmetic using NSCoordSaturatingSubtract. r=roc sr=roc a=roc 2007-10-01 14:44:50 -07:00
dholbert@cs.stanford.edu 83ad6c43d6 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
dholbert@cs.stanford.edu 5e31bd00b0 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
dbaron@dbaron.org c5c9d3cb46 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
sharparrow1@yahoo.com 9da968b142 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
bzbarsky@mit.edu 93656034b8 No max-width means "none", not null unit. Bug 381284, r+sr=dbaron 2007-05-23 12:56:02 -07:00
dbaron@dbaron.org ace3611ec9 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
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
dbaron%dbaron.org 2a5524be67 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 8d13bd3f77 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 e991cbf0ba 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 9a2f5780e9 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 7a03b97f01 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 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +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
bzbarsky%mit.edu 27ca5847eb 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 21d73573a8 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 df3f524c0f 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 52d0e2d098 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 b32b8039f8 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 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org 146c1af6e5 Fix shadowing variable name. No bug. 2006-12-18 22:35:01 +00:00
dbaron%dbaron.org 1e894edf9f 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 6ee857d0b7 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 f05e8007d1 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 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
bmlk%gmx.de 049d72f6e1 fix potential 0 deref bug 333351 r/sr=roc 2006-04-14 16:21:21 +00:00
dbaron%dbaron.org 04b8c33eda 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 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
timeless%mozdev.org 426f83aecc Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de 43ac693e27 look for originating table cells only at places where they are supposed to be bug 313295 r/sr=bzbarsky 2005-10-29 13:45:38 +00:00