Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Rafael Ávila de Espíndola
530ddac475
Bug 774040 - remove unused field. r=roc.
2012-07-15 00:20:24 -04:00
Tal Aloni
36815deeaa
Bug 338554 - Honor -moz-box-sizing on table cells in standards mode (we ignore it in quirks mode). r=dbaron
2012-07-12 19:28:52 -04:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
d57e83e441
Backout changeset 071d6332729b (bug 770058 part 1) because DLBI is being backed out
2012-07-03 19:38:00 -04:00
Robert O'Callahan
eeb0b9d4de
Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
2012-07-03 14:24:14 +12:00
Tal Aloni
4096278930
Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron
2012-06-30 12:01:31 -04:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
L. David Baron
74cf33b134
Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html .
2012-06-26 18:16:09 -07:00
Tal Aloni
be79a0decf
Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron
2012-06-26 16:24:23 -07:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Mats Palmgren
1b458bce34
Bug 759249. r=bz
2012-06-01 21:56:33 +02:00
Mats Palmgren
7ae3b05b92
Bug 759249. r=bz
2012-06-01 21:56:33 +02:00
L. David Baron
edbd83838f
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
6642be49cb
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
Trevor Saunders
5d33ad118a
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
9ace2103ae
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Mats Palmgren
52a697097e
Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc
2012-05-04 02:14:02 +02:00
Michał Frontczak
5fb9033935
Bug 727722 - Create an accessible for HTML table row by frame, r=tbsaunde, roc, surkov
2012-04-25 12:06:21 +09:00
Robert O'Callahan
8a8de768a2
Bug 735898. Part 7: Remove expensive nsIFrame::HasBorder checks, just check style instead. r=dbaron,a=blocking-fennec
2012-04-18 17:14:31 +12:00
L. David Baron
90733eea84
Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
...
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text. Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous. Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert O'Callahan
bf5a330929
Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
...
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-13 23:44:06 +12:00
Robert O'Callahan
4e3da44c46
Backing out changesets ef599d7f3f11, 70ef464f50e3 and 1a204c38918e (bug 735898) due to test failures.
2012-04-12 00:34:23 +12:00
Robert O'Callahan
5e8bcd0f82
Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
...
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-11 16:49:34 +12:00
Robert O'Callahan
7c34e38876
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Mats Palmgren
885fa92ef4
Bug 736915 - Print Selection prints a blank page when the selection is inside a table. r=bz
...
When rendering just the current Selection (Print - Selection) then don't create display items
for table-related frames unless the frame itself is part of the selection, and always ask
descendant frames to build display lists [in case they are selected].
2012-04-03 02:30:45 +02:00
Boris Zbarsky
c6d965bec9
Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan
2012-03-16 15:56:41 -04:00
Daniel Holbert
98b0d12882
Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron
2012-03-16 11:01:05 -07:00
Mats Palmgren
39a7d31397
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Matt Woodrow
bf3a5c2649
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Aryeh Gregor
2c1f399923
Bug 722777 - Tables with 'transform' property set don't act as abs-pos/fixed-pos containers; r=roc
...
--HG--
rename : layout/reftests/transform/abspos-1a.html => layout/reftests/transform/abspos-1f.html
rename : layout/reftests/transform/abspos-1b.html => layout/reftests/transform/abspos-1g.html
2012-02-10 21:05:00 +00:00
Panagiotis Koutsourakis
9c7dfb9706
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Phil Ringnalda
a4b7742d76
Bug 694248 - skip layout/tables/crashtests/691824-1.xhtml on Android, r=ehsan
2012-01-23 15:40:43 -08:00
L. David Baron
acba036fdb
Set inflation container to null during ComputeSize calls for inflation containers, when we should not have inflation applied. (Bug 706609, patch 4.5) r=roc
2012-01-24 17:21:29 -08:00
L. David Baron
d4a1d88221
Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
...
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
Mats Palmgren
356e8a3bcf
Bug 720142 - Avoid calling GetFirstInFlow() on the row group twice. r=bernd
2012-01-22 23:48:34 +01:00
Mats Palmgren
c4841a3e7f
Bug 720142 - Only calculate the border half we actally use. r=bernd
2012-01-22 23:48:34 +01:00
Mats Palmgren
86699a57d7
Bug 720142 - Use nsIntRect for table damage. r=bernd
2012-01-22 23:48:34 +01:00
Daniel Holbert
8fe41d5a99
Bug 716738: Label layout/tables as gcc-warning-free with FAIL_ON_WARNINGS. r=dbaron
2012-01-19 21:33:20 -08:00
Mats Palmgren
d33bf8f71c
Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc
2012-01-18 21:04:51 +01:00
Benjamin Stover
dc9cd57308
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Mats Palmgren
265d407dc3
Bug 716408 - Fix nsTableFrame::DidSetStyleContext indentation. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
36f25755f3
Bug 716408 - Assert that a prev-in-flow is null or of the same frame type. No need to null out mCellMap, the ctor does that and re-Init of frames isn't allowed. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
e0c72018ca
Bug 716408 - No need to null-check for delete, no need to null out members in dtor. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
ca86a34ea7
Bug 716408 - Initialize all bits of mBits to zero. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
522639239d
Bug 716408 - Make nsTableFrame::GetTableFrame abort if the given frame isn't a table frame descendant, thus guaranteeing a non-null result. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
d7a5990383
Bug 716408 - Remove unnecessary nsTableFrame::GetFirstInFlow() calls to get IsBorderCollapse() bit. r=bernd
2012-01-17 00:38:10 +01:00
Mats Palmgren
86a6a650a2
Bug 716408 - Remove null-checks of GetFirstInFlow() result. r=bernd
2012-01-17 00:38:10 +01:00
Bernd
b031938d0e
bug 711864 - dEndY is already in the rowgroup r=mats
2012-01-09 07:37:16 +01:00
Bernd
6f72a1c8e3
bug 710098 - use effective rowspan r=mats
2011-12-29 09:17:55 +01:00
Mats Palmgren
78d0f2c7ca
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Andrew Quartey
411a879695
Bug 507419-Consistent ordering of AppendFrames and InsertFrames
2011-12-27 09:31:22 +01:00
Bernd
98a3a4998a
bug 531200 - always set the desiredHeight, also if SplitSpanningCells does not split any cell r=dholbert
2011-12-27 09:31:10 +01:00
Bernd
d4f7842058
bug 711359 - mark all subsequent rows as damaged r=mats
2011-12-27 09:31:09 +01:00
Nicholas Nethercote
24d2c81ee1
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Mats Palmgren
498185f3f0
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Bernd
b7288402ad
bug 707622 - rows without originating cells are suppressed at the table bottom r=mats
2011-12-07 20:38:25 +01:00
Bernd
812e142da7
followup on bug 460637
2011-12-04 07:20:09 +01:00
Bernd
9739f86ea0
bug 705996 - the damageArea should only be set once the columns are in shape r=mats
2011-12-03 07:21:16 +01:00
Bernd
d2df4c3ed1
bug 451355 - testcase is now wfm
2011-12-03 07:21:16 +01:00
Bernd
1aee76120d
bug 467444 - firstTruncatedRow can not be the last row on page if it should be pushed r=dholbert
2011-12-01 07:34:30 +01:00
Bernd
844db3e17f
bug 460637 - the group cellmaps need to set the damageArea relative to the entire table, patch by Mats Palmgren, Randell Jesup and Bernd, r=mats, bernd
2011-10-27 09:58:44 -04:00
L. David Baron
637b872e98
Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
...
Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest
of the inflation patches land.
2011-11-23 18:48:23 -08:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Bernd
45833dc0a5
bug 695430 - stop trying to insert previously emptied framelists r=bzbarsky
2011-10-24 21:22:33 +02:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Matt Woodrow
ff55968c50
Bug 692968 - Make nsDisplayTableItem::GetBounds return the untransformed overflow area. r=tn
2011-10-13 14:01:27 +13:00
Ehsan Akhgari
cb8c38f547
Bug 691824 - Return the principal child list for outer table frames only once; r=roc
2011-10-06 18:03:45 -04:00
Ehsan Akhgari
4b84fe41d5
Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
...
Outer table frames act as CSS2.1 table wrapper boxes. We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width. This breaks horizontal positioning of
absolutely positioned kids of a table frame.
The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame. This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.
In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that. Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too. nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.
Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides. This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame. The
427129-table-caption reftest has been modified to match this new behavior.
Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
2b29cd6201
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Ehsan Akhgari
59e7e67254
Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc
2011-05-09 20:36:10 -04:00
Ehsan Akhgari
461fab9117
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky
eaa64ca885
Bug 688405. Allow rowspans up to 65534, up from our current 8190. r=bernd
2011-09-26 00:52:33 -04:00
Mats Palmgren
c2d66bf09f
Bug 685901 - Remove the nsTableOuterFrame::mInnerTableFrame and mCaptionFrame members in favor of accessing the child frame lists directly. r=roc
2011-09-12 09:08:07 -07:00
Mats Palmgren
15fc2f321d
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsCSSFrameConstructor::ConstructTable return a null frame if
creating the inner table frame fails. Simplify some code since we can
now depend on the invariant that a properly created outer table frame
always has a non-null inner table frame.
2011-09-12 09:08:07 -07:00
Mats Palmgren
37e14b15b9
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter. Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Masayuki Nakano
6c3d3da0c3
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Felix Fung
0bc71ca85d
Bug 577266 - Correct misspellings in source code
2011-09-06 17:20:35 -07:00
Boris Zbarsky
73e9ae8488
Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc
2011-09-06 22:57:46 -04:00
Phil Ringnalda
8c67e09e0b
Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE
2011-09-06 21:42:54 -07:00
Boris Zbarsky
ffc9b17f74
Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc
2011-09-06 22:57:46 -04:00
Ms2ger
ccea776176
Bug 684807 - Annotate crashtest assertions on Android; r=philor
2011-09-06 18:35:43 +02:00
Michael Wu
a66b1751b7
Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak
2011-08-30 11:55:14 -07:00
Mats Palmgren
f1c56f2e22
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
2c56109b0d
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
605a290f3b
Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
...
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes. Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Bernd
7aa1042321
bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz
2011-08-13 18:37:43 +02:00
Bernd
d20e85e464
bug 678447 - prevent splitting of tables inside columnsets during printing r=roc
2011-08-13 18:37:43 +02:00
Malini Das
c20b68638f
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Ehsan Akhgari
523ebb7851
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Bernd
4fdc3501bb
Bug 642088 - Subtract the caption height and vertical margins from the available height before reflowing the inner table frame. r=bzbarsky
2011-07-26 19:22:46 +02:00
Ms2ger
c1500f0f3a
Bug 670500 - Make nsCellMap::Init return void; r=roc
2011-07-15 12:18:33 +02:00
Ms2ger
27dd1dcd24
No bug - Fix assertion in nsCellMapColumnIterator::GetNextFrame; r=bz
2011-07-03 11:53:39 +02:00
Ehsan Akhgari
2a3dbb4205
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Bas Schouten
189472e8c9
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
...
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Craig Topper
8a3f0ad8f7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Ehsan Akhgari
e66b9024c8
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Robert O'Callahan
fc7faceefc
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
a66b612e32
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
ca5e5d48e9
Bug 641426. Part 3.5: Remove usage of nsMargin::TopLeft and nsMargin::IsZero. r=dbaron
2011-04-19 15:07:22 +12:00
Zack Weinberg
1628ea1551
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
c510bc3046
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
ebb2f0c7ec
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
timeless@mozdev.org
0de1cad408
Bug 618830 initial assignment to kidNextInFlow is useless in nsTableFrame::ReflowChildren
...
r=bz
2011-03-28 16:50:13 -04:00
Boris Zbarsky
7d85213ee3
Bug 644576. Make sure that when we set up our iterator we don't decide we're done if the first row in our damage range contains no cells in our damage range. r=roc
2011-03-28 10:49:48 -04:00
timeless@mozdev.org
448d7c770e
Bug 620311 crash [@ nsTableFrame::MatchCellMapToColCache | nsTableFrame::RemoveFrame] because cellMap guard did not cover MatchCellMapToColCache
...
r=bernd
2011-03-26 00:37:35 -04:00
timeless@mozdev.org
b88c6d4720
Bug 620259 - add fall through comments to nsTableCellMap::SetNotTopStart and rename to nsTableCellMap::ResetTopStart
...
r=bernd a=dbaron
2011-02-16 14:14:18 +01:00
timeless@mozdev.org
ccaec9c2b5
Bug 620312 crash [@ nsTableFrame::InsertCol] because lastColGroup guard did not cover lastColGroup->GetColCount() r=bernd a=dbaron
2011-02-15 19:35:52 -05:00
Alexander Surkov
5029052452
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Jesse Ruderman
f2dc43b142
Bug 533380 - add crashtest
2010-12-12 12:54:27 -08:00
timeless@mozdev.org
35c135159c
Bug 617637 nsTableFrame::PushChildren imagines it can pass null to [@ nsFrameList::RemoveFrame] violating its preconditions
...
r=bz
2010-12-09 11:57:03 +01:00
Boris Zbarsky
9d901fdd66
Bug 614397. Always descend through all placeholders while doing any sort of selection display list. r=roc, a=roc
2010-12-07 08:54:50 -05:00
timeless@mozdev.org
c22dc9d292
Bug 615265: unused variable textStyle in nsTableCellFrame::VerticallyAlignChild. r=bz a=bz
2010-11-30 21:27:29 -08:00
Bernd
c5915dcabb
Test for bug 595758. a=test
2010-11-14 19:26:36 +01:00
Martijn Wargers
9abc1aed05
Test for bug 595758. a=test
2010-11-14 19:26:36 +01:00
Mats Palmgren
9c3ac19106
Bug 595758 - Crash [@ nsTableFrame::MarkIntrinsicWidthsDirty] on print preview. r=dbaron a=blocking2.0:betaN
2010-11-14 19:26:36 +01:00
Mats Palmgren
6f54a07daf
Bug 576890 - Crash [@ nsFrameList::InsertFrames] on print preview. r=roc a=blocking2.0:final
2010-11-07 18:27:46 +01:00
L. David Baron
86a617e692
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
L. David Baron
5a012f3090
Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
0bf111ce59
Fix all ReflowChildren methods in table code to avoid unnecessary NS_METHOD and NS_IMETHOD, and one that takes an overflow area to handle it correctly. (Bug 542595, patch 18) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
48071dc6a3
Make parameters to nsTableFrame::InvalidateFrame, nsTableFrame::PlaceChild, and nsTableRowGroupFrame::PlaceChild be the visual overflow rect. (Bug 542595, patch 17) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
26ea7ba8ff
Fix the way table cells consider overflowing collapsed borders for split overflow areas. (Bug 542595, patch 16) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
e9aef85b7e
Change FinishAndStoreOverflow API to take two overflow areas. (Bug 542595, patch 4) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:45 -07:00
Bobby Holley
8bce278b8c
Bug 592493 - Register border-images with the document image tracker.r=dbaron
2010-09-07 17:30:40 -07:00
L. David Baron
f350baca0b
Add border-radius-related helper functions to nsIFrame. (Bug 459144, patch 6) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
6b4dd4d3cd
Consolidate table-cell vertical align code. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-31 12:05:12 -04:00
Robert O'Callahan
6ed294185b
Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
L. David Baron
89545b0362
Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
fce97072e6
Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
Robert O'Callahan
7be62af7f1
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
33a0aec926
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Edmund Wong
c31f357639
Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only)
2010-08-15 15:50:02 -07:00
Robert O'Callahan
002b421174
Bug 579258. Change IsVaryingRelativeToMovingFrame to take the 'moving frame' as a direct parameter instead of getting it from the builder. r=tnikkel,a=joe
2010-08-13 21:54:37 +12:00
L. David Baron
2a023744e6
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Michael Ventnor
56ba116210
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Jeff Muizelaar
089948b7e1
Bug 577357. Remove use of floating point from BC_BORDER_*_HALF_COORD macros. r=bz
...
Twips per pixel is an integer so these macros don't need to use floating point.
2010-07-08 17:16:52 -07:00
Boris Zbarsky
7f037d0096
Bug 573354. Don't assert things that aren't true. r=bernd
2010-07-02 16:56:09 -04:00
Jesse Ruderman
3aa2e3fa71
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Alexander Surkov
65c355c8a7
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Jesse Ruderman
73e0f6b5f2
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
L. David Baron
1cc1e1eb75
Remove unused frame state bits. (Bug 570837) r=roc
2010-06-08 22:28:14 -07:00
L. David Baron
e272b3a13d
Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc
2010-06-08 22:28:14 -07:00
Bernd
094c95c902
bug 567835 - add parentheses to make the required logic to happen r=dholbert
2010-05-27 07:31:11 +02:00
Bernd
d071426d51
bug 564054 - rebuild cellmap if inserted rows contain a zero rowspan r=bzbarsky
2010-05-13 16:15:50 +02:00
Bernd
5b3485bfc6
bug 558574 - fix issues with table footer placement and missed page breaks inside of row groups r=roc
2010-05-13 16:15:49 +02:00
Bernd
5abba25dc5
bug 553972 - split row groups only if the available height isconstrained r=roc
2010-05-13 16:15:31 +02:00
L. David Baron
c4eb38acd9
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
Mats Palmgren
32851a6afa
Don't use enum bit-fields. r=timeless b=334571
2010-04-27 18:15:02 +02:00
timeless
f3cdc36c53
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
aa22afa674
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Craig Topper
25d5518e18
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Masayuki Nakano
bb2c56323d
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
Felipe Gomes
e4fb76d330
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc]
2010-04-07 20:31:26 -04:00
Ehren Metcalfe
a791e19cc4
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
951a1ae9b5
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
712030c86e
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
109a546aaa
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
timeless@mozdev.org
2aec598f27
Bug 552246 remove unused variable availWidth from nsTableRowFrame::CalcHeight
...
r=bernd
2010-04-01 08:07:22 -07:00
Robert O'Callahan
0fd1837981
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
8ee064d838
Bug 551637. collapseOffsetProperty is never used. r=mats
2010-03-29 14:46:13 +13:00
Craig Topper
fd9001c409
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Bernd
46449bbc6e
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
ad5522015f
bug 505894 remove double null check r=timeless
2010-03-06 10:53:03 +01:00
Bernd
41de842d18
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
Bernd
aa4293bcea
bug 229247 remove no op quirk code r=bzbarsky
2010-03-06 10:53:02 +01:00
Bernd
315a47d07a
bug 281241 if a content based column looses its content based children we need to create anonymous cols r=bzbarsky
2010-03-06 10:53:02 +01:00
Daniel Holbert
5f428255a1
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
60af0c64d6
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
4af69e5fc6
Bug 542620. Fix incorrect usage of nsFrameList. r=bzbarsky
2010-02-12 10:40:46 +13:00
Daniel Holbert
8b2f9b062c
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
f69799234f
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
edbdda3be2
Always create nsDisplayTableBorderBackground when we're doing event delivery. (Bug 541668) r=roc
2010-01-24 12:06:20 -08:00
Bernd
09683cc5a4
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
d0533cf63b
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in layout directory. r=dbaron
2010-01-17 15:11:06 -08:00
Bernd
2f77193c78
bug 28800 remove support for scrollable rowgroups moa=roc r=bzbarsky
2010-01-16 17:05:46 +01:00
Bernd
f2eb2aae2e
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
3027a2127b
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
b27eacbc1d
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
Daniel Holbert
8454bd049e
Bug 536463: Rename nsTableOuterFrame::GetMargin to 'GetChildMargin', so it won't hide unrelated inherited method. r=dbaron
2009-12-22 18:59:29 -08:00
L. David Baron
703f4ab0e5
Fix assertions in the scrollable row group case. (Bug 531461) r=roc
2009-12-13 19:40:55 -08:00
L. David Baron
536a43f03b
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
5c87a2d633
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
3d48c9aac2
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
5132d64872
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
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
6eb3c28de7
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
Jesse Ruderman
38f061b3b9
Add crashtests for a few bugs
2009-12-06 17:53:38 -08:00
Bernd
5e0f3e1796
testcases for the bugs fixed by the checkin for bug 452319
2009-11-08 20:11:07 +01:00
Bernd
a519244d26
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
d480227b1c
Backed out changeset 524233171fa4
2009-11-05 10:25:26 +01:00
Dão Gottwald
78256e6aec
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
7813eeb6d1
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
L. David Baron
7f2dd889cf
Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc
2009-10-28 20:22:28 -07:00
Reed Loden
4221b4442d
Bug 506267 - [r=bzbarsky sr=dbaron]
2009-10-02 21:09:57 -05:00
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
Boris Zbarsky
cb141f124e
Bug 515534. Simplify some nsTableRowGroupFrame methods by assuming that the frame constructor did not screw up. r=bernd
2009-09-18 14:52:58 -04:00
Mats Palmgren
c3fb633256
Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky
2009-09-18 13:09:36 +02: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
44810ccdec
Bug 233463, patch 1 - Minor cleanup of frame list related code in nsTableRowGroupFrame. r=bzbarsky
2009-09-18 13:09:35 +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
Mats Palmgren
4093f253d0
Remove/simplify frame list use. b=510137 r=bernd
2009-09-04 23:07:43 +02:00
Benjamin Smedberg
667f63d102
Bug 513032 - remove empty conditionals in our makefiles, r=ted
2009-08-27 10:48:18 -07:00
Jesse Ruderman
fbaaa060e5
Add more crashtests
2009-08-27 21:11:40 -07:00
Jesse Ruderman
e1c6eeae90
Add crashtests
2009-08-27 19:48:20 -07:00
Benjamin Smedberg
36bc86429d
Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
...
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Robert O'Callahan
4453cced60
Backed out changeset e2927bb26412
2009-08-26 14:49:18 -07:00
Zack Weinberg
64f6d4d0dd
Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
...
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron
--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Mats Palmgren
4b7f82e95a
Crash test for bug 430374.
2009-08-24 01:21:49 +02:00
Ryo Kawaguchi
f6adb8114c
Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron
2009-08-21 13:39:25 -07:00
Michael Ventnor
f89f2766b4
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
Makoto Kato
63a9fda84f
Bug 434733: Don't apply width on colgroups to columns that have their own width. r=dbaron
2009-08-01 08:53:40 -07:00
Dão Gottwald
26c7b3a525
Backed out changeset c086fca6fc55
2009-07-31 14:35:48 +02:00
Michael Ventnor
9b44f1f16c
Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc
2009-07-31 13:32:32 +02: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
Michael Kohler
4b7c87c984
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02: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
8bab94a96a
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +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
Daniel Holbert
a40faedad1
Bug 479166: rename variable "computedPaginatedHeight" to "computedUnpaginatedHeight" and reduce its scope, and also fix some build warnings, all in nsTableCellFrame. r=bernd
2009-07-21 13:05:49 -07:00
Jesse Ruderman
0605f4f430
Add crashtest for bug 448988
2009-07-14 12:57:09 -07:00
Benjamin Smedberg
3f6c44858d
Bug 503376 - Remove unused CalcAutoMargin function which stopped being used in bug 478614, r=bernd
2009-07-13 12:31:32 -04: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
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