Граф коммитов

17100 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 6e1c138a06 Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Markus Stange 853d16cc7d Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
--HG--
extra : rebase_source : d6b27d8b36eb8329cead0bd184c7ec6fd983ba53
2017-04-21 14:02:15 +12:00
Wes Kocher 5cba60441b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HfJqvXF2Ux7
2017-04-20 15:55:31 -07:00
Randall Barker a606cd8b60 Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.

MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Wes Kocher ca3a99fc7e Merge m-c to inbound, a=merge 2017-04-19 17:15:26 -07:00
Wes Kocher cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Jonathan Kew 7e488692ea Bug 1357694 - Use AutoTArray for the array members in BidiLineData, to reduce heap allocation costs. r=dholbert 2017-04-19 20:09:32 +01:00
Carsten "Tomcat" Book 87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
Astley Chen 18d66f87fd Bug 1355752 - Remove B2G code from nsCSSFrameConstructor.cpp. r=dholbert
MozReview-Commit-ID: Kvzn02nmzb0

--HG--
extra : rebase_source : d70db09f85cbb34cf5fc0fa05c0db3072ca911f5
2017-04-20 13:16:43 +08:00
Astley Chen e4081a158f Bug 1355752 - Remove B2G code from PresShell files. r=jrmuizel
MozReview-Commit-ID: FIap9QM0vve

--HG--
extra : rebase_source : f80c009d67293b74b4c645f0e013842c6098d8ad
2017-04-20 13:16:42 +08:00
Astley Chen 4126cab5bb Bug 1355752 - Remove B2G wording in AccessibleCaret. r=TYLin
MozReview-Commit-ID: JOv2caZc8J0

--HG--
extra : rebase_source : 48a14052cc8dc0b3f7054465cec81ae322a59899
2017-04-20 13:16:42 +08:00
Chris H-C 7553f146c1 bug 1357742 - Drop INPUT_EVENT_RESPONSE_MS measurements across sleep/wake r=smaug
It is possible that events created before the OS goes to sleep will remain
unhandled until after the OS wakes. They will have long response times on
platforms where TimeStamp increments during sleep (like Windows) even though
they really shouldn't. (and the user likely doesn't care if they do).

So don't record those.

MozReview-Commit-ID: 4ybjF8gjkae

--HG--
extra : rebase_source : ff48923c6589d9cbac3284dd81f28598677ca449
2017-04-19 11:17:20 -04:00
Carsten "Tomcat" Book bb87f43c09 merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
L. David Baron 1d8b4e0ef0 Bug 1307134 - Rename nsGlobalWindow::EnsureSizeUpToDate to EnsureSizeAndPositionUpToDate. r=tnikkel
This is because it does ensure both, and some of the callers care about
size and some care about position.

MozReview-Commit-ID: 3e8II6Lf72X

--HG--
extra : transplant_source : %EE%5E%87%1D%AA%EB%B9%22%D9%D6%D2%9D6U%C4%2A%CA%A1r%E9
2017-04-18 11:28:52 +09:00
Ting-Yu Lin 4dfd125235 Bug 1356971 - Use StyleSetHandle::BackendType in PresShell::Init(). r=bholley
MozReview-Commit-ID: DCKafKa6SLt

--HG--
extra : rebase_source : 8b6b80df31e2c5c8f9dcb87fc775d66737d5a820
2017-04-17 14:52:17 +08:00
Sebastian Hengst 8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Masatoshi Kimura 14b8ca8af8 Bug 1356565 - Use AddFloatVarCache to cache layout.css.devPixelsPerPx. r=kanru
MozReview-Commit-ID: HZ9pBiU17H3

--HG--
extra : rebase_source : 4c8dba672927362e7ecace6d49ad1452af7bc1e2
extra : source : 348f81ec40a7894fbf1c7c5112beafb79970b956
2017-04-09 01:28:54 +09:00
Sebastian Hengst d8496d0a1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjT9dcum69m
2017-04-14 23:56:10 +02:00
Ehsan Akhgari 83690b136c Bug 1352527 - Part 2: Switch nsBidiPresUtils consumers of nsBidi to use nsLayoutUtils::GetBidiEngine(); r=jfkthame 2017-04-14 02:41:55 -04:00
Ehsan Akhgari 4d2ae56c58 Bug 1352527 - Part 1: Add the nsPresContext::GetBidiEngine() API; r=jfkthame
The nsBidi API requires the consumer to first call SetPara()
in order to perform bidi resolution and that resets the data
members, so there is no need to recreate nsBidi objects from
scratch each time we need to perform bidi resolution.

Having this API allows us to reuse this object across the
calls to nsBidiPresUtils members.
2017-04-14 02:41:52 -04:00
Brad Werth e50d5d4bbe Bug 1341721 Part 1: ServoStyleSet implementation of SetAuthorStyleDisabled. r=heycam
MozReview-Commit-ID: Bd0TJDfcj94

--HG--
extra : rebase_source : c5904f67f4303e14a785d0526190e51bc987f4c9
2017-04-11 15:43:14 +08:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Wes Kocher 4fab232444 Merge autoland to central, a=merge 2017-04-13 13:03:43 -07:00
Sebastian Hengst 3ec03039d2 Backed out changeset 6bd69f962dd5 (bug 1346618) for permafailing reftest 315920-9.html on Android 4.3 API15+ debug. r=backout 2017-04-13 18:56:58 +02:00
Jeff Gilbert 326703ec04 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Kartikaya Gupta b4341d2689 Merge m-c to graphics
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher 25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Ryan VanderMeulen bc24b8741a Bug 1355206 - Run layout/base/tests on Android and skip failing tests. r=dholbert 2017-04-12 12:50:55 -04:00
Ryan Hunt bfa4ee5cb2 Bug 1355570 - Update bindings and WebRender display list building for gradient tiling r=jrmuizel
MozReview-Commit-ID: KwhCBc8XxCN

--HG--
extra : rebase_source : a5608b3388528ae1bd39be5f2fd9b2094193d46c
extra : source : c244293944bc163a742ef1b6f4225a751db5f796
extra : histedit_source : 860c2dc0fd3f8a5f35aea9b1ca15218d64208b65%2C803c9c5d3e85ee73fda2e3ccf504426b4798aecb
2017-04-12 14:20:52 -05:00
Manish Goregaokar 8854b518a1 Bug 1342596 - Update expectations for absolute length serialization ; r=manishearth 2017-04-12 14:57:20 +08:00
Emilio Cobos Álvarez 09c3d2ae66 Bug 1354886: null-check parent in FrameConstructor::StyleNewChildren. r=heycam
MozReview-Commit-ID: DLZxQu8LI4o
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:00 +08:00
Jonathan Kew 8cc01ae9d3 Bug 1354478 - Reftests for caret drawing in text that is reversed relative to the element's inline direction. r=dholbert 2017-04-12 11:32:19 +01:00
Jonathan Kew dca4d0e0df Bug 1354478 - Adjust caret rect to paint on the opposite side of the nominal caret position in "upstream" text, for more visually consistent placement. r=dholbert 2017-04-12 11:32:19 +01:00
Olli Pettay 826b680917 Bug 1352523, enable high priority vsync processing in e10s parent process, r=ehsan
--HG--
extra : rebase_source : 25f2ce6f48d92191cd3334f37ddb0b81435f4a68
2017-04-12 12:53:48 +03:00
Iris Hsiao d13a81eccb Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Ryan VanderMeulen e71d306d16 Bug 1355206 - Clean up some redundant annotations in layout/base/tests/mochitest.ini. r=dholbert 2017-04-11 21:21:43 -04:00
Ryan VanderMeulen d885fd9221 Bug 1355206 - Clean up the test sorting in layout/base/tests/mochitest.ini. r=dholbert 2017-04-11 21:21:43 -04:00
Sebastian Hengst 9bce628470 Backed out changeset c5123cf34c22 (bug 1352523) for failing browser_parsable_css.js for chrome://webide/skin/logs.css. r=backout 2017-04-11 16:21:23 +02:00
Olli Pettay 81b3915feb Bug 1352523, enable high priority vsync processing in e10s parent process, r=ehsan
--HG--
extra : rebase_source : d096acaed5e63e111bd122b844c73ac1f0d57f31
2017-04-10 19:02:54 +03:00
Carsten "Tomcat" Book ee9da45454 merge mozilla-inbound to mozilla-central a=merge 2017-04-11 10:17:24 +02:00
David Anderson a8433cef6b Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : f30dc11079add3f1019777b1c85cc5c5a5f0596b
2017-04-10 19:44:45 -07:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Daniel Holbert 45f5064a95 Bug 1355179 part 2: Add comment about porting B2G checks to be Android checks in test_event_target_radius.html. r=kats
MozReview-Commit-ID: G0zCLxHzfYs

--HG--
extra : rebase_source : 7e70acbbe916ae63488a06bd7734ec541394ebee
2017-04-10 12:53:29 -07:00
Daniel Holbert d8b31ff1eb Bug 1355179 part 1: Remove always-true-now checks for !=B2G in test_reftests_with_caret.html. r=kats
MozReview-Commit-ID: CVizePCiI7W

--HG--
extra : rebase_source : 14a78b3c9be8551ea9b6040d60eac72ff6727255
2017-04-10 12:47:39 -07:00
cku 494c75d825 Bug 1346618 - Part 1. Remove SVGImageContext::mGlobalOpacity. r=mstange
MozReview-Commit-ID: ByiPa4sreEh

--HG--
extra : rebase_source : 0b86cd57c1c9e6d687a0a4f56c3ccbfe24886e84
2017-04-10 11:59:48 +08:00
Timothy Nikkel f2110e92fe Bug 1355898. Rename flag SFE_WANT_FIRST_FRAME to SFE_WANT_FIRST_FRAME_IF_IMAGE to represent what it does better. r=jgilbert
We only pay attention to the flag for images.
2017-04-13 03:40:45 -05:00
Iris Hsiao bf9a6182a2 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Jeff Gilbert 95c5ba8077 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Ting-Yu Lin 919df843aa Bug 1354975 - Let the frame handles attribute change in ServoRestyleManager::AttributeChanged(). r=heycam
MozReview-Commit-ID: EdvgBnPlP9Y

--HG--
extra : rebase_source : 23acb09872d97f29354f5cac0a0485d88ef13bea
2017-04-07 16:41:33 +08:00
Manish Goregaokar 42199474b9 Bug 1351200 - Part 3: stylo: Bypass cache when fetching font size prefs from Stylo; r=emilio
MozReview-Commit-ID: 7WBduQ6lBTC
2017-04-10 09:18:00 +08:00
Manish Goregaokar 461607d8a6 Bug 1351200 - Part 2: stylo: Separate out caching code from font pref initialization code in GetFontPrefsForLang; r=emilio
MozReview-Commit-ID: JW0CqMz0GfW
2017-04-10 09:17:53 +08:00
Phil Ringnalda 98df36e955 Backed out 3 changesets (bug 1351200) for Windows and static-analysis build bustage
CLOSED TREE

Backed out changeset 1cce9249b4a2 (bug 1351200)
Backed out changeset 792fb55377f5 (bug 1351200)
Backed out changeset 767bee78574c (bug 1351200)
2017-04-09 08:24:54 -07:00
Manish Goregaokar 8bfdb295a6 Bug 1351200 - Part 3: stylo: Bypass cache when fetching font size prefs from Stylo; r=emilio
MozReview-Commit-ID: 7WBduQ6lBTC

--HG--
extra : rebase_source : f3bee21a7d105cad96231aa5bec5660cdbface06
2017-04-04 11:11:27 -07:00
Manish Goregaokar 4a8c6b3fa0 Bug 1351200 - Part 2: stylo: Separate out caching code from font pref initialization code in GetFontPrefsForLang; r=emilio
MozReview-Commit-ID: JW0CqMz0GfW

--HG--
extra : rebase_source : 94d46416540032f785282a80010e5784fc3ea5a5
2017-04-04 11:11:27 -07:00
Cameron McCormack 993d5ac341 Bug 1351535 - Part 7: Call StyleSubtreeForReconstruct when doing frame reconstruction. r=bholley
MozReview-Commit-ID: HxoGLPKJpnt

--HG--
extra : rebase_source : 92f2fa9a8f8ce369d067920be762015c879e922f
2017-04-04 19:36:09 +08:00
Cameron McCormack f8a5e03987 Bug 1351535 - Part 3: Only explicitly style newly inserted content if the parent is not in a display:none subtree. r=bholley
If we append children to an element inside a display:none tree and we
decide not to do lazy frame construction, StyleNewChildren will assert.
It's also unnecessary, anyway, since we want to keep the descendants
of the display:none element free of ElementData.

MozReview-Commit-ID: 19tuzAzAIDp

--HG--
extra : rebase_source : 457a2c037a02ff50647eed84f51cbee29f737ecd
2017-04-04 19:21:05 +08:00
Cameron McCormack 19734fd5ca Bug 1351535 - Part 2: Explicitly indicate when a ContentRangeInserted call is for frame reconstruction. r=bholley
It wasn't clear to me whether the existing check for whether we are
under a restyle was sufficient to cover all cases of reconstructing
frames, so this patch makes it more explicit by passing that state
into ContentAppended and ContentRangeInserted.

MozReview-Commit-ID: HjlDCzJv97n

--HG--
extra : rebase_source : 8ce4ba097f706e3d9a1f1292515dca64fb8765ab
2017-04-04 19:17:35 +08:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Masayuki Nakano 09c6c60b8a Bug 1343642 - Ensure to grab nsFrameSelection before calling its methods unless calling only const methods. r=smaug
MozReview-Commit-ID: 9GKujCcrhly
2017-04-06 13:11:52 +09:00
Mats Palmgren 6bd5854c02 Bug 1338108 - The result of adding any percentage factor to a size that is zero should also be zero. r=dholbert
MozReview-Commit-ID: ErkjtVZyFqV
2017-04-07 01:02:59 +02:00
Ting-Yu Lin 867c2263f2 Bug 1312328 - Remove CSS variables preference "layout.css.variables.enabled". r=xidorn
MozReview-Commit-ID: HwYpwbhQkZj

--HG--
extra : rebase_source : 245d116b1fef01fa1db11eef70aa0379e8a9c9e9
2017-04-07 00:29:39 +08:00
Markus Stange 6bc4c8de32 Bug 1354255 - Remove ElementRestyler::ComputeStyleChangeFor profiler instrumentation due to overhead. r=Ehsan
This only has overhead if the profiler is running, but it means that it has
the potential to skew restyle times in profiles.
We haven't measured the overhead of this, but it's probably non-zero, and at
the moment our profiling efforts are more focused on getting accurate times
than on getting useful information about restyling cost sources.

MozReview-Commit-ID: 3KmiiyGrxZH

--HG--
extra : rebase_source : df7047f1af5f36f7a1b3a18498d8eb5508ee0b93
2017-04-06 17:20:40 -04:00
Masatoshi Kimura 8f857ca1d0 Bug 1353493 - Cache the return value for nsIWidget::DefaultScaleOverride(). r=kanru
MozReview-Commit-ID: ExP179bxbHe

--HG--
extra : rebase_source : cf242fe02c009fb4f37028000f63c0c1774546cc
extra : intermediate-source : aa0b3009c855c71279f404fb211126ae8bb07b85
extra : source : 80abe5b0a796774e8aef7690e7c8c0be6892f4c1
2017-04-06 23:30:09 +09:00
Cameron McCormack 67201815a8 Bug 1353317 - stylo: For newly added content, note dirty descendants in the lazy frame construction case through the flattened tree parent. r=bholley
MozReview-Commit-ID: L6MhRK3zmSc

--HG--
extra : rebase_source : 575b146d66898d907b669cbe4295ca25f67a3031
2017-04-04 18:28:05 +08:00
Sebastian Hengst 7c2f6c390a Backed out changeset 4df8d4e384ef (bug 1338108) for unexpectedly passing 367185-1.xhtml. r=backout 2017-04-06 21:12:29 +02:00
Mats Palmgren 14f1a284bb Bug 1338108 - The result of adding any percentage factor to a size that is zero should also be zero. r=dholbert
MozReview-Commit-ID: OzOCjvcz0A
2017-04-06 20:17:34 +02:00
Hiroyuki Ikezoe 862f50057c Bug 1311257 - Update comment refering to bug 1311257. r=birtles
MozReview-Commit-ID: EM1dYILDlzS

--HG--
extra : rebase_source : 4b47c821c0d07261a13d58fda2b9bcc0f4bc2970
2017-04-06 11:51:29 +09:00
Botond Ballo 253843616c Bug 1312697 - Do not consider the page to be finished loading if it's in the 'stopped' state. r=tnikkel
MozReview-Commit-ID: 2rnvkwsmQCQ

--HG--
extra : rebase_source : 0ce14917b7787dfaec09bd59d68c5f5074d8bc5a
2017-02-14 16:58:34 -05:00
Markus Stange 13864d8014 Bug 1352380 - Make sure gradient stops have ordered mPosition variables. r=dbaron
MozReview-Commit-ID: DsP5Q6qmvH2

--HG--
extra : rebase_source : 69d1480d116fd6d2bf47e594aba478145d142786
2017-04-05 09:54:03 -04:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Hiroyuki Ikezoe c7495b1957 Bug 1323679 - Enable some crash tests. r=shinglyu
MozReview-Commit-ID: 6MxVcZhC2oD

--HG--
extra : rebase_source : e255ac678c0df5ae14ac650d83577782fb00d452
2017-04-01 11:38:07 +09:00
Timothy Nikkel cba42d43ac Bug 1346109. Call NotifyApproximateFrameVisibilityUpdate after we set a display port base rect. r=botond
NotifyApproximateFrameVisibilityUpdate gets the displayport so we want the base rect set before calling it.

We also don't want to record the displayport if we ignored it in the actual visibility pass.
2017-04-05 00:18:11 -05:00
L. David Baron 93048fc66f Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
This protects all accesses to the frame property table with a bit stored
on the frame.  This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.

The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed.  The changes there preserve the use of that mechanism,
although it becomes a bit uglier.  The ugliness is well-deserved.

MozReview-Commit-ID: BScmDUlWq65

--HG--
extra : transplant_source : %C8%C0%CD%DC%12g%5B%8ER%3A%FF%A7a%F8%91%D4%2C%9BF%2B
2017-04-04 20:59:21 -07:00
L. David Baron f56a065e7d Bug 1353187 - Give frame properties the const-ness semantics of member variables. r=dholbert
This makes it so that, given a |const nsIFrame*|, a caller can retrieve
properties but not set or remove them, but with an |nsIFrame*| all
operations are allowed.  I believe this is sensible since properties act
as extended member variables for things that are needed rarely, and
these are the const-ness semantics of member variables.

This also avoids the need for const_cast<nsIFrame*> to cast away const
in the following patch, which guards property access with a frame state
bit.

MozReview-Commit-ID: IJ9JnGzdH51

--HG--
extra : transplant_source : %D4%DF%04%91_q%E6%CF%B3N%82%2C%A5%CB0%3A%B6%810%ED
2017-04-04 20:59:21 -07:00
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Carsten "Tomcat" Book 358125cbde Backed out changeset a86c4218ca5f (bug 1353187) 2017-04-04 09:54:51 +02:00
L. David Baron 6f4077b7ee Backed out changeset 74eb0b08e42b (bug 1353187 patch 2) for test failures (assertions firing). 2017-04-03 22:47:57 -07:00
Timothy Nikkel 3f354b21bf Bug 1352074. Remove high precision timer mode from refresh driver because it is not needed with vsync based refresh drivers. r=mchang
Bug 731974 added this code to get more accurate timer callbacks back when the refresh driver was based on timers. It shouldn't be needed anymore now that the refresh driver is based on vsync.
2017-04-04 00:14:28 -05:00
L. David Baron 24c39a87ef Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
This protects all accesses to the frame property table with a bit stored
on the frame.  This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.

The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed.  The changes there preserve the use of that mechanism,
although it becomes a bit uglier.  The ugliness is well-deserved.

MozReview-Commit-ID: BScmDUlWq65

--HG--
extra : transplant_source : %95%A2%9B%A1M%1F%86%A8%E0%FF%7B%E4%83%24%83%16%BE%FA%08T
2017-04-03 20:43:31 -07:00
L. David Baron c2af2e1613 Bug 1353187 - Give frame properties the const-ness semantics of member variables. r=dholbert
This makes it so that, given a |const nsIFrame*|, a caller can retrieve
properties but not set or remove them, but with an |nsIFrame*| all
operations are allowed.  I believe this is sensible since properties act
as extended member variables for things that are needed rarely, and
these are the const-ness semantics of member variables.

This also avoids the need for const_cast<nsIFrame*> to cast away const
in the following patch, which guards property access with a frame state
bit.

MozReview-Commit-ID: IJ9JnGzdH51

--HG--
extra : transplant_source : %91%D6%C7%01hC%B3z%90%B6%93%93qcAK%CB%09%D6z
2017-04-03 20:43:30 -07:00
Masayuki Nakano 28770793c6 Bug 1344990 part.1 gfx and layout should refer "font.name-list.*" when "font.name.*" is empty r=jfkthame
When "font.name.*" is empty, it means "default", i.e., use the first font of "font.name-list.*".

In most cases, we don't need to change existing "font.name.*" handlers which refer "font.name-list.*".  However, handlers which refer only "font.name.*", we need to add the code to refer "font.name-list.*" too.

MozReview-Commit-ID: B37y1Ld9Azg

--HG--
extra : rebase_source : f944893ff38d5f2072b5014dccf455045ddafd19
2017-03-29 23:21:47 +09:00
Xidorn Quan e3e4554871 Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
MozReview-Commit-ID: 1wqTb3kvvWh

--HG--
extra : rebase_source : cae3dba21c916ab0f52056bd9db215249b650cd3
2017-03-30 18:54:48 +11:00
Phil Ringnalda 7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Markus Stange fcdd5dbd1f Bug 1351920 - Remove the nsCString&& version of PROFILER_LABEL_DYNAMIC because it makes misleading promises about performance. r=njn
MozReview-Commit-ID: I4y5xnFyfUj

--HG--
extra : rebase_source : 8cd3d9fc90df1cb7ff6199cf0a5b1cf3319bebe0
2017-03-29 21:47:51 -04:00
Sebastian Hengst 990055a490 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjvlThqFc40
2017-04-02 18:52:13 +02:00
Cameron McCormack 08d2db05b2 Bug 1352785 - stylo: Ensure children of elements with invalid -moz-binding URLs get styled. r=bholley
MozReview-Commit-ID: 2zot13HgjWU

--HG--
extra : rebase_source : 34dabaa228c0f6c2625804c073ff3a5394647bf0
2017-04-02 15:15:44 +08:00
Sebastian Hengst 948595ff2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 13:12:04 +02:00
Sebastian Hengst 65f9bb8041 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5E7o1qELKmN
2017-04-01 13:09:55 +02:00
Wes Kocher 3a0357deec Merge m-c to inbound a=merge 2017-03-31 17:53:52 -07:00
Boris Chiou a583863fc8 Bug 1352067 - Part 1: Make sure AnimationValue::{mGecko|mServo} are mutually exclusive. r=birtles,emilio
We will obsolete StyleAnimationValue in the future, and can treat
AnimationValue as a wrapper of RawServoAnimationValue to hide the FFIs
at that moment. For now, we still need both types, so it's better to make sure
they are mutually exclusive in AnimationValue. Therefore, let's add some
assertions.

Besides, I think those FFIs might do many things and it seems those methods
are not critical, so let's move them into the cpp file, so we can remove
some dependencies to avoid re-compiling so many files if someone needs
revise ServoBindings.h.

MozReview-Commit-ID: FJ1uTvEQ7NT

--HG--
extra : rebase_source : 8ef99c659f2721c8425364051db19b66536bccc6
2017-03-31 17:46:37 +08:00
Olli Pettay d47c995985 Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
--HG--
extra : rebase_source : b7d76ce3321ea0d622da74a72b7278fd0fa63310
2017-03-31 22:49:00 -04:00
Eric Rahm 861a58d5a4 Bug 1351904 - Switch layout over to ArenaAllocator. r=xidorn
This switches over layout's usage of PLArena to ArenaAllocator. This allows
us to build more files in unified sources and gets rid of various CONST masks.

MozReview-Commit-ID: Aaf3Dl2kaoz
2017-03-31 14:06:33 -07:00
Olli Pettay 31b1f5cc92 Backout Bug 1351860, r=backout 2017-03-31 16:55:32 -04:00
Olli Pettay b84c192a09 Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
--HG--
extra : rebase_source : 5f2cac2c4e944e2c9f2f1acf0d3064e153c40451
2017-03-31 13:13:36 -04:00
Makoto Kato cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Boris Chiou 2317c8957e Bug 1343753 - Part 6: Move mAnimationGeneration into RestyleManager. r=birtles
So stylo can also use mAnimationGeneration.

MozReview-Commit-ID: KTc8vs2RKMm

--HG--
extra : rebase_source : 52aeb3bf91fa849cbddbedff28418736f96086bb
2017-03-09 17:15:08 +08:00
Andrea Marchesini 3535802d8b Bug 1354441 - Update MediaQueryList to the latest version of the spec, r=jwatt 2017-04-10 16:29:06 +02:00