Emilio Cobos Álvarez
5dd797f154
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
ca5ac79cca
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Andreea Pavel
de5c4376b8
Merge mozilla-inbound to mozilla-central. a=merge
2018-03-22 11:31:19 +02:00
Boris Zbarsky
df6c05a122
Bug 1442039 part 14. Remove nsDOMClassInfoID.h. r=peterv
...
MozReview-Commit-ID: 6pZs1XI1oSd
2018-03-21 23:13:30 -04:00
Boris Zbarsky
9cb6df0dac
Bug 1444143 part 2. Remove nsIFrameLoader::GetDocShell. r=mystor
...
The change from "docShell" to "mDocShell" for the SetName call in the
OwnerIsMozBrowserFrame case in nsFrameLoader::MaybeCreateDocShell is a
drive-by correctness fix for a bug the rename of "docShell" to "parentDocShell"
caught: setting the name of our _parent_ docshell based on the name attr of our
owner makes no sense.
MozReview-Commit-ID: DwnWt8jTokV
2018-03-21 22:43:15 -04:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
arthur.iakab
5e8092339a
Merge mozilla-central to inbound
...
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
arthur.iakab
abcb47d8cc
Merge inbound to mozilla-central. a=merge
2018-03-21 21:13:11 +02:00
Miko Mynttinen
65c6bee9d6
Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
...
MozReview-Commit-ID: rGjabnP2iz
--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Timothy Guan-tin Chien
68cff1ae84
Bug 1444489 - Part V, Remove XUL videocontrols reflow code on Android r=dholbert
...
With all videocontrols UIs implemented in HTML, there is no need to handle
XUL content in videocontrols.
MozReview-Commit-ID: Jq3SecscssO
--HG--
extra : rebase_source : 2f928a221919e7f66f9392d6dac6cf971b75776b
2018-03-12 21:39:13 +08:00
arthur.iakab
11989aa12a
Merge mozilla-central to autoland
2018-03-22 02:00:17 +02:00
Ryan Hunt
e34eeaaa86
Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange)
...
MozReview-Commit-ID: FAWTC1Llu31
--HG--
extra : rebase_source : 05bda872389db5cc61e805c3eb48e70eb5d95cbe
2018-02-21 09:29:49 -06:00
Emilio Cobos Álvarez
f7522ae728
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Cosmin Sabou
e997286c08
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
1fe1a843f9
Remove DisplayItemLayer and corresponding layers.advanced prefs. (bug 1439960, r=mstange)
...
MozReview-Commit-ID: FAWTC1Llu31
--HG--
extra : rebase_source : 447e835dc664549a8bdbd4097d42773acf523f08
extra : histedit_source : d98b0f0654c2214a368313de84f11160a3fa7030
2018-02-21 09:29:49 -06:00
Emilio Cobos Álvarez
48957d62c0
Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
...
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Adrian Wielgosik
0138ac9ff0
Bug 1447121
- Clean up ShouldDisplaySelection, convert it to use Selection and nsRange. r=bz
...
MozReview-Commit-ID: Bo7zIkNLRMh
--HG--
extra : rebase_source : 200ca7847a758e60d1b1de77ab0c5c4acfe886ab
2018-03-18 20:01:09 +01:00
Boris Zbarsky
971ee6f9cb
Bug 1446533
part 2. Rename nsGenericDOMDataNode.{h,cpp} to CharacterData. r=mystor
...
The DOMMatrix.cpp changes are because it was sneaking in headers via another
unified file.
MozReview-Commit-ID: GPp9WOywI5D
--HG--
rename : dom/base/nsGenericDOMDataNode.cpp => dom/base/CharacterData.cpp
rename : dom/base/nsGenericDOMDataNode.h => dom/base/CharacterData.h
2018-03-19 15:18:07 -04:00
Boris Zbarsky
2a8f76304f
Bug 1433566 part 12. Stop using nsIDOMText in layout. r=mystor
...
MozReview-Commit-ID: KliYtj5U8jK
2018-03-19 15:15:39 -04:00
Ryan VanderMeulen
38359cd40f
Bug 1445105 - Remove various MSVC de-optimizations used to work around compiler bugs which are no longer needed. r=dmajor
...
This reverts the following bugs: 703135, 977538, 1274450, 1403220
--HG--
extra : rebase_source : c63585a915c5b9ea987fd035dbb5ecb21cb6246e
2018-03-19 12:42:01 -04:00
Jeff Muizelaar
b0c6c75854
Bug 1439006. Allow multiple kinds of WebRenderUserData on a DisplayItem. r=mstange
...
Currently we can only have one type of WebRenderUserData on an Item. We already
have a hash table of WebRenderUserData so it's not hard to include type in the
hash to support one per type.
MozReview-Commit-ID: geJ0BeWv8b
2018-03-16 19:15:27 -04:00
Gurzau Raul
70be85b9cd
Merge inbound to mozilla-central. a=merge
2018-03-16 19:53:35 +02:00
Mats Palmgren
259eae8a43
Bug 1445230 - [css-grid] Use IntegerRange to make iterating over LineRange more ergonomic (idempotent change). r=dholbert
2018-03-16 12:11:38 +01:00
Mats Palmgren
91a1041da4
Bug 1445229 - [css-grid] Store the number of grid items per span-length to avoid iterating them again (idempotent change). r=dholbert
2018-03-16 12:11:37 +01:00
Sylvestre Ledru
fa45a3c670
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Mats Palmgren
1fcb898d22
Bug 1425599 - [css-grid] Follow-up bustage fix for stupid compiler warnings. r=me CLOSED TREE
2018-03-15 23:21:41 +01:00
Mats Palmgren
d1d09beb86
Bug 1425599 part 16 - [css-grid] Make SizeContributionForPhase a template. rs=dholbert
2018-03-15 22:41:25 +01:00
Mats Palmgren
fb1a8f9565
Bug 1425599 part 15 - [css-grid] Test reference fixes + more tests.
2018-03-15 22:41:25 +01:00
Mats Palmgren
7ec9323bf6
Bug 1425599 part 14 - [css-grid] Use iterators instead of an array + start/end index for the item data (idempotent change). r=dholbert
2018-03-15 22:41:25 +01:00
Mats Palmgren
98e4b80bd5
Bug 1425599 part 13 - [css-grid] Merge Grow[Base|Limits]ForSpanningItems into a templated method instead (idempotent change). r=dholbert
2018-03-15 22:41:25 +01:00
Mats Palmgren
7aeff4c91f
Bug 1425599 part 12 - [css-grid] Merge CopyPlanToBase/Limits into a templated method instead (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
06a85186ef
Bug 1425599 part 11 - [css-grid] Hoist the marking of excluded tracks out from GrowSelectedTracksUnlimited to a separate method (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
a39d52bb0b
Bug 1425599 part 10 - [css-grid] Make MarkExcludedTracks a static method since it doesn't use 'this' (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
c635cef6a8
Bug 1425599 part 9 - [css-grid] Merge DistributeToTrackLimits/Bases (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
0d5ad6e072
Bug 1425599 part 8 - [css-grid] Factor out the fit-content clamping function from DistributeToTrackLimits and pass it as a param instead (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
9fa33326f8
Bug 1425599 part 7 - [css-grid] Remove the 'limits' copy of track sizes since they are no longer needed (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
22697a61e7
Bug 1425599 part 6 - [css-grid] Make the size distribution methods templated with the intent of merging them in a later patch (idempotent change). r=dholbert
...
This patch also introduces an eInfinitelyGrowable bit to help
get rid of the 'limits' temporary track sizes in the next patch.
2018-03-15 22:41:24 +01:00
Mats Palmgren
2720195299
Bug 1425599 part 5 - [css-grid] Make CollectGrowable a templated method so that it works with either base/limit sizes (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
0214a637ef
Bug 1425599 part 4 - [css-grid] Factor out the starting base/limit size to a templated method (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
c11cc9b466
Bug 1425599 part 3 - [css-grid] Factor out most of the max-sizing parts of the track sizing for spanned items to a templated method (idempotent change). r=dholbert
2018-03-15 22:41:24 +01:00
Mats Palmgren
77f3d19f2c
Bug 1425599 part 2 - [css-grid] Factor out the min-sizing parts of the track sizing for spanned items to a templated method (idempotent change). r=dholbert
2018-03-15 22:41:23 +01:00
Mats Palmgren
c8fd367dc3
Bug 1425599 part 1 - [css-grid] Change the track sizing algorithm for spanning items so that it accumulates individual item contributions to the plan by max() rather than incrementing the planned size directly. r=dholbert
...
Also, fix a bug when copying back the planned limits after
updating it for the first span group. It should only copy
back track sizes that were actaully spanned by those items,
other content-sized tracks' limits should remain at "infinity".
2018-03-15 22:41:23 +01:00
Andreea Pavel
8fa0b32c84
Merge mozilla-inbound to mozilla-cenral. a=merge
2018-03-13 19:01:32 +02:00
Andrew Osmond
fcec47e7bd
Bug 1444387 - Part 1. Avoid using fallback if an image is not ready. r=jrmuizel
...
If an image container is empty, it will not produce an image key for use
with WebRender. This is generally not a sign of failure because the
producer likely has yet to populate the container with data. As such, we
should not immediately attempt to fallback. In fact, fallback can make
things worse in this situation, as we will create an image client to
send over the data, but then find that there is no data to share (or
find that there is, due to a race with the producer thread, and use
image clients when we could use shared surfaces).
2018-03-13 09:16:04 -04:00
Miko Mynttinen
3356f300e6
Bug 1443518 - Fix incorrect CompositorHitTestInfo ordering for inline lines r=mattwoodrow
...
MozReview-Commit-ID: D7yLNHQN3z0
--HG--
extra : rebase_source : 34f2f668bcdd8e0bc9741b879e696608345fdca3
2018-03-09 11:48:07 +01:00
David Major
02df77788a
Bug 1424281 - De-optimize some functions to work around crashes during compilation. r=froydnj
...
--HG--
extra : rebase_source : 2d1ddef02e87ea794ddc0e73c358396208aab635
2018-03-06 10:15:34 -05:00
Sylvestre Ledru
174a529299
Bug 1444852 - nsIFrame::BuildDisplayListForChild Remove the init step as the result is unused r=miko
...
MozReview-Commit-ID: G07Fwu1aw0M
--HG--
extra : rebase_source : 0732665c062587c813ec7002704d23006ee33ccf
2018-03-12 12:28:00 +01:00
Botond Ballo
674b1aad72
Bug 1307555 - Create a hit test info item for a scroll frame's scrolled frame that's not clipped to the displayport. r=mstange
...
MozReview-Commit-ID: 5MJg4zqxSAk
--HG--
extra : rebase_source : eecfc53d0951112d2e6cb8bc8aa62ae27a4d9d93
2018-02-26 19:03:32 -05:00
Daniel Holbert
5110d9e202
Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
...
MozReview-Commit-ID: L4ZSDT5Akhi
--HG--
extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
2018-03-06 15:59:36 -08:00
Botond Ballo
b4385a3fda
Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats
...
MozReview-Commit-ID: 1wrzwQw8bdx
--HG--
rename : gfx/src/nsCoordBox.h => gfx/src/nsRectAbsolute.h
extra : rebase_source : ec71a9add57c07887cb37f2d105390072e13d98d
2018-03-05 18:08:18 -05:00