Boris Zbarsky
ba8c31506f
Bug 512336. Make frame lists doubly-linked. r=roc,fantasai
2009-10-02 12:27:37 -04:00
Robert O'Callahan
c2f7a1e950
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Mats Palmgren
1a7f096af8
Bug 233463, patch 2 - Introduce nsFrameList::mLastChild member for fast access to the last sibling frame. r=bzbarsky
2009-09-18 13:09:36 +02:00
Mats Palmgren
7a3be46e9e
Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky
2009-09-18 13:09:35 +02: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
Bobby Holley
0b8080d9b5
Bug 435296 - Sync decode handling for decode-on-draw. r=roc
2009-09-12 16:44:18 -06:00
Zack Weinberg
d47e0f433b
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Boris Zbarsky
811394b5da
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
1ef12b64a7
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Boris Zbarsky
05d3ed5b06
Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc
2009-07-28 08:53:18 -04:00
Boris Zbarsky
cf7d0b6141
Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc
2009-07-28 08:51:09 -04:00
Boris Zbarsky
6f3f5929ed
Bug 504221 part 3. Switch overflowFrames storage to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:51:09 -04:00
Robert O'Callahan
0489e01337
Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
...
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan
36956c156b
Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
...
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
bec635e65d
Bug 505184. When 'deflation' of the background area is not required, paint table backgrounds using a dedicated nsDisplayBackground instead of the multipurpose nsDisplayTableBorderBackground. r=fantasai
2009-07-22 12:44:52 +12:00
Bernd
b62121d34d
bug 240245 remove some bizarre col frame construction code that is never called. r=bzbarsky
2009-07-12 19:47:10 +02:00
Alexander Surkov
fff2439827
Bug 437980 - 9 tests fail in table_indexes.html chrome test file, r=marcoz, davidb, bernd
2009-06-29 18:54:26 +08: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
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
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
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
Daniel Holbert
a0c33510e5
whitespace-only: align 'aPresContext' with other parameters in methods within nsTableFrame.cpp
2009-02-18 11:47:22 -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
Michael Ventnor
1afd316abf
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13: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
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
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
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
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
Bernd
470cc59a44
mac build bustage disable the code in question
2008-10-26 13:06:28 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
bzbarsky%mit.edu
66e808a4af
Get the correct next-in-flow. Bug 373611, r+sr=dbaron
2007-03-13 21:23:17 +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
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
sharparrow1%yahoo.com
d19f64369b
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +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
dbaron%dbaron.org
d8805141a6
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
2007-01-27 22:22:24 +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
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
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
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
bmlk%gmx.de
0f8c9c56cf
add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky
2006-12-26 13:55:32 +00:00
bzbarsky%mit.edu
6705ad44ff
Remove some unused table code. Bug 359139, r=bernd, sr=roc
2006-12-18 03:04:25 +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
d5af630c22
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
79275357a7
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
2006-12-13 03:45:28 +00:00
bmlk%gmx.de
52d6f885ce
report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc
2006-12-10 06:46:17 +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
bzbarsky%mit.edu
132cdda426
Allocate the celldata structs from the presshell arena instead of allocating
...
them from the malloc heap with new. Use nsTArray to store them and an nsTArray
to store those arrays instead of using nsVoidArray. Bug 356335, r=bernd,
sr=sicking
2006-12-07 02:32:57 +00:00
bmlk%gmx.de
d3be21f08f
don't rely on framconstructor to deliver a valid sibling for insert of colgroups and rowgroups as they are siblings contentwise but live on different childlists, bug 337124 r/sr=roc
2006-11-11 13:38:09 +00:00
bmlk%gmx.de
2722eb51e3
Revert a old design decision how to expand zero colspans in the cellmap. Once a cellmap hole was hit via the GetDataAt function the old code tried to repair this cellmap position by walking up and left till a possible origin of a zero span was hit. The new code uses a mark and sweep approach, which should remove the burden that ordinary tables without zero spans but large cellmap holes have to pay. bug 351942 r/sr=bzbarsky
2006-10-20 07:37:24 +00:00
roc+%cs.cmu.edu
c5f6e4e0b1
Bug 241796. Use a row cursor to speed up painting and event handling in large tables, similar to what we do for large blocks already. r+sr=bzbarsky
2006-09-19 21:39:33 +00:00
bzbarsky%mit.edu
feea3a45cc
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
2006-09-19 04:26:20 +00:00
bmlk%gmx.de
3640d5a918
enable old assert (from 2001) to catch cellmap errors, fix one erroneus caller bug 351691 r/sr=bzbarsky
2006-09-11 18:27:35 +00:00
bmlk%gmx.de
9fa638f000
make sure the nextinflow will be pushed bug 347367 r/sr=roc
2006-09-02 09:14:02 +00:00
bmlk%gmx.de
b6cec66d11
compute the BC information only if there are cells bug 350906 r/sr=bzbarsky
2006-09-02 08:48:39 +00:00
bmlk%gmx.de
ccfb295963
expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky
2006-09-02 08:33:52 +00:00
bmlk%gmx.de
6fa9482b95
mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky
2006-08-28 17:41:46 +00:00
bmlk%gmx.de
6f250e7252
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
260c8a2aa1
adjust col frames instead of asserting that the number of cols is wrong bug 347725 r/sr=bzbarsky
2006-08-22 06:08:15 +00:00
mats.palmgren%bredband.net
02eaae11b6
Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
2006-08-22 01:33:46 +00:00
leon.sha%sun.com
2c818d7977
Bugzilla Bug 344883
...
print previewing url freezes bon echo (and minefield if you zoom too)
Patch by leon.sha@sun.com
bernd_mozilla: review+
roc: superreview+
2006-08-07 11:03:43 +00:00
bmlk%gmx.de
fc6d5370ff
fix VC6 build bustage
2006-08-04 20:32:46 +00:00
bmlk%gmx.de
d4f3eadccd
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
2006-08-04 19:15:50 +00:00
bmlk%gmx.de
9a79b08c79
when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky
2006-07-19 19:21:50 +00:00
mats.palmgren%bredband.net
153ab238ca
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
2006-06-29 02:32:36 +00:00
bmlk%gmx.de
822b5ee5b0
reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
2006-06-28 19:00:01 +00:00
bmlk%gmx.de
70ec56f2d3
reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky
2006-06-22 04:19:36 +00:00
roc+%cs.cmu.edu
4571423968
Fixing bustage
2006-05-01 01:41:41 +00:00
roc+%cs.cmu.edu
dd16b28d00
Bug 334690. Fix regression in z-ordering of table cell content for event handling. r=bernd
2006-05-01 01:18:32 +00:00
roc+%cs.cmu.edu
8956f1d8a1
Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
2006-04-27 02:25:23 +00:00
roc+%cs.cmu.edu
ee089f28b9
Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
2006-04-17 22:16:24 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
1d47f5e73d
prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky
2006-04-09 18:43:46 +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
sharparrow1%yahoo.com
1e650e3784
Bug 331415: some printing code cleanup. r+sr=roc.
2006-03-30 00:27:42 +00:00
roc+%cs.cmu.edu
0a10a79f62
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
6fd863f2dd
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
20b85ffac2
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
2006-03-04 05:26:57 +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
uriber%gmail.com
c7032d59bb
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
bzbarsky%mit.edu
f96a096c2c
Fix leak bug 324969 -- make sure to call virtual destructors.
2006-01-29 18:48:58 +00:00
bmlk%gmx.de
430211b413
reorder row groups to keep them in sync when the nextinflow changes underneath bug 302911 r/sr=roc
2006-01-28 06:14:11 +00:00
roc+%cs.cmu.edu
77bca74243
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
ef5d2c73ea
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
2006-01-21 09:54:07 +00:00
bmlk%gmx.de
b91b76b673
insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc
2005-12-16 19:10:56 +00:00
bmlk%gmx.de
d80bb5e08d
fix for null pointer deref, only rowspans span into the row below. bug 316636 r/sr=bzbarsky
2005-11-28 19:29:26 +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
e7a8486231
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
2005-11-04 18:41:32 +00:00
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
mrbkap%gmail.com
3d5f7550f7
bug 314197: Change this often-firing table assertion into a warning. r=bernd sr=bzbarsky
2005-10-28 19:49:51 +00:00
bmlk%gmx.de
8d2cb2369f
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
2005-10-04 15:47:21 +00:00
roc+%cs.cmu.edu
fed343c43a
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
2005-09-19 02:15:54 +00:00
bmlk%gmx.de
fb7a593376
fix reflow reason for special height reflow, reevaluate height reflow conditions as tables with fixed layout might have one reflow less bug 293761 r/sr=roc a=asa
2005-06-21 04:50:42 +00:00
bzbarsky%mit.edu
e61e1e1935
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
84b0577142
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
dbaron%dbaron.org
06ee318b44
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
3d2bafdf0a
prevent negative available widths for rowgroups when changing from an empty table to one with cells and cellspacing, bug 271047 r/sr=roc
2005-03-30 07:42:49 +00:00
dbaron%dbaron.org
9309f3621b
Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
2005-03-30 01:50:56 +00:00
roc+%cs.cmu.edu
996d1e3d9e
Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman
2005-02-16 20:02:14 +00:00
bzbarsky%mit.edu
e042c2f571
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
54d585f2af
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net
92858c988e
Don't page-break before or after a repeated frame. b=278983 r+sr=bzbarsky
2005-02-05 04:23:52 +00:00
bmlk%gmx.de
6296aebe00
Insert only one column group at a time and not all following siblings, bug 277062 r/sr=bzbarsky
2005-02-01 18:07:44 +00:00
cvshook%sicking.cc
e2081a89e6
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
2005-01-25 00:02:58 +00:00
bmlk%gmx.de
3818dd1bf9
improve the splitting of row groups in pagination mode, bug 272830 r/sr=bzbarsky
2005-01-01 18:23:33 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
a11cf38d3a
style lookup correction for border collapse computation under rtl conditions, bug 267420 r=fantasai sr=dbaron
2004-12-27 18:43:55 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
3afdea9ca5
switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky
2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
da145480c7
Fix asserts by making sure that border-spacing is always computed to coord
...
values. Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
aaronleventhal%moonset.net
2ba6814444
Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
2004-11-11 15:07:22 +00:00
bmlk%gmx.de
38ed40934b
fix build bustage
2004-10-31 16:55:12 +00:00
bmlk%gmx.de
68d0ad36e1
paint borders rtl in border collapsed tables when dir=rtl is specified for the table, initial patch by dbaron bug 174470 r/sr=dbaron
2004-10-31 15:52:52 +00:00
bmlk%gmx.de
4f05ce3a62
change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
dc7f3d55d0
reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
2004-10-09 12:04:52 +00:00
bmlk%gmx.de
bc7e872edd
at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
ddf4e18bb2
ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron
2004-09-19 09:50:41 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
939c392649
CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
2004-09-13 18:21:03 +00:00
roc+%cs.cmu.edu
6255acffd9
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
bmlk%gmx.de
a6249cf9b7
1. enhancement of the debug code so that coltypes become visible
...
2. remove the isanonymous flag which is unused
3. make the col dump routine #ifdef DEBUG
4. stop to defer the appending of the colgroup frame. bug 248474 r/sr=bzbarsky
2004-09-04 16:02:50 +00:00