timeless
97c43a3297
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Masayuki Nakano
20fe8ca239
Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron
2010-04-08 21:44:57 +09:00
Ehren Metcalfe
e0ac5d5547
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
cf5b3270af
Use the appropriate color based on visitedness for border-collapse borders. (Bug 147777) r=bernd
2010-04-02 18:58:26 -07:00
L. David Baron
7ff92ec1fa
Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
68d7839f41
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Robert O'Callahan
9a2ed61b34
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Robert O'Callahan
87d4ca678d
Bug 551637. collapseOffsetProperty is never used. r=mats
2010-03-29 14:46:13 +13:00
Bernd
06f0fc48fa
bug 378935 the border collapse code relies on having mutliple dead cell data entries in a row r=bzbarsky
2010-03-06 10:53:04 +01:00
Bernd
ee60430533
bug 484256 remove remaining border widths limits that are now obsolete as borders have a 2 byte storage r=fantasai
2010-03-06 10:53:03 +01:00
Daniel Holbert
9513bd93b3
Bug 452319 followup: cast mRgIndex to be unsigned, to fix signed-unsigned-comparison compiler warning. r=bernd
2010-03-05 10:41:54 -08:00
Boris Zbarsky
abae116f82
Bug 527977 part 3. Change the style context cached struct storage; inline GetStyle* and PeekStyle* now that they're pretty dead-simple. r=zwol, sr=dbaron
2010-03-02 18:27:21 -05:00
Robert O'Callahan
55f8af472c
Bug 542620. Fix incorrect usage of nsFrameList. r=bzbarsky
2010-02-12 10:40:46 +13:00
Daniel Holbert
11234125d1
Bug 539585 followup: Fix new instance of "warning: format '%p' expects type 'void*'" in nsTableFrame.cpp. (no review, just fixing one new instance of this problem)
2010-02-02 12:06:58 -08:00
Robert O'Callahan
6f230353bb
Bug 542620. Need to paint the table background if columns or column-groups have backgrounds. r=dbaron
...
--HG--
extra : rebase_source : aebb3f9c4c83d2eecc779939e87dcf7195f5d103
2010-02-02 12:21:13 +13:00
L. David Baron
6207e37f4a
Always create nsDisplayTableBorderBackground when we're doing event delivery. (Bug 541668) r=roc
2010-01-24 12:06:20 -08:00
Bernd
7b3827461f
bug 538479 add initialization code that I wrongly removed r=dbaron
...
--HG--
extra : rebase_source : 63ec32369dcdae83638a3be5635e25ebc757b1cd
2010-01-19 18:49:12 +01:00
Daniel Holbert
41a9eb240f
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in layout directory. r=dbaron
2010-01-17 15:11:06 -08:00
Bernd
547f5ac844
bug 28800 remove support for scrollable rowgroups moa=roc r=bzbarsky
2010-01-16 17:05:46 +01:00
Bernd
f4a1800dfb
bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky
2010-01-09 16:33:03 +01:00
fantasai
1ffb0c06ef
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
1e880721fb
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
L. David Baron
1714bc196e
Fix assertions in the scrollable row group case. (Bug 531461) r=roc
2009-12-13 19:40:55 -08:00
L. David Baron
592f811eba
Address my own review comment and undo one of the changes in bug 531461.
2009-12-12 11:35:26 -08:00
Robert O'Callahan
19da2f1872
Bug 530686. Only create an nsDisplayTableBorderBackground when it's going to have something to paint, since having one can disable some scrolling optimizations. r=dbaron
2009-12-12 10:50:30 -08:00
Robert O'Callahan
97c78b1258
Bug 531461. Avoid creating an nsDisplayTableBorderBackground if every part of the table is hidden. r=dbaron
2009-12-12 10:50:25 -08:00
Boris Zbarsky
99027aa785
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Bernd
770f7109b0
reorganize border collapse painting code to make a little bit more readable bug 452319 r=fantasai sr=bz
2009-11-05 10:26:00 +01:00
Dão Gottwald
23928799d1
Backed out changeset 524233171fa4
2009-11-05 10:25:26 +01:00
Dão Gottwald
f125923eda
reorganize border collapse painting code to make a little bit more readable bug 452319 r=fantasai sr=bz
2009-11-05 09:03:51 +01:00
Boris Zbarsky
5215a681c7
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
Boris Zbarsky
4fc405cefa
Bug 512336. Make frame lists doubly-linked. r=roc,fantasai
2009-10-02 12:27:37 -04:00
Robert O'Callahan
d56dfa741e
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
377056c269
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
8279fd683e
Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky
2009-09-18 13:09:35 +02:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Bobby Holley
0b02012ed8
Bug 435296 - Sync decode handling for decode-on-draw. r=roc
2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc
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
f2936464e5
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
5fefb45a48
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Boris Zbarsky
c749fe8981
Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc
2009-07-28 08:53:18 -04:00
Boris Zbarsky
db6ff446ab
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
b0259fd19b
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
4ef62fb0ed
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
fb7ad45e60
Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
...
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
f26c241975
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
ce52d35f28
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
df93a01d0c
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
8aa449421d
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
a52d85f388
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
1b7eae0fba
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
ecaf9149f5
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
d38a1d09be
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
bdab93a7ca
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
420adcef91
Bug 481932 - use do_QueryFrame instead of IS_TABLE_CELL + cast; r+sr=roc
2009-03-24 23:10:06 +01:00
Arpad Borsos
b8c7bb681a
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
6a5bf5d169
backout dac7c3176b33 from bug 481881
2009-03-11 17:09:22 +13:00
Arpad Borsos
27f29d685d
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
cbad7fb59b
whitespace-only: align 'aPresContext' with other parameters in methods within nsTableFrame.cpp
2009-02-18 11:47:22 -08:00
Zack Weinberg
bea9955522
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
b480b09ba3
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Bernd
acce04933d
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
3ba502a047
remove dead debugging code r/sr=bzbarsky bug 475075
2009-02-08 17:45:28 +01:00
Arpad Borsos
b2f9b630db
Bug 474369 - get rid of nsVoidArray, layout/tables part. r+sr=roc
2009-02-05 10:09:50 +01:00
Benjamin Smedberg
24e7cb1f78
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
50621e4f9f
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
d0b948876f
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
318cfd2e10
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
0a7591b341
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
be3321e732
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
c0cc02dfd5
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
3dbd3c34af
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
58064fc1f3
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
a722f955fd
Bug 462972 - 'Fix nsChangeHint comparisons'. r=bernd, sr=dbaron
2008-11-04 14:03:14 -08:00
Bernd
7c0832937a
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
62d4cebdde
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
6f6f59a250
mac build bustage disable the code in question
2008-10-26 13:06:28 +01:00
Bernd
6777c42861
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
f08db4eb5c
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
85ea5a3965
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
ffc4c848b4
trigger fixed layout if the width cahnges from auto to fixed, bug 426629r/sr=dbaron
2008-10-18 19:25:26 +02:00
Bernd
7988560536
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
bb1dbb4eec
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
b4d9cdbfa1
Convert border spacing storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Zack Weinberg
0f68a207ca
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
b6ce570b3c
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
d9344bb542
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
0443739378
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
d0d73a5ec1
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
c98687f036
make the table column dimension setting rtl aware bug 89856 r/sr=roc
2008-08-04 09:27:32 +02:00
Bernd
2b01da090f
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)
49c9b3d67e
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e
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)
bb4be48531
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
Robert O'Callahan
7e15def36c
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
35910e2c7c
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
cd2cd226bc
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
4f41fd4761
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