Ryan Hunt
b419c79ff5
Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange)
...
MozReview-Commit-ID: FAWTC1Llu31
2018-02-21 09:29:49 -06:00
Cosmin Sabou
4e421f7abe
Backed out 3 changesets (bug 1439960) for build bustages on APZInputBridgeChild.cpp and FrameBuilder.cpp. CLOSED TREE
...
Backed out changeset b8057c06fc4c (bug 1439960)
Backed out changeset c8d6b0fa1447 (bug 1439960)
Backed out changeset e6bd6ebc8597 (bug 1439960)
2018-03-20 23:18:44 +02:00
Ryan Hunt
df90830506
Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange)
...
MozReview-Commit-ID: FAWTC1Llu31
2018-02-21 09:29:49 -06:00
Matt Woodrow
6f1864699b
Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas
2018-02-13 13:43:28 +13:00
Dorel Luca
44cad57ea9
Merge mozilla-central to autoland
2018-02-22 17:35:26 +02:00
Dorel Luca
3276af0faa
Backed out 3 changesets (bug 1436904) for many crashes see bugs: 1440281, 1440302, 1440303, 1440313. a=backout
...
Backed out changeset 27f0762d4472 (bug 1436904)
Backed out changeset 27640f52e188 (bug 1436904)
Backed out changeset 2b4d117c27dc (bug 1436904)
2018-02-22 17:28:59 +02:00
Zhang Junzhi
87b58411bd
Bug 1259168 - Resolves the table cell misplacement problem when row group width exceeds table's computed width in vertical-rl writing mode r=jfkthame
...
A table's used width may be different with its computed width. In the past, this
situation wasn't taken into account in process of table reflow, this patch
corrects the positioning of children of a table in this situation.
MozReview-Commit-ID: 4siu2ba0pqG
2018-02-22 14:32:40 +08:00
Matt Woodrow
2bcbca93c9
Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas
2018-02-13 13:43:28 +13:00
Boris Zbarsky
41c46ec098
Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
...
MozReview-Commit-ID: 5QUyFeAQYZQ
2018-01-30 00:25:36 -05:00
Morris Tseng
6ff1c5f27a
Bug 1393907 - Handle bevel borders. r=kats
...
Since bevel only appear outmost border of table. I collect all bevel border
and combined them as a single border with four sides.
MozReview-Commit-ID: Bvu8Zf56YDF
2018-01-24 08:46:10 -05:00
Andrea Marchesini
8d41475807
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Ya-Chieh Wu
c0f32f54d8
Bug 1429313 - Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin
...
MozReview-Commit-ID: 9gbVQNSKl7l
2018-01-10 01:11:00 -05:00
Ya-Chieh Wu
73b4e27c3b
Bug 1421887 - fix the row index to get the right cell. r=dbaron
...
MozReview-Commit-ID: 4wIdFxeETiW
2018-01-04 21:28:00 +02:00
Miko Mynttinen
896b0f3d84
Bug 1425078 - Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom r=mattwoodrow
...
MozReview-Commit-ID: E3neKT2sV4Q
2017-12-13 11:23:04 -06:00
Ya-Chieh Wu
09a50d2b16
Bug 1405929 - Make sure that we join two BEnd borders when they are on the same rowIndex. r=dbaron
...
MozReview-Commit-ID: J9q8sUX2MPB
2017-11-30 19:18:00 +02:00
Mats Palmgren
917be0a687
Bug 1414666 part 2 - A few formatting improvements after mass conversion of PresContext()->PresShell() to PresShell(). r=emilio
...
MozReview-Commit-ID: FoEnINS0Jbk
2017-11-09 03:00:48 +01:00
Mats Palmgren
2544eb586c
Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio
...
MozReview-Commit-ID: 8FPTPKWyVtY
2017-11-09 03:00:48 +01:00
Mats Palmgren
616f910f82
Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz
...
MozReview-Commit-ID: 2trDgeJPw25
2017-11-07 01:20:33 +01:00
Boris Zbarsky
b338a9349a
Bug 1409787. Guard against empty column groups when building a display list for a table. r=mats
...
MozReview-Commit-ID: E31B1wqNbSu
2017-10-19 18:06:43 -04:00
Sebastian Hengst
44e618ee22
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-18 00:05:25 +02:00
Boris Zbarsky
909ee9255d
Bug 1409152. Add an nsTArray::ContainsSorted method. r=froydnj
2017-10-17 15:39:59 -04:00
Boris Zbarsky
e660a61cfe
Bug 1409162. Make nsTableCellFrame::GetColIndex/GetRowIndex faster. r=mats
2017-10-17 15:39:36 -04:00
Boris Zbarsky
39a54045cb
Bug 1409154. Do less work in PaintRowGroupBackgroundByColIdx for cells that are not in our desired set of columns. r=mats
2017-10-17 15:39:28 -04:00
Ethan Lin
191574f9d8
Bug 1405957 - Part2. Remove the unnecessary GetLayerState in CreateWebRenderCommands and adjust the related pref type/value. r=kats
...
MozReview-Commit-ID: E8JvuOj6JtL
2017-10-05 14:42:28 +08:00
Cameron McCormack
b8dd60db88
Bug 1407246 - Split out Variables struct difference calculation. r=emilio
...
MozReview-Commit-ID: CtWtG3zkD1D
2017-10-12 09:12:30 +08:00
Kartikaya Gupta
7c1da03e1c
Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
...
MozReview-Commit-ID: 2syFwMc7j3r
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
cbacb77052
Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
...
MozReview-Commit-ID: 7FYVirQ5pal
2017-10-03 16:31:07 -04:00
Morris Tseng
68b9f48c26
Bug 1394226 - Correct z-ordering for some table parts. r=dbaron
...
MozReview-Commit-ID: IdLhMGDmQag
2017-09-21 14:42:44 +08:00
Morris Tseng
d7ade017fc
Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
...
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.
MozReview-Commit-ID: CUbeUabfC7K
2017-09-21 14:41:38 +08:00
Nicolas Silva
3c8f9ba825
Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel
2017-09-20 13:36:53 +02:00
Ting-Yu Lin
d93880e505
Bug 1341009 - Add nsReflowStatus::IsEmpty() assertions to all nsIFrame::Reflow() methods and some reflow helpers, and remove unneeded Reset(). r=dholbert
...
nsReflowStatus::IsEmpty() assertions are added after DISPLAY_REFLOW in the
beginning of the Reflow().
A few Reflow() implementations have Reset() calls at the end which are left
in place by this patch (with an explanatory comment added to each). These
ending Reset()s are only needed for cases where a non-splittable frame
passes its own nsReflowStatus to a child's reflow method. Just in case the
child leaves a "not fully complete" value in the nsReflowStatus, the
non-splittable parent frame must clear out the nsReflowStatus before
returning, so that its own parent doesn't then try to split it.
MozReview-Commit-ID: 6Jj3jfMAqj4
2017-09-13 18:00:25 +08:00
Ting-Yu Lin
89d0f62aaa
Bug 1341009 - Reset aStatus before calling nsContainerFrame::ReflowChild(). r=dholbert
...
This ensures the Reflow() call in nsContainerFrame::ReflowChild() is using
an empty reflow status.
MozReview-Commit-ID: K2Ln2i4XkB5
2017-09-14 14:15:03 +08:00
Sebastian Hengst
fc53f3bd53
Backed out changeset f34a52244cf9 (bug 1393031)
2017-09-14 23:17:35 +02:00
Nicolas Silva
8c829d94a4
Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel
2017-09-14 20:21:54 +02:00
Nicolas Silva
7100d343f6
Bug 1393031 - Use shared memory to pass resource update data. r=jrmuizel
2017-09-14 18:48:55 +02:00
Sebastian Hengst
b2d95c824e
merge mozilla-central to autoland. r=merge a=merge
2017-09-14 00:11:28 +02:00
Ya-Chieh Wu
75dce64b3a
Bug 895096 - Part 1: Round border-collapsed table borders to device pixels rather than CSS pixels, as for other borders, and store them (as BCPixelSize) as device pixels rather than CSS pixels. r=dbaron
...
MozReview-Commit-ID: 3yqj8gAAGYv
2017-09-12 19:48:00 -04:00
Morris Tseng
3c23941cbe
Bug 1394249 - SetNeedToCalcHasBCBorders to true when initialize nsTableFrame. r=mats
...
In the printing preview, we create continuous table frame if table is too
long to containing in a page. But the default value of
NeedToCalcHasBCBorders is false which means we don't calculate
HasBCBorders for continuous table frame. Thus, the border collapse is
not shown when printing preview.
MozReview-Commit-ID: IqhLSYuWj30
2017-09-13 17:05:52 +08:00
Miko Mynttinen
1d15e14450
Bug 1359584 - Part 3: Improve nsDisplayItem const correctness and fix surrounding whitespace r=mstange
...
MozReview-Commit-ID: 3GkWiu6C4Zo
2017-08-24 17:09:44 +02:00
Neerja Pancholi
bb48ee0cd8
Bug 1389029 - Create custom change hint and post restyle event for rowspan, colspan attribute changes. r=dbaron
...
MozReview-Commit-ID: IwUlgDa3DAj
2017-09-05 13:30:40 -07:00
Boris Zbarsky
96847a0c67
Bug 1387568. Remove unused nsTableColGroupType value. r=mats
...
Before this change, we used eColGroupContent for both colgroups created by table-column-group elements and anonymous colgroups wrapping table-column elements. eColGroupAnonymousCell was used for colgroups created to handle cells that are not in any other colgroup already. eColGroupAnonymousCol was unused.
2017-09-01 16:30:57 -04:00
Boris Zbarsky
c62dc63d66
Bug 1395650. Make anonymous column groups into non-inheriting anon boxes, to better match the behavior of other browsers. r=heycam
2017-09-01 00:53:33 -04:00
Boris Zbarsky
ad1763d800
Bug 1395312 part 2. Table backgrounds should be drawn or not based on the visibility of the relevant cell, not of the column/row/colgroup/rowgroup they come from. r=heycam
...
MozReview-Commit-ID: B863KFWjLLW
2017-08-31 09:12:35 -04:00
Kartikaya Gupta
0779a96def
Bug 1395218 - Make the bevel side parameters more strongly-typed. r=dholbert
...
MozReview-Commit-ID: 5rymg5uTMC1
2017-08-30 12:22:18 -04:00
Boris Zbarsky
98d0f7d7c3
Bug 1394662. Make ::-moz-table-column a non-inheriting anonymous box. r=heycam
...
In our UA sheet the only style we apply to ::-moz-table-column is "display: table-column".
Per spec, the only styles that apply to table columns are border props,
background props, 'width', and 'visibility'.
The only one of those that inherits is 'visibility'. And the only relevant
value per spec is "collapse". But an anonymous column can only be "visibility:
collapse" in Gecko right now if its colgroup is, and then the colgroup will get
collapsed away as a whole. So it doesn't matter whether the column inherits the
visibility style.
In practice, we do something special for "hidden" on a table-column as well,
during display list building, which affects hit-testing. Per
https://github.com/w3c/csswg-drafts/issues/1763 it's not clear that we should be
doing this at all, but for now we just keep our existing behavior and ensure
that the parent colgroup's visibility style is taken into account for anonymous
columns when building display lists.
2017-08-29 22:04:05 -04:00
Kartikaya Gupta
941c8c93a8
Bug 1393836 - Remove unneeded doubling of border thickness. r=mtseng
...
MozReview-Commit-ID: 7ZczsYj2oDm
2017-08-25 15:06:06 -04:00
Wes Kocher
399a13fd39
Merge inbound to central, a=merge
...
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Boris Zbarsky
61956be23e
Bug 1388625 part 2. During a stylo restyle, update the style of the anonymous cols in a colgroup, if any. r=heycam
...
MozReview-Commit-ID: 4H2NzhCyygU
2017-08-10 12:43:05 -04:00
Boris Zbarsky
d5a7c6c002
Bug 1388625 part 1. During a stylo restyle, update the style of the trailing anonymous colgroup of a table, if any. r=heycam
...
MozReview-Commit-ID: 4rz4AlPEsjR
2017-08-10 12:42:53 -04:00
Sylvestre Ledru
132ccae277
Bug 1387002 - Replace .size() by .empty() when applicable in layout/tables/ r=kats
...
MozReview-Commit-ID: 2O9BJcQSRIY
2017-08-03 12:06:35 +02:00