Bernd
d0faab8b9c
adopt caption vertical margins to latest CSS2.1 revision, bug 478614, r/sr=dbaron
2009-06-28 15:51:46 +02:00
Bernd
faf99f05b9
bug 325292 - place the needtocollapse flag on the first inflow so that works in pagination mode r/sr=roc
2009-06-21 18:34:03 +02:00
Bernd
17845292a3
refactor the setting of continous borders in the border collapse computation bug 452319 r=fantasia sr=roc
...
* * *
* * *
* * *
* * *
2009-06-21 18:31:40 +02:00
L. David Baron
44a6267b1d
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
Robert O'Callahan
5843f756df
Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner
2009-05-28 17:01:42 +12:00
Bernd
d8dd943257
bug 492661 - track the visibility of cols and colgroups independently of the presence of cells r/sr=roc
2009-05-16 16:22:56 +02:00
Arpad Borsos
5c75f0b0ee
Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc
2009-05-12 12:13:09 +02:00
Daniel Holbert
42f2f94d22
Bug 490909: Remove old layout debugging code, patch #2 : remove 'VerifyTree' & related code. r+sr=dbaron
2009-05-12 12:03:09 -07:00
Boris Zbarsky
647919875d
Bug 490182. Ask to reflow the right frame. r=bernd, sr=dbaron.
2009-05-11 09:17:25 -04:00
L. David Baron
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Bob Clary
e55903ba5f
bug 391898 - replace img src= http://i with about:blank to prevent time out during test.
2009-04-24 10:08:26 -07:00
Bob Clary
0b5c6196e1
bug 370360 - crash test by Eli Friedman.
2009-04-24 10:08:17 -07:00
Bob Clary
86d596b797
bug 344000 - crash test by Bernd.
2009-04-24 10:08:14 -07:00
Bob Clary
0cb214a798
bug 343087 - crash test by Jesse Ruderman.
2009-04-24 10:08:13 -07:00
Bob Clary
a536d096ab
bug 339246 - crash test by Jesse Ruderman.
2009-04-24 10:08:13 -07:00
Bob Clary
5be09e81a4
bug 339130 - crash test by Jesse Ruderman.
2009-04-24 10:08:13 -07:00
Bob Clary
3bff717be5
bug 316636 - crash test by Martijn Wargers, Bernd.
2009-04-24 10:08:09 -07:00
Bob Clary
becd595347
bug 308752 - crash test by Jesse Ruderman, Martijn Wargers, Bernd.
2009-04-24 10:08:08 -07:00
Boris Zbarsky
317acc3bf5
Bug 489479. Make nsTableFrame::InsertFrames handle a framelist that includes both colgroups and rowgroups being inserted at the end of the principal child list. r=bernd, sr=roc
2009-04-23 10:17:46 -04: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
Boris Zbarsky
680f1bff91
Bug 488388. Handle inserts at the end of a colgroup that has anonymous colframe kids. r=bernd, sr=roc
2009-04-15 17:44:53 -04:00
Boris Zbarsky
0b5e6a2535
Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
...
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Boris Zbarsky
551370dfca
Bug 487899. Start column indices incorrect in nsCellMap::ExpandWithCells if an array with more than one cell is passed in. r=bernd, sr=roc
2009-04-13 11:31:39 -04:00
Boris Zbarsky
330653be70
Backed out changeset 0ea22856b5d9 (bug 484448).
2009-04-08 15:56:43 -04:00
Boris Zbarsky
9fffe6f817
Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
...
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Jonathan Kew
68b13a1a71
Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc
2009-04-06 12:31:50 +12:00
Arpad Borsos
89c2d6ac9b
Bug 481932 - use do_QueryFrame instead of IS_TABLE_CELL + cast; r+sr=roc
2009-03-24 23:10:06 +01:00
Arpad Borsos
6629426d28
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc
2009-03-12 08:26:29 +01:00
Karl Tomlinson
b8e39184d7
backout dac7c3176b33 from bug 481881
2009-03-11 17:09:22 +13:00
Arpad Borsos
c1e6f4a31e
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc
2009-03-11 15:26:36 +13:00
L. David Baron
3a120c56d3
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
L. David Baron
da21efddd5
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
bd25838a7a
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
c936720f0a
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
11e12c4425
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
3d090560b0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
7ee7fbc33f
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Daniel Holbert
a0c33510e5
whitespace-only: align 'aPresContext' with other parameters in methods within nsTableFrame.cpp
2009-02-18 11:47:22 -08:00
Daniel Holbert
08905ccb04
Bug 478785: Remove unneeded availHeight variable in nsTableCellFrame::Reflow, plus minor whitespace cleanup. r=dbaron
2009-02-16 16:02:21 -08:00
Daniel Holbert
f0d4050f55
whitespace only: fix alignment of parameters for nsTableCellFrame::SetSelected
2009-02-16 14:26:57 -08:00
Zack Weinberg
2ed31147bb
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
...
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Jesse Ruderman
ea905567dc
Add crashtests
2009-02-13 14:54:17 -08:00
Daniel Holbert
82c4c4b2e1
typo fix in a comment: s/glock/block/ CLOSED TREE a=sdwilsh|sheriff
2009-02-12 15:10:59 -08:00
Jesse Ruderman
397e21afab
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Jesse Ruderman
e6ffd994a3
Add some crashtests
2009-02-10 16:36:04 -08:00
Michael Ventnor
1afd316abf
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Jesse Ruderman
313514226b
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
Bernd
ffe2929d6a
include the border width for border collapsed tables as required by CSS 2.1. We implemented before what CSS 2.0 required and it was ugly, so the spec changed. r=fantasai sr=roc, bug 155955
2009-02-08 17:46:42 +01:00
Bernd
f94f0994d9
remove dead debugging code r/sr=bzbarsky bug 475075
2009-02-08 17:45:28 +01:00
Arpad Borsos
91118b918d
Bug 474369 - get rid of nsVoidArray, layout/tables part. r+sr=roc
2009-02-05 10:09:50 +01:00
Daniel Holbert
1410da3693
Whitespace-only: Fix parameter indentation in nsTableCellFame.cpp
2009-01-14 21:06:03 -08:00
Daniel Holbert
6b8a0f9014
Whitespace-only: Fix parameter indentation in nsTableRowFrame.cpp and nsTableRowGroupFrame.cpp
2009-01-14 14:16:43 -08:00
L. David Baron
960d7facd3
Clean up CalcAvailWidth. (Bug 444928) r=bernd
2009-01-13 11:50:40 -08:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Michael Ventnor
1766ffca05
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
L. David Baron
ad5d856ae6
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
4872871d0b
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
L. David Baron
e3204bb21a
Fix slight errors when widths can't be round-tripped through floats. (Bug 467141) r+sr=roc
2008-12-04 08:09:53 -08: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
Michael Ventnor
a7a868b681
Bug 453641. Make box-shadow work on tables and table parts. r+sr=roc
2008-12-03 14:20:21 +13:00
Bernd
bc86ffbed0
bug 458924 - activate the DidResizeColumns mechanism when column widths changes in fixed layout. r/sr=dbaron
2008-11-27 18:23:52 -08:00
L. David Baron
798ff29d8c
Distribute extra space in fixed-layout tables where all columns have widths proportionally rather than equally, for compatibility. (Bug 445142) r=bernd sr=roc a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
114a60a7ec
Back out 6ce5f62a59455c79b3e12414989d3727f283b7c3 due to mac startup failures.
2008-11-25 14:38:06 -08:00
L. David Baron
385a0411a4
Distribute extra space in fixed-layout tables where all columns have widths proportionally rather than equally, for compatibility. (Bug 445142) r=bernd sr=roc a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
45ee791f57
Simplify conditions, part 2, since we're really only trying to avoid IsGeometryDirty if we're not going to need any reflow at all. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
3ccddbc00c
Simplify condition, part 1, since mVResize already implies IsGeometryDirty thanks to the code immediately above. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
986cb9a310
Avoid exponential growth of special height reflows. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
f4b906eed7
Remove nsHTMLReflowState::mPercentHeightReflowInitiator, which is write-only. (Bug 438509) r+sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
Robert O'Callahan
d3c750c6de
Bug 462972 - 'Fix nsChangeHint comparisons'. r=bernd, sr=dbaron
2008-11-04 14:03:14 -08:00
Bernd
aa06438c13
bug 462849 degenerated colgroups can be empty r/sr=bzbarsky
2008-11-03 19:30:38 +01:00
Robert O'Callahan
f6cba6e4bb
Bug 442304. Don't try to clip table cells in %-overheight situations in quirks mode. (Basically we're just removing a quirk here.) r=bernd,r+sr=dbaron
2008-11-03 14:01:49 +13:00
Bernd
cbc80e7812
bug 286797 dynamic changes of the border color require a update of the cellmap as there is stored where a new segment starts. This is used by painting. r/sr=bzbarsky
2008-11-02 19:41:35 +01:00
Bernd
c4a59526d4
bug 258377 remove inline on PeekStyleData so that it can be called from the layout library r/sr=bzbarsky
2008-11-01 09:52:29 +01:00
Benjamin Smedberg
ae14b3d6aa
Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren
2008-10-30 12:17:59 -07:00
Benjamin Smedberg
292d44b1a8
Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212
2008-10-28 02:49:14 -04:00
Benjamin Smedberg
87c2e7ef23
Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
...
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!
r+sr=roc
2008-10-28 00:47:19 -04:00
Bernd
470cc59a44
mac build bustage disable the code in question
2008-10-26 13:06:28 +01:00
Bernd
1359cad703
trying to fix mac burning
2008-10-26 11:56:39 +01:00
Bernd
867fdf2cb0
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Bernd
2fd04858fe
bug 360422 remove obsolete code r/sr=bzbarsky
2008-10-26 10:24:59 +01:00
Bernd
0ba7b200b4
bug 451170, avoid hanging by going to the next frame instead of quering the same frame again. r/sr=bzbarsky
2008-10-26 10:20:42 +01:00
Robert O'Callahan
bc51ece93b
Bug 460240. Need to repaint the overflow area if the overflow area changes, the frame has effects/outline/box-shadow, and the frame size has not changed. r+sr=bzbarsky
2008-10-21 20:42:28 +13:00
Mats Palmgren
268bc39709
Subtract the row index from the row count, not the col count. b=284852 r=bernd sr=bzbarsky
2008-10-19 10:25:14 +02:00
Bernd
7ae43293e0
trigger fixed layout if the width cahnges from auto to fixed, bug 426629r/sr=dbaron
2008-10-18 19:25:26 +02:00
Jesse Ruderman
efecec453c
Add bug 370897 crashtest
2008-10-16 14:49:40 -07:00
Mats Palmgren
76257879bd
Regression test for bug 300912.
2008-10-13 01:53:44 +02:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Bernd
ec250c005f
add comment for bug 76331 as requested by the reviewer
2008-09-27 13:25:28 +02:00
Bernd
28f6e7c3b3
use the right method to insert more than one frame, bug 456041 r/sr=bzbarsky
2008-09-27 13:07:29 +02:00
Zack Weinberg
473726ed0c
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02: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
97bef90839
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Bernd
3e3991e26d
make sure that the height from a fixed height tbody gets distributed, bug 439639, r=dholbert, sr=roc
2008-09-20 11:30:30 +02:00
Robert O'Callahan
775dd33c74
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Bernd
ecc3d8a9b7
CSS 2.1 empty-cell handling of the excotic cases, bug 76331, r/sr=roc
2008-09-13 16:38:29 +02:00
L. David Baron
9272a92fdf
Convert border spacing storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Zack Weinberg
0299bad5bb
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Ted Mielczarek
ff7706a544
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Graeme McCutcheon
bc94c13609
Bug 451252 - "Highlight All" find selection not visible in elements that have -moz-user-select: none set; r+sr=roc
2008-09-07 16:12:50 +02:00
Jesse Ruderman
6a8ceff67c
Add bug 392132's testcase as a crashtest
2008-09-06 22:37:29 -07:00
Bernd
40afc5fe69
CSS 2.1 compliance empty-cells does not apply in border-collapsed tables, initial patch by William Wedin, bug 392047, r/sr=roc
2008-08-26 09:59:34 +02:00
Bernd
b8dc9012b8
remove obsolete assert and comment bug 430374 r/sr=bzbarsky
2008-08-24 10:06:57 +02:00
Boris Zbarsky
bd67eb6f6f
Bug 449362 - "Table border is rendered incorrectly when the table cell size changes due to javascript." [r+sr=roc]
2008-08-20 01:45:29 -05:00
Robert O'Callahan
a1ceff3005
Bug 423823. Clip overflowing background when tbody is scrollable. r=fantasai,sr=dbaron
2008-08-16 21:10:29 +12:00
Justin Dolske
95aeedab8e
Backed out changeset 7362e63c648e (relanding bug 449422)
2008-08-13 20:49:57 -07:00
Justin Dolske
0b23d39a57
Backed out changeset e7c43898c379
2008-08-13 16:29:57 -07:00
Boris Zbarsky
cef83c45fd
Bug 449422. Assert early and hopefully not often when table-row frames have the wrong display type. r=bernd, sr=roc
2008-08-07 17:05:19 -04:00
Mats Palmgren
3ba2de655f
Manually calculate the overflow area contribution from our children when not reflowing them. b=428278 r=bernd sr=dbaron
2008-08-07 16:19:33 +02:00
Boris Zbarsky
3bc9fc55dd
Bug 416845 tests
2008-08-06 17:38:25 -04:00
Mats Palmgren
da3c8521af
Bug 416845. Use the right x position when distributing height to rows. r=bernd, sr=bzbarsky
2008-08-06 16:53:36 -04:00
Bernd
d8b28fa4ed
make the table column dimension setting rtl aware bug 89856 r/sr=roc
2008-08-04 09:27:32 +02:00
Bernd
e360438143
make sure that we initialize the BCDamageArea bug 351068 r/sr=bzbarsky
2008-08-04 09:14:39 +02:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
7d3343e0fa
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
269c2d355a
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
Bernd
d8f4877b29
limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky
2008-07-16 17:02:18 +02: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
Robert O'Callahan
7644127121
Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout
2008-07-14 10:41:18 +12:00
mats.palmgren@bredband.net
af919fa36f
Wallpaper a crash. b=430814 r=bernd sr=roc a1.9=mconnor
2008-04-27 14:10:23 -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
jruderman@hmc.edu
cbc2c78001
Add a crashtest
2008-04-22 21:34:53 -07:00
roc+@cs.cmu.edu
1cf7770007
Bug 316500. Fix merge regression so that fixed-background tables display correctly. r+sr=mats,a=damon
2008-04-21 15:00:48 -07:00
dholbert@cs.stanford.edu
fa248f485b
Bug 409084: When determining if a row or rowgroup isTopOfPage, check if the previous row has positive YMost, rather than just checking if there *is* a previous row. r=bernd sr=dbaron a1.9=beltzner
2008-04-17 11:18:41 -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
roc+@cs.cmu.edu
7c840869f1
Bug 422678. Table rows whose style-height doesn't fit in the available height (but whose cells do) should be marked incomplete during reflow. r=bernd,sr=dbaron
2008-04-08 05:28:34 -07:00
timeless@mozdev.org
659585cffb
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-07 23:18:35 -07:00
bmlk@gmx.de
e2c0c7cd77
lookup all columns for possible originating cells, bug 426706 r/sr=bzbarsky a=beltzner
2008-04-06 05:16:45 -07:00
bmlk@gmx.de
4e493051f8
initialize all border parameters so that the border is initialized even for empty rowgroups bug 424434 r/sr=bzbarsky a=mtschrep
2008-04-06 05:12:04 -07:00
roc+@cs.cmu.edu
c29f127699
Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron
2008-04-06 04:34:14 -07:00
dholbert@cs.stanford.edu
d7da1fc323
Whitespace-only change: clean up parameter indentation in nsTableRowGroupFrame
2008-04-02 14:52:04 -07:00
bzbarsky@mit.edu
7fcd1f6092
Invalidate the original overflow rect too when the frame moves. Bug 424766, r+sr=roc
2008-04-01 16:27:25 -07:00
bzbarsky@mit.edu
7eb9d4fe30
Invalidate things correctly when the caption or inner table is resized. Bug 424465, r=bernd, sr=roc
2008-04-01 14:53:19 -07:00
jruderman@hmc.edu
c236c042fc
Add crashtest
2008-03-27 00:03:22 -07:00
bmlk@gmx.de
8b8fcfb091
lookup all columns for possible originating cells, bug 423514 r/sr=bzbarsky a=mtschrep
2008-03-26 22:03:02 -07:00
bmlk@gmx.de
bdd278ad72
use the firstinflow when looking up rowgroups bug 424291 r/sr=bzbarsky a=mtschrep
2008-03-21 13:37:31 -07:00
dbaron@dbaron.org
50002fac9c
Additional fix on top of roc's patch for bug 421069 to fix the regression it caused. r=dholbert approval1.9b5=damon
2008-03-20 18:19:13 -07:00
dbaron@dbaron.org
a8fd009d52
Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron approval1.9b5=damon
2008-03-20 18:18:30 -07:00
dbaron@dbaron.org
a2c9696729
Backing out bug 421069 (which I landed earlier today for roc) because it caused bug 424016.
2008-03-19 22:58:00 -07:00
dbaron@dbaron.org
f495b5647e
Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron
2008-03-19 16:02:38 -07:00
dbaron@dbaron.org
9c126b98d3
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
2008-03-19 15:05:04 -07:00
timeless@mozdev.org
7f880e43ef
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
bzbarsky@mit.edu
db29e89cc6
Comment fix
2008-03-16 17:22:54 -07:00
bzbarsky@mit.edu
a102045045
Invalidate tables a little harder. Bug 421632, r+sr=roc
2008-03-16 13:32:48 -07:00
jruderman@hmc.edu
f128056e1e
Add a crashtest
2008-03-08 22:37:45 -08:00
surkov.alexander@gmail.com
ef11919bb8
Bug 416742 - Regression: multiple rowgroups interfere with getColumnAtIndex(), r=bernd, sr=roc, a=beltzner
2008-03-07 02:14:35 -08:00
dbaron@dbaron.org
00aedc3553
Compute the shrink-wrapping size of table outer frames correctly. b=363402 r+sr=roc a1.9b4=beltzner
2008-02-28 09:55:04 -08:00
dbaron@dbaron.org
c07735665d
Fix horizontal positions of top and bottom captions in the presence of non-left-aligned tables. b=363248,386704 r+sr=roc a=blocking1.9+
2008-02-26 18:03:11 -08:00
dbaron@dbaron.org
d98a9e860e
Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+
2008-02-26 18:02:20 -08:00
dbaron@dbaron.org
911901b1f3
Split nsTableOuterFrame::OuterReflowChild. b=363248,386704 r+sr=roc a=blocking1.9+
2008-02-26 18:01:33 -08: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
bmlk@gmx.de
b2591bb1dd
adding crashtests
2008-02-20 21:20:34 -08:00
bmlk@gmx.de
b1ae52918c
expand the cellmap to cover empty content rows when rebuilding the cellmap bug 351326 r/sr=bzbarsky a=mtschrep
2008-02-20 21:11:36 -08:00
bmlk@gmx.de
78f5dfdab1
make the lineiterator interface for tables a little more sane bug 388700 r/sr=roc a=mtschrep
2008-02-20 12:22:18 -08:00
fantasai.cvs@inkedblade.net
2f230818c7
switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
2008-02-19 23:08:55 -08:00
jag@tty.nl
05cdb6aefe
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu
1b643514f5
Make sure that changes to the "span" attribute on a colgroup actually work. Bug 404309, r=bernd, sr=dbaron, a=beltzner
2008-02-14 20:19:28 -08:00
bmlk@gmx.de
1797043034
document the lineiterator interface and all its current flaws. Make :GetNextSiblingOnLine more efficient. bug 388700 r/sr=roc a=mtschrep
2008-02-09 09:10:58 -08:00
bzbarsky@mit.edu
3a6834eaac
Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc
2008-02-08 01:36:32 -08:00
surkov.alexander@gmail.com
5b9aa836b8
Bug 410052 - bustage fix on windows
2008-02-06 23:23:00 -08:00
surkov.alexander@gmail.com
d8aebfb510
Bug 410052 - Fix our nsHTMLAccessibleTable class so GetIndexAt and GetRowAtIndex and GetColumnAtIndex behave consistently, patch=me, marcoz, r=marcoz, me, bernd, sr=roc, blocking1.9+=dsicore
2008-02-06 23:03:26 -08:00
bzbarsky@mit.edu
d346697eb7
Don't invalidate the entire table just because we reflowed something inside it. Bug 414298, r+sr+a=roc
2008-02-06 14:01:41 -08:00
dholbert@cs.stanford.edu
e9f6157efe
Bug 403669 - Dirty the table geometry when we split row groups. r+sr=dbaron, a=blocking1.9+
2008-01-26 17:54:48 -08:00
bmlk@gmx.de
b5557fcea9
do not compare with a unconstrained size, bug 390049 r/sr=roc a=mtschrep
2008-01-19 22:42:31 -08:00
bmlk@gmx.de
fe17447110
remove dead code, bug 282009 r/sr=roc a=mtschrep
2008-01-19 22:34:03 -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
mats.palmgren@bredband.net
dab7469f77
Add a null-check to wallpaper bug 411582. b=411582 r+sr=bzbarsky a=mtschrep
2008-01-15 15:29:53 -08:00
jruderman@hmc.edu
3145fd1893
Adding a crashtest
2008-01-06 15:27:19 -08:00
jruderman@hmc.edu
2c745b82fb
Add crashtest
2008-01-05 22:17:05 -08:00
jruderman@hmc.edu
b021699a5b
Add crashtest
2008-01-05 21:03:55 -08:00
jruderman@hmc.edu
cd2f588929
Add crashtests
2008-01-04 23:01:34 -08:00
jruderman@hmc.edu
1525528480
Add a crashtest
2008-01-04 20:48:46 -08:00
jruderman@hmc.edu
808d502da3
Add crashtest
2008-01-04 20:14:54 -08:00
jruderman@hmc.edu
e85b5afe1a
Add crashtest for WFM bug
2008-01-04 17:31:25 -08:00
roc+@cs.cmu.edu
f8b25558e4
Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats
2008-01-03 18:08:29 -08:00
roc+@cs.cmu.edu
4cedbfdd70
Bug 408749. Reflow captions with unconstrained height, because we have no logic to reflow their continuations. r+sr=bzbarsky
2007-12-20 19:25:36 -08:00
jruderman@hmc.edu
55097360e9
Add crashtest
2007-12-16 22:38:48 -08:00
jruderman@hmc.edu
d7625d447e
Add crashtests
2007-12-16 22:37:33 -08:00
jruderman@hmc.edu
14c2b3bf99
Out of the frying pan, into the crashtest!
2007-12-16 22:30:27 -08:00
jruderman@hmc.edu
93895aba6c
Add crashtest
2007-12-16 22:27:04 -08:00
jruderman@hmc.edu
a9d70a7186
Add crashtests
2007-12-16 22:05:02 -08:00
jruderman@hmc.edu
737370db9c
Add crashtest
2007-12-16 21:56:48 -08:00
jruderman@hmc.edu
0300941fc7
Add crashtests
2007-12-16 21:55:32 -08:00
jruderman@hmc.edu
626715691a
Elvis has left the crashtest.
2007-12-16 21:52:57 -08:00
jruderman@hmc.edu
b9a586d425
Add crashtest
2007-12-16 21:51:36 -08:00
jruderman@hmc.edu
09f427728f
Add crashtests
2007-12-16 21:41:10 -08:00
jruderman@hmc.edu
c90f2f5586
Add crashtests
2007-12-16 21:33:53 -08:00
jruderman@hmc.edu
990a393cda
Add a crashtest
2007-12-16 21:23:00 -08:00
jruderman@hmc.edu
484b16ecb8
Add crashtest
2007-12-16 21:21:42 -08:00
jruderman@hmc.edu
52ae0a8ab7
To explore strange new crashtests. [Commit message suggested by JoeS]
2007-12-16 20:48:42 -08:00
jruderman@hmc.edu
c682072500
Add crashtests
2007-12-16 20:22:22 -08:00
jruderman@hmc.edu
dbf2f3a36d
Add crashtest
2007-12-16 19:08:21 -08:00
jruderman@hmc.edu
9e12f32b6f
Add crashtest!
2007-12-16 19:06:31 -08:00
jruderman@hmc.edu
059d89c581
Add crashtest
2007-12-16 18:41:22 -08:00
jruderman@hmc.edu
42e34399f8
In space, no one can hear you crashtest.
2007-12-15 19:47:22 -08:00
jruderman@hmc.edu
a5e02ee77e
Add crash test
2007-12-15 18:48:45 -08:00
jruderman@hmc.edu
ae94caabc5
De-bust
2007-12-15 17:32:00 -08:00
jruderman@hmc.edu
68020cec16
A nun, a priest, and a rabbi walk into a crashtest...
2007-12-15 16:56:27 -08:00
jruderman@hmc.edu
727878d58b
I, for one, welcome our new crashtest overlords.
2007-12-15 14:21:58 -08:00
jruderman@hmc.edu
5f0153f72a
Add crashtest
2007-12-15 14:19:06 -08:00
bmlk@gmx.de
b64d41431a
fix handling of empty rowgroups (that are rg without a row beneath) in the border collapse code (bug 383193 r/sr=bzbarsky a=mtschrep
2007-12-15 12:23:10 -08:00
jruderman@hmc.edu
e6b2825825
Add crashtest for bgu 284844.
2007-12-15 11:28:49 -08:00
bmlk@gmx.de
1dbce7da4c
Implement row height distribution as it was described in the comment. Consider to give space to empty unconstrained rows as one option bug 197391 r/sr=roc a=mtschrep
2007-12-15 08:08:52 -08:00
bzbarsky@mit.edu
021559db01
Remove dead code. Bug 404666 followup, r=bernd, sr=roc, a=schrep
2007-12-05 11:38:26 -08:00
roc+@cs.cmu.edu
a3450f4db1
Bug 383195. Recreate support for repeatable table headers and footers while printing. r=bernd,sr=dbaron
2007-12-04 18:32:56 -08:00
bzbarsky@mit.edu
6c0d0c1564
Fix bug 404666 by making spanned colframes be continuations of the col that spans them. r=bernd, sr=roc, a=schrep
2007-12-02 23:45:06 -08:00
bmlk@gmx.de
002b0db04d
when splitting rowgroups the space that is left on the page is computed from relative to the bottom, bug 373400 r=sharparrow1 sr=dbaron a=blocking 1.9+
2007-12-02 11:19:00 -08:00
Olli.Pettay@helsinki.fi
a0a74f16e7
Bug 368760, r=mats, sr=roc, a=blocking1.9+
2007-11-22 12:47:33 -08:00
bzbarsky@mit.edu
326c3d5ec2
When inserting a col into a colgroup after a col with span, insert it after the last columnframe spanned by the span. Bug 404301, r=bernd, sr=roc, a=schrep
2007-11-19 20:29:40 -08:00
bzbarsky@mit.edu
a2bba38560
The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc
2007-11-18 10:56:49 -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
dbaron@dbaron.org
62f3e2ea18
Distribute height to rows even if the rows in question are all zero-height (in which case, distribute it equally). b=403656, 377711 r=dholbert sr=roc a=blocking1.9+
2007-11-13 17:24:21 -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
roc+@cs.cmu.edu
588aa98f7d
Bug 397428. Return 'complete' on *all* paths whenever we push a rowgroup to the next page. r=bernd,sr=bzbarsky,a=schrep
2007-11-11 17:45:56 -08:00
bzbarsky@mit.edu
c916e28b7f
Make sure to remove anonymous cols created by a <col span="n"> when that col is removed. Bug 399209, r=bernd, sr+a=roc
2007-11-08 22:05:19 -08:00
bzbarsky@mit.edu
dac3d16a14
If we moved but did not reflow either the caption or the inner table, invalidate the relevant area. Bug 379353, r=bernd, sr=roc
2007-11-07 09:17:30 -08:00
dholbert@cs.stanford.edu
211998d47c
Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner
2007-11-06 14:47:29 -08:00
reed@reedloden.com
2c9a253889
Bug 368600 - "Table with table-layout: fixed has unconstrained width even when width specified on cell" [p=bernd_mozilla@gmx.de (Bernd) r+sr+a1.9=dbaron]
2007-10-21 21:40:02 -07:00
fantasai.cvs@inkedblade.net
304630cf88
nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc
2007-10-19 07:41:29 -07:00
fantasai.cvs@inkedblade.net
c65caf3497
fantasai is clearly having process troubles
2007-10-15 20:08:48 -07:00
fantasai.cvs@inkedblade.net
c8edae2e7c
nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc
2007-10-15 20:06:36 -07:00
fantasai.cvs@inkedblade.net
fc4481baed
using wrong BC damage area for BC calculations b=244135 p=malcolm.parsons r=bernd r=fantasai (credits for a good review go to Bernd Mielke, blame for a bad one to fantasai) sr=bz
2007-10-14 21:49:45 -07:00
bzbarsky@mit.edu
cde473408d
Make sure to not propagate special height reflows too far. Bug 391901, r+sr+a=dbaron
2007-10-08 19:39:06 -07: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
cbarrett@mozilla.com
f853061fdf
Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron.
2007-08-17 16:58:19 -07:00
cbarrett@mozilla.com
07c65fa3ba
Bug 370353: Dynamically setting "visibility: collapse" to a <col> no longer works. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron
2007-08-17 16:51:58 -07:00
bmlk@gmx.de
a8a27d0772
adapt assert to code reality, bug 364512 r/sr/a=dbaron
2007-08-11 09:19:55 -07:00
masayuki@d-toybox.com
9affd989eb
Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
2007-08-06 01:15:00 -07:00
ginn.chen@sun.com
d0ed3cca65
Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore
2007-08-05 20:22:32 -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
bzbarsky@mit.edu
725f9f32fc
Make sure to reflow the caption if it gets inserted into our table before another caption. Bug 389924, r=bernd, sr+a=dbaron
2007-08-02 14:34:58 -07:00
bzbarsky@mit.edu
9c59e9e4cc
Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
...
update the resize flags properly. Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
roc+@cs.cmu.edu
a28eeaaafd
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
2007-07-25 21:03:29 -07:00
bzbarsky@mit.edu
38e9f3f89b
Fix regression in sizing of tables with scrollable rowgroups. Bug 387344,
...
r=bernd, sr=roc
2007-07-12 13:54:18 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
aaronleventhal@moonset.net
4ff6072f7d
Bug 377783. Fix crash and clean up table a11y. r=evan.yan
2007-07-05 08:39:29 -07:00
mats.palmgren@bredband.net
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
b6d8dd200b
Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
2007-07-03 15:49:00 -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
dbaron@dbaron.org
731e0cce6c
Only do special height reflows for percentage-height children of table cells when there is a specified height on the table, row group, row, or cell in the row. b=370525 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
2007-06-25 13:34:35 -07:00
dbaron@dbaron.org
7299d6225d
Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc
2007-06-18 16:19:39 -07:00
bzbarsky@mit.edu
edaea09148
Make OrderRowGroups type-safe. Bug 367706, r=bernd, sr=roc
2007-06-05 11:55:26 -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
5b75544077
Call SetGeometryDirty if we need to call DistributeHeightToRows, since DistributeHeightToRows can't deal with rows that have already had height distributed to them. Patch by Daniel Holbert <dholbert@mozilla.com>. b=380227 r+sr=dbaron
2007-05-17 23:04:43 -07:00
dbaron@dbaron.org
9920e003d3
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
bzbarsky@mit.edu
bc29535f04
Fix determination of the style context parent for the inner table frame of aroot table. Bug 379386, r+sr=roc
2007-05-07 20:59:12 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -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
487d95825a
Fix bug 379229, r+sr=dbaron
2007-04-29 23:17:03 -07:00
sayrer@gmail.com
b80649a523
bug 378487. allocator mismatch in SpanningCellSorter. r+sr=bzbarsky
2007-04-23 11:40:07 -07:00
benjamin@smedbergs.us
baab01ada6
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
9a93ae1b49
Give captions the right style context parent when dynamically restyling. Bug378240, r=bernd, sr=dbaron
2007-04-22 12:15:24 -07:00
sayrer@gmail.com
b80cfd9871
Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
2007-04-16 08:18:50 -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
d98d9fdec5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -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
bmlk%gmx.de
68d05fab5f
mark cellmap if 0 colspans are present for 0 colspan expansion when cells are deleted bug 373390 r/sr=bzbarsky
2007-03-17 05:58:15 +00:00
bzbarsky%mit.edu
66e808a4af
Get the correct next-in-flow. Bug 373611, r+sr=dbaron
2007-03-13 21:23:17 +00:00
bmlk%gmx.de
d68a0652fc
mark zerocolspans to be expanded if they are inserted rather than appended. bug 372776 r/sr=bzbarsky
2007-03-07 05:06:38 +00:00
bzbarsky%mit.edu
481c2affc3
Fix bug 371925 -- we need to allow for the case when the prev sibling is at
...
index 0. r=bernd, sr=roc
2007-02-28 22:42:20 +00:00
bzbarsky%mit.edu
a2568210d3
When inserting a cell, make sure to properly maintain the mNumCellsSpan of the
...
columns involved. In particular, do NOT decrement it when dead CellData are
removed from the column. Bug 371290, r=bernd, sr=roc
2007-02-23 17:41:15 +00:00
dbaron%dbaron.org
cfef5cbbe5
Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
2007-02-22 20:22:12 +00:00
bmlk%gmx.de
15f99a67ae
limit array access when a rowspan points to a already pushed row, bug 370360 r/sr=bzbarsky
2007-02-21 19:42:21 +00:00
bmlk%gmx.de
4dab2d8d98
collapse zero colspans when new cells are inserted bug 370842 r/sr=bzbarsky
2007-02-21 19:31:52 +00:00
bzbarsky%mit.edu
d942dc7cc0
Fix bug 370586. r=bernd, sr=roc
2007-02-19 01:10:28 +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
bmlk%gmx.de
9845cab803
fix oversight with zero rowspan handling bug 370808 r/sr=bzbarsky
2007-02-18 18:50:39 +00:00
bzbarsky%mit.edu
806907a4d2
Don't use a static nsTArray. Bug 369099, r=bernd, sr=roc
2007-02-13 16:23:19 +00:00
bmlk%gmx.de
6fe97a58cd
take into account overlap situations between row- and colspans, bug 369975 r/sr=bzbarsky
2007-02-13 05:32:18 +00:00
sharparrow1%yahoo.com
d19f64369b
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +00:00
bmlk%gmx.de
14281d618d
look out for zero rowspans when expanding the cellmap bug, 368651 r/sr=bzbarsky
2007-02-10 06:56:57 +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
dbaron%dbaron.org
1e0db05c93
Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
2007-02-01 02:45:55 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
f29ad74749
Fix crash bug 368166. r=bernd, sr=roc
2007-01-28 16:49:26 +00:00
dbaron%dbaron.org
d8805141a6
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
2007-01-27 22:22:24 +00:00
dbaron%dbaron.org
a74c1106d1
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
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
7413db90f4
Address review comment I missed. Bug 367749.
2007-01-24 20:23:08 +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
dbaron%dbaron.org
f6245f0ed9
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
bzbarsky%mit.edu
ed9ad7b7bf
Make it possible for callers who want to iterate all the row groups and
...
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups). Bug 366892, r=bernd, sr=roc
2007-01-22 04:35:25 +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
bmlk%gmx.de
97b5794242
Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
2007-01-21 17:51:33 +00:00
dbaron%dbaron.org
e47180b9d5
Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
2007-01-17 23:53:47 +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
bmlk%gmx.de
13abe1b209
Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
2007-01-01 18:18:53 +00:00
bmlk%gmx.de
27757bb08d
initialize variables before use bug 365075 r/sr=bzbarsky
2006-12-27 08:46:30 +00:00