Doug Thayer
270156fb2e
Bug 1441308 - Split out document pieces of WebRenderLayerManager r=jrmuizel
...
Per our discussion, this patch splits out the state management bits of
WebRenderLayerManager, allowing for them to be maintained per-document.
Differential Revision: https://phabricator.services.mozilla.com/D13577
2019-01-07 21:33:10 +00:00
Sylvestre Ledru
8a7f808395
Bug 1515556 comment fix-ups for the tree reformat (layout/) r=Ehsan,heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D13125
2018-12-21 03:07:05 +00:00
Miko Mynttinen
d362fc5ee4
Bug 1512251 - Remove unused render only selection code r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D13829
2018-12-06 19:40:50 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Cosmin Sabou
93b37ad754
Backed out 2 changesets (bug 1508472) for causing build bustages on JobScheduler_posix.cpp. CLOSED TREE
...
Backed out changeset af951294cf96 (bug 1508472)
Backed out changeset 2320933cb7bc (bug 1508472)
2018-11-28 00:08:11 +02:00
Sylvestre Ledru
6e6abbdf2e
Bug 1508472 - Part 3: Third batch of comment fix-ups in preparation for the tree reformat (layout/) r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D13125
2018-11-27 21:39:24 +00:00
Kristen Wright
7d1c6ec488
Bug 1460439 - Conversion from NS_STYLE_BORDER_STYLE_* macro to StyleBorderStyle::* enum class r=emilio
...
Converted NS_STYLE_BORDER_STYLE_* consts to enum class. Updated corresponding values to enum class. reduced BCCornerInfo struct values to fit StyleBorderStyle values inside struct. Added defaults to switches that do not fully cover all instances of StyleBorderStyle.
2018-11-07 11:56:17 -08:00
Ting-Yu Lin
250c14e124
Bug 1497990 Part 2 - Do not carry block-end margin out of ColumnSetFrame. r=dbaron
...
Also, remove the unused NS_BLOCK_MARGIN_ROOT flag set on nsColumnSetFrame.
Differential Revision: https://phabricator.services.mozilla.com/D8783
2018-11-09 21:02:12 +00:00
Ting-Yu Lin
c4e3534a19
Bug 1497990 Part 1 - Use mIsBalancing instead of comparison between mBalanceColCount with INT32_MAX. r=dbaron
...
Differential Revision: https://phabricator.services.mozilla.com/D8782
2018-11-09 21:02:02 +00:00
Ting-Yu Lin
9109d23b01
Bug 1501145 Part 2 - Assign default values to ColumnBalanceData fields. r=mats
...
Depends on D9467
Differential Revision: https://phabricator.services.mozilla.com/D9468
2018-10-23 13:09:16 +00:00
Ting-Yu Lin
1a548c25ec
Bug 1501145 Part 1 - Assign default values to ReflowConfig fields, and explicitly initialize them in ChooseColumnStrategy. r=mats
...
The original statement is neat, but one cannot easily associates the values
computed in ChooseColumnStrategy with the actually field name in ReflowConfig.
Remove the aFeasibleBSize and aInfeasibleBSize for ChooseColumnStrategy()
because they're not used.
Differential Revision: https://phabricator.services.mozilla.com/D9467
2018-10-23 13:08:59 +00:00
Ting-Yu Lin
0fb63bf0d3
Bug 1490525 Part 3 - Remove unused #includes in nsColumnSetFrame.cpp r=dholbert
...
Verified locally by s/UNIFIED_SOURCES/SOURCES/ in layout/generic/moz.build.
Differential Revision: https://phabricator.services.mozilla.com/D5636
2018-09-12 20:37:20 +00:00
Ting-Yu Lin
90a3c95de6
Bug 1490525 Part 2 - Convert nsColumnSetFrame's reflow logs by using MOZ_LOG r=dholbert
...
Since bug 775624, nsReflowStatus has become a class, not an integer. We need
to expose operator<<() for nsReflowStatus to non-debug build to dump
nsReflowStatus's content in MOZ_LOG.
Differential Revision: https://phabricator.services.mozilla.com/D5635
2018-09-12 20:37:48 +00:00
Zhang Junzhi
53f2fa9f5a
Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D5657
2018-09-12 12:35:47 +00:00
Cameron McCormack
e84b70ae83
Bug 1482782 - Part 5: Move CSS anonymous box atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3283
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3284
2018-08-15 15:46:39 +10:00
Narcis Beleuzu
ace8b010f2
Backed out 8 changesets (bug 1483121, bug 1482782) for build bustages on nsDirectoryService.cpp. CLOSED TREE
...
Backed out changeset 0a8334bbcf45 (bug 1483121)
Backed out changeset cb2dcb859071 (bug 1482782)
Backed out changeset c834d4ca2eef (bug 1482782)
Backed out changeset 887de0efbb67 (bug 1482782)
Backed out changeset 018fdb50a6be (bug 1482782)
Backed out changeset 33a8aa8096c9 (bug 1482782)
Backed out changeset e3632354f16e (bug 1482782)
Backed out changeset 46f8319bee82 (bug 1482782)
2018-08-15 09:14:41 +03:00
Cameron McCormack
f242832b4e
Bug 1482782 - Part 5: Move CSS anonymous box atoms to nsGkAtoms. r=njn,emilio
...
Summary: Depends On D3283
Reviewers: njn!, emilio!
Tags: #secure-revision
Bug #: 1482782
Differential Revision: https://phabricator.services.mozilla.com/D3284
2018-08-15 15:46:39 +10:00
Ting-Yu Lin
8d30dda89c
Bug 1460075 - Use 1px as the minimum column width. r=dbaron
...
Differential Revision: https://phabricator.services.mozilla.com/D3140
2018-08-13 17:48:42 +00:00
Ting-Yu Lin
fc0ef49fa2
Bug 1477533 - Convert NS_STYLE_COLUMN_FILL_* to an enum class. r=heycam
...
I put Balance as the first item in StyleColumnFill because it is the default
value.
MozReview-Commit-ID: A4DVMLL6XBa
2018-07-21 12:00:26 -07:00
Xidorn Quan
d0e49a6595
Bug 1403425 - Pass aListID to nsContainerFrame from nsColumnSetFrame::SetInitialChildList. r=dholbert
...
MozReview-Commit-ID: BPxvAMx9v4K
2018-07-23 10:32:03 +10:00
Morgan Rae Reschenberg
0e836852d3
Bug 1474663 - Implement contain:size for nsColumnSetFrame. r=dholbert
...
MozReview-Commit-ID: EE7Un9LUJcV
2018-07-12 09:10:52 -07:00
Bogdan Tara
d4a76316fc
Backed out changeset 4aa2f74bad5b (bug 1474663) for contain size failures CLOSED TREE
2018-07-16 21:11:42 +03:00
Morgan Rae Reschenberg
d14ab6ce57
Bug 1474663 - Implement contain:size for nsColumnSetFrame. r=dholbert
...
MozReview-Commit-ID: EE7Un9LUJcV
2018-07-12 09:10:52 -07:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Cameron McCormack
322d7ed5cb
Bug 1466448 - Part 2: Remove unused ReflowOutput::mFlags. r=mats
2018-06-04 16:22:10 +10:00
Matt Woodrow
b64969f18b
Bug 1460491 - Part 1: Split nsDisplayItem::mVisibleRect into two members, one for each stated purpose. Gets rid of the save/restore since we no longer modify the building rect. r=jnicol
...
MozReview-Commit-ID: 5wcsSoZRN44
2018-05-16 15:56:32 +12:00
Mats Palmgren
9b444b6c41
Bug 1398482 part 2 - [css-grid][css-flexbox][css-multicol] Add 'row-gap' and 'gap' properties; make 'grid-[column|row]-gap' and 'grid-gap' alias the respective unprefixed properties (Gecko part). r=dholbert
2018-04-24 01:52:51 +02:00
Mats Palmgren
9214eecbed
Bug 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). r=dholbert
2018-04-02 01:56:19 +02:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
1f5d8de5cc
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
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
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
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
Daniel Holbert
1e1ae954dd
Bug 1437623 part 1: (layout/generic) Add missing includes/namespaces to preemptively fix unified bustage. r=mats
...
MozReview-Commit-ID: GyFPLOsPWt3
2018-02-13 09:08:41 -08:00
L. David Baron
04e6183eb0
Bug 1432341 - Draw column-rules with border-code in box-decoration-break: clone mode, rather than slice. r=mattwoodrow
...
This fixes the bug. The underlying problem was that we were hitting the
case where ConstructBorderRenderer sets aNeedsClip to true, but nothing
in the column-rule drawing path was honoring that.
(Choosing clone rather than slice may make a difference for dotted and
dashed column-rules, but I think the clone behavior is preferable.)
MozReview-Commit-ID: 7YYzyxYjhsV
2018-01-31 07:18:49 +00:00
L. David Baron
8ce18023d2
Bug 1432341 - Rename functions that relate to column rules to have clearer names. r=mattwoodrow
...
This is followup to bug 1361668, and is just cleanup in advance of the
patch to fix this bug.
MozReview-Commit-ID: 4HOKLA5WYNq
2018-01-31 07:18:49 +00:00
L. David Baron
33e79ca064
Bug 1432341 - Simplify by using GetContentRectRelativeToSelf. r=mattwoodrow
...
This is just cleanup in advance of the patch to fix this bug.
MozReview-Commit-ID: 1pzauGix51m
2018-01-31 07:18:49 +00:00
Emilio Cobos Álvarez
288d5f47ef
Bug 1429723: Graphics cleanup. r=jrmuizel
...
MozReview-Commit-ID: LHo9K4lLtah
2018-01-22 18:14:19 +01: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
Samathy Barratt
6e82a231e6
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
2017-12-11 15:37:59 +00:00
Ciure Andrei
d5988c3191
Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
2017-12-12 09:49:59 +02:00
Samathy Barratt
54acaa2cd8
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
2017-12-11 15:37:59 +00:00
Ethan Lin
c0c5398eaa
Bug 1413397 - Avoid empty border's fallback. r=kats
...
MozReview-Commit-ID: 1KXYjcObJdi
2017-11-01 17:30:04 +08:00
Daniel Holbert
8fea3c215f
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
2017-10-27 10:33:53 -07:00
Kartikaya Gupta
01510dec8a
Bug 1409446 - Modify the extra-clip flag to instead track more useful information. r=ethlin,mstange
...
Instead of just keeping a count of how many "extra clips" (aka
out-of-band clips) we have pushed, track more complex information for
each clip. In particular, track the display item's normal clip chain, as
well as the clip id of the extra clip that was pushed. This will be
needed to override clip cache information in the next patch.
MozReview-Commit-ID: AWKDTkelhyL
2017-10-24 15:45:59 -04:00
Ethan Lin
8f09899a64
Bug 1394309 - Part2. We don't need to fall back if there is no border renderer. r=kats
...
This part is not necessary for fixing the reftests. But it would be better to just
return true if we don't want to render this item.
MozReview-Commit-ID: 6w6MCUAFPj6
2017-10-11 16:34:37 +08:00