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

56458 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren e0c482815a Bug 1353573 - Don't try to preserve frame state bits across the ReflowInput ctor. r=dbaron
MozReview-Commit-ID: CjaUQjlv3ll
2017-04-10 19:25:58 +02:00
Xidorn Quan ff8497b005 Bug 1341724 followup - Adjust reftest expectations. a=merge
MozReview-Commit-ID: KPZUOdERNEK

--HG--
extra : source : 1ab3c4b1b127f5e62d5607bf7151ea5997a57e75
2017-04-10 20:54:22 +08:00
Brad Werth 5220dc6f4f Bug 1346256 Part 3: Modify GetCSSStyleRules to collect ServoStyleRules. r=xidorn
MozReview-Commit-ID: IMQLykuXjfL

--HG--
extra : rebase_source : 0262e0a426e23dfb6935f1fed95e38393314c67c
2017-04-07 15:21:36 -07:00
Brad Werth 7c2789c8d2 Bug 1346256 Part 2: Define methods in ServoCSSRuleList to fill a hash of RawServoStyleRule to ServoStyleRule. r=heycam,xidorn
MozReview-Commit-ID: 4Swb9KwV0uO

--HG--
extra : rebase_source : 771ac051648526b2cef59acc8f700548762b73b6
2017-04-07 08:07:37 -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
Brad Werth 50b320d9d3 Bug 1346256 Part 1b: (Gecko) Add FFI interfaces for exposing style sources. r=heycam
MozReview-Commit-ID: FOQCgXD68E9

--HG--
extra : rebase_source : b393f646df3a4115bc9417c6b8a90b3be0d8dceb
2017-04-06 10:19:00 -07:00
Manish Goregaokar 6be22491bd Bug 1341724 - Part 4: stylo: Make font metrics usage threadsafe; r=heycam
MozReview-Commit-ID: 3EqpUy09UuI
2017-04-10 17:06:19 +08:00
Manish Goregaokar a53d1de023 Bug 1341724 - Part 3: stylo: Use gecko's font metrics; r=heycam
MozReview-Commit-ID: 6yYYauqCJHq
2017-04-10 17:06:17 +08:00
Manish Goregaokar 308b6ea838 Bug 1341724 - Part 2: stylo: Add bindings for fetching font metrics from Gecko; r=heycam
MozReview-Commit-ID: BkPNq22ruwU
2017-04-10 17:06:14 +08:00
Manish Goregaokar 0f5f58cb55 Bug 1341724 - Part 1: stylo: Refactor nsRuleNode::GetMetricsFor; r=heycam
MozReview-Commit-ID: G709Er7GXwe
2017-04-10 17:06:12 +08: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
Xidorn Quan b7131eca1d Bug 1343964 followup - Add back code change which was incorrectly dropped when addressing review comment on a CLOSED TREE.
MozReview-Commit-ID: Kwehpac1Dia

--HG--
extra : source : dea1d96c2c4a60125fc4ffbfd2f24505ec79f3dd
2017-04-07 13:56:03 +10:00
Ting-Yu Lin 8e0273ab91 Bug 1351205 - Skip debug check for Stylo in nsComputedDOMStyle::UpdateCurrentStyleSources(). r=heycam
The debug code calls nsStyleContext::GetParent(), which is invalid in stylo.
Let's skip it.

MozReview-Commit-ID: 5opMaSuyoNr

--HG--
extra : rebase_source : e316b5d45ebe634a63ef0e44ed0b7183551551d4
2017-03-28 16:08:07 +08:00
Bobby Holley 04137c02ea Bug 1354358 - Assert main thread in NS_IMPL_FFI_REFCOUNTING. r=xidorn
MozReview-Commit-ID: 4J7yuJ8Thn0
2017-04-06 19:22:01 -07:00
Mike Hommey d6aaa996f4 Bug 1353990 - Stop exporting brotli headers. r=gps
They have generic names, and are potentially conflicting with
in-tree headers with the same name (which is true for at least port.h).

There aren't enough users of brotli to want to avoid LOCAL_INCLUDES
in the directories that use it.

--HG--
extra : rebase_source : 82531ac5961ad80e1b3d0c1484a2f146be194411
2017-04-06 13:44:47 +09:00
Xidorn Quan e27d2e7dbe Bug 1343964 part 8 - Update mochitest expectation. r=xidorn
MozReview-Commit-ID: 36zfle7hfOG

--HG--
extra : rebase_source : cdbdf68bcf7c0b232a7b86862ff97d9aab4ca94b
2017-04-04 17:16:45 +10:00
Xidorn Quan 987754e4dc Bug 1343964 part 7 - Use URLExtraData for declaration modification directly for Servo backend. r=heycam
MozReview-Commit-ID: 78JRYKk9hgV

--HG--
extra : rebase_source : 1a86db507451637379e35ea17d9dbd88e8dc6902
2017-04-04 16:09:20 +10:00
Xidorn Quan 3d5b648721 Bug 1343964 part 6 - Add a const Rule() method for ServoStyleRule. r=heycam
MozReview-Commit-ID: 1rvWrN3Biut

--HG--
extra : rebase_source : 174ccdeb847c8f3f0807690a0ab0fa2bc949a2f2
2017-04-04 16:07:44 +10:00
Xidorn Quan 04c1637bb1 Bug 1343964 part 5 - Factor out common part of nsDOMCSSDeclaration::Parse{,Custom}PropertyValue. r=heycam
MozReview-Commit-ID: 6IX8sWF4Vhn

--HG--
extra : rebase_source : 197c9ccf51e8bb86f7335a5a72b370c89a23d7ea
2017-04-04 15:28:07 +10:00
Xidorn Quan 4400d347a2 Bug 1343964 part 3 - Have ServoStyleSheet own a URLExtraData. r=heycam
MozReview-Commit-ID: CQyvrVtl0hr

--HG--
extra : rebase_source : 547fce2e9118bf9d6714775df847e8236aec74b6
2017-04-04 13:41:44 +10:00
Xidorn Quan 514feab11a Bug 1343964 part 2 - Move dummy url data to be a static member of URLExtraData. r=heycam
MozReview-Commit-ID: I6pc9WmrLW0

--HG--
extra : rebase_source : 9af2e97d22c58f480603eef97a833539bf69ced9
2017-04-04 13:21:16 +10:00
Xidorn Quan 2df49dbac2 Bug 1343964 part 1 - Move URLExtraData into its own header. r=heycam
This patch does the following in addition to a simple move:
* change the type of the pointers from RefPtr to nsCOMPtr
* move it from mozilla::css namespace to mozilla

MozReview-Commit-ID: 72MYq6kWm4s

--HG--
extra : rebase_source : 400fe0d7cc422f22592c302cfd4e457830b77e3e
2017-04-04 10:04:13 +10: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
Wes Kocher 0becaff588 Merge autoland to central, a=merge 2017-04-17 12:41:36 -07:00
Sebastian Hengst ca156179a9 merge mozilla-central to autoland. r=merge a=merge 2017-04-17 16:30:50 +02:00
Sebastian Hengst e7317789ad Backed out changeset 225683fed1d1 (bug 1294641) for breaking crashtests, reftests and Windows builds. r=backout on a CLOSED TREE 2017-04-17 16:29:52 +02:00
Alex Gaynor fd11319799 Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati

--HG--
extra : rebase_source : f637acff32fc8582732de932503dd696abc57877
2017-04-07 14:53:19 -04:00
Boris Chiou c5320aa985 Bug 1341372 - Part 6: Update css-transitions/reftest-stylo.list. r=hiro
All pass.

MozReview-Commit-ID: 99o8zcSKh1f

--HG--
extra : rebase_source : fd65c26ae18cb3cf1b5549f02d203fedaeed44a5
2017-04-07 15:01:07 +08:00
Boris Chiou 8bd7b6f3a1 Bug 1341372 - Part 5: Update mochitest expectations. r=xidorn
Also update test_transitions_dynamic_changes.html because we don't
support "font" property for stylo now. According to its context and purpose, we
only need a property other than "text-indent", so it is not
necessary to use "font".

Besides, we don't support shorthand properties for transitions, so
test_transitions.html have two intermittents. Mark the expect number as
'*' until we fix shorthand properties for transitions.

MozReview-Commit-ID: HyuOV29AJ9a

--HG--
extra : rebase_source : b5d4bf2786bb590e16c06b7b93c95a38cabf1781
2017-04-06 13:23:42 +08:00
Boris Chiou 61b7e58f8a Bug 1341372 - Part 4: Add a utility method to get AnimationCollection by Element and nsIAtom. r=hiro
We need a utility method to get the AnimationCollection by dom::Element
and the pseudo element tag.

MozReview-Commit-ID: KCOY6EKFFX5

--HG--
extra : rebase_source : de1b9386d6324cfb4cee0d84b13a0b1af4aa5c12
2017-04-14 10:17:43 +08:00
Boris Chiou f074c41907 Bug 1341372 - Part 3: Add FFIs for Triggering transitions. r=birtles,heycam,hiro
We add these FFIs for retrieving the existing transitions, so we can
reduce the false alarms of triggering transitions from Servo:
1. Gecko_ElementTransitions_Length
2. Gecko_ElementTransitions_PropertyAt
3. Gecko_ElementTransitions_EndValueAt

MozReview-Commit-ID: 9eLd8fxmNd9

--HG--
extra : rebase_source : 0ea23dd7f48dbdc1f31a83244ab1dfaf1b20a321
2017-04-17 14:29:31 +08:00
Boris Chiou 5ebfbed872 Bug 1341372 - Part 2: Add one FFI for TElement::has_css_transitions. r=heycam
Add one FFI, Gecko_ElementHasCSSTransitions, to check if there is any
transition in CSSTransitionCollection. This will be used to check if we need
to update transition and if we should compute the after-change style.

MozReview-Commit-ID: 7xP4SdxNp7g

--HG--
extra : rebase_source : dbc4941151835c2f1c3596a6baaef77b2198890c
2017-04-17 14:24:33 +08:00
Boris Chiou 600fb7770f Bug 1341372 - Part 1: Let animation-only restyle include css-transition. r=heycam,hiro
Animation-only restyle should include both Animation and Transition
cascade levels.

MozReview-Commit-ID: Jo1sb5fGUC0

--HG--
extra : rebase_source : ddd7d796b93f9e7ced912ec4fa2eb79e7ba58784
2017-04-17 14:22:28 +08: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
Eric Rahm 4ea5ba697b Bug 1356060 - Cleanup nits. r=me
MozReview-Commit-ID: Jk6d9UkdbiU
2017-04-13 15:21:41 -07:00
Eric Rahm 152fcf01fe Bug 1356060 - Just use nsString in URLValueData. r=heycam
This switches over from using nsStringBuffer to nsString for URLValueData's
|mString| member. This avoids various tedious conversions and can provide
potential performance improvements by avoiding length calculations.

MozReview-Commit-ID: 5eRifUZrAso
2017-04-13 15:18:25 -07:00
Geoff Brown f513cbe989 Bug 1355800 - Improve test web server shutdown to avoid delays; r=jmaher
This eliminates a 2 minute timeout seen at the end of Android mochitests
and reftests. Attempts to shutdown the web server were failing because
they were directed at IP 10.0.2.2 -- the loopback address for the
Android emulator.
2017-04-13 14:33:42 -06:00
peter chang 82b62cfc18 Bug 1344079 - Convert ColumnRule to WebRenderDisplayItemLayer, r=mattwoodrow
MozReview-Commit-ID: AmAVYi4P7nl

--HG--
extra : rebase_source : a2c7196cca088ed44e3c1dadd7ba599348ffbd29
2017-03-24 17:35:35 +08:00
Manish Goregaokar 18dbf79af1 Bug 1341102 - Update stylo expectations; r=orange
MozReview-Commit-ID: BPnfd0ME7RH
2017-04-10 10:31:23 +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
Kartikaya Gupta 96657be4f9 Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::ReinitRenderingState. r=dvander
This piggybacks the sync message on the pre-existing
EnsureLayersConnected sync message pathway to the compositor.

MozReview-Commit-ID: DfYTlJrr3Gu

--HG--
extra : rebase_source : c2bd29e655db65e3016a79bf3f6068ffb1c8b7c7
2017-04-09 17:31:24 -04:00
Kartikaya Gupta a13700a7ce Bug 1350638 - Remove sync GetCompositorOptions call added in the last patch. r=dvander
This call should be a no-op in the real world, and should be safe to
remove. The patch also adds an assert to ensure that the call is
effectively a no-op.

MozReview-Commit-ID: BXdcnHULWW2

--HG--
extra : rebase_source : 03c57d2d6dbfb1d330ce7eab6d842d8375d33208
2017-04-09 17:31:06 -04:00
Kartikaya Gupta 1bfa62105b Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.

The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.

MozReview-Commit-ID: AtdYOuXmHu4

--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
Sebastian Hengst 37409bb05b merge mozilla-central to autoland. r=merge a=merge 2017-04-09 20:50:44 +02:00
Sebastian Hengst 1ac51ab409 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3xAWLzLkoZ3
2017-04-09 20:32:42 +02: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
Ravi Shankar 83ad365ff7 Bug 1354775 - Gecko_CopyStyleGridTemplateValues function for Servo-side copying; r=bholley,heycam
MozReview-Commit-ID: 4Hz82MWZlB0
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 17:42:20 +08:00
Bob Owen 377f3f30b2 Bug 1347646 Part 2: Use CreateRenderingContext in nsSimplePageSequenceFrame::PrePrintNextPage to ensure recorder is used for canvases. r=jwatt
Calling CreateReferenceRenderingContext currently returns a non-recording DrawTarget even
when the nsIDeviceContextSpec within the nsDeviceContext has a DrawEventRecorder, due to
bug 1354624. Since we've already called BeginPage we can call CreateRenderingContext instead
though and that will give us a recording DrawTarget as we require to record the canvas drawing.
2017-04-08 22:47:51 +01:00
Bob Owen 3f14ad38c2 Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor 2017-04-08 22:47:51 +01:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Sebastian Hengst 03c0c3e43c Backed out changeset cbbedd0b3075 (bug 1351535) 2017-04-08 16:53:09 +02:00
Sebastian Hengst 3323ca3afe Backed out changeset 649120253cc1 (bug 1351535) 2017-04-08 16:53:04 +02:00
Sebastian Hengst 87744c4253 Backed out changeset 2687cb9cb4de (bug 1351535) 2017-04-08 16:52:56 +02:00
Sebastian Hengst 8bfc118fde Backed out changeset bff89114412c (bug 1351535) 2017-04-08 16:52:38 +02:00
Sebastian Hengst 017c1e7173 Backed out changeset 0410ff898157 (bug 1351535) 2017-04-08 16:52:34 +02:00
Cameron McCormack 6c8f6a70b6 Bug 1351286 - stylo: Make Servo mapped attributes mechanism cope with the document being in the bfcache. r=dbaron
MozReview-Commit-ID: H8tpBVKf3xo

--HG--
extra : rebase_source : 698a30deb1ab8ac4840dc6791e4cf12b3be6c5df
2017-04-08 22:42:43 +08:00
Wes Kocher b689c79de1 Backed out changeset 17650db2f478 (bug 1354775) for stylo bustage at developer's request a=backout 2017-04-08 23:52:25 -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
Jeremy Chen 6a5f9a417c Bug 1347815 - part3: label RuleProcessorCache::mExpirationTracker. r=heycam
RuleProcessorCache::mExpirationTracker.NotifyExpired() will be invoked by
nsExpirationTracker::TimerCallback() from an unlabeled runnable.
Since RuleProcessorCache is a browser-wide cache, we provide a SystemGroup
EventTarget for the invocation of this callback.

MozReview-Commit-ID: KQATsLu6bdc

--HG--
extra : rebase_source : b64c93d335b86fb518981134d25de27fc067c8cc
2017-04-09 16:53:57 +08:00
Jeremy Chen 2738241549 Bug 1347815 - part2: label LayerActivityTracker. r=heycam
LayerActivityTracker::NotifyExpired() will be invoked by
nsExpirationTracker::TimerCallback() from an unlabeled runnable.
We provide a SystemGroup EventTarget for the invocation of this
callback since there's nothing within a page that would rely on
the timer firing at a particular time (i.e., it doesn't matter
when this timer's callback is scheduled, relative to other
runnables dispatched for the page).

MozReview-Commit-ID: FZHtqicwDG5

--HG--
extra : rebase_source : 741983a64e7b9835999bdb344bc5f163eebac246
2017-04-09 16:53:56 +08:00
Jeremy Chen d66ae544cc Bug 1347815 - part1.2: label ScrollFrameActivityTracker. r=heycam
ScrollFrameActivityTracker::NotifyExpired() will be invoked by
nsExpirationTracker::TimerCallback() from an unlabeled runnable.
We provide a SystemGroup EventTarget for the invocation of this
callback since there's nothing within a page that would rely on
the timer firing at a particular time (i.e., it doesn't matter
when this timer's callback is scheduled, relative to other
runnables dispatched for the page).

MozReview-Commit-ID: 9QEjxCtFhve

--HG--
extra : rebase_source : 06b979835363b9c4288dd218d2a4ca2dc111169b
2017-04-09 16:53:56 +08:00
Jeremy Chen bcda6f5517 Bug 1347815 - part1.1: fix some obvious nits for the implementations of ScrollFrameHelper. r=heycam
MozReview-Commit-ID: BOoqj7wzo8o

--HG--
extra : rebase_source : 0aae9871950dc7934df1025e25a7bfa7fbb369a6
2017-04-09 16:53:56 +08:00
Cameron McCormack 4c83188e63 Bug 1351535 - Part 9: Call StyleSubtreeForReconstruct when doing frame reconstruction. r=bholley
MozReview-Commit-ID: HxoGLPKJpnt

--HG--
extra : rebase_source : da2d6d141746a7765d3cd459a1dcb7be76a46c16
2017-04-04 19:36:09 +08: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 3d17c09c00 Bug 1351535 - Part 8: Add ServoStyleSet::StyleSubtreeForReconstruct. r=bholley
MozReview-Commit-ID: CovU36o4lAV

--HG--
extra : rebase_source : d827260d084625ff652059e8128b3736505f3903
2017-04-04 19:34:30 +08:00
Cameron McCormack 12cc9ae143 Bug 1351535 - Part 6: Add ServoStyleSet::StyleSubtreeForReconstruct. r=bholley
MozReview-Commit-ID: CovU36o4lAV

--HG--
extra : rebase_source : d1b990032dcf5438823316f2934bf59a1babd337
2017-04-04 19:34:30 +08:00
Cameron McCormack d52f48a6c4 Bug 1351535 - Part 5: Add a TraversalRestyleBehavior argument to traversal functions. r=bholley
This argument will be used to control whether we are restyling in preparation
for reframing a subtree, which can avoid generating any change hints, as we
aren't preserving the frames that they would otherwise apply to.

MozReview-Commit-ID: DkLVCUnNGt

--HG--
extra : rebase_source : 086a1d71a2e6c706cdd25193ec0592fad897f147
2017-04-04 19:31:23 +08:00
Cameron McCormack 06188bfd80 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 2a3f4c8f4a 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
Cameron McCormack 9ce0d4d3d2 Bug 1351535 - Part 4: Add a TraversalRestyleBehavior argument to traversal functions. r=bholley
This argument will be used to control whether we are restyling in preparation
for reframing a subtree, which can avoid generating any change hints, as we
aren't preserving the frames that they would otherwise apply to.

MozReview-Commit-ID: DkLVCUnNGt

--HG--
extra : rebase_source : cb3537cea26cb9805b2ec1556cf5ca6eb9d38ab8
2017-04-08 22:57:08 +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
Ravi Shankar 7bb1323a66 Bug 1354775 - Prefer '=' for setting TrackList values in eCSSUnit_Inherit; r=heycam
MozReview-Commit-ID: 16dHlgrA9OZ

--HG--
extra : rebase_source : 5f04433931b4cbf6f0a0c7ec2b7fd2f810d62187
2017-04-08 12:47:44 +05:30
Ravi Shankar 1d70fcbd3c Bug 1354775 - Gecko_CopyStyleGridTemplateValues function for Servo-side copying; r=bholley,heycam
MozReview-Commit-ID: 4Hz82MWZlB0

--HG--
extra : rebase_source : 962b60f9a67a157395f0f11aadfc95bad4a1d554
2017-04-08 12:47:34 +05:30
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
Hiroyuki Ikezoe 50ce1998ae Bug 1311257 - Update test expectations. r=heycam
MozReview-Commit-ID: K3HlC794cCo

--HG--
extra : rebase_source : 03d3df88c1d4ca452ab6d810efb9e7a154768b71
2017-04-06 10:34:51 +09:00
Hiroyuki Ikezoe 2614ef2eac Bug 1311257 - Use underlying value for missing keyframes. r=birtles,heycam
mBaseStyleValuesForServo is a nsRefPtrHashtable<nsUint32HashKey, RawServoAnimationValue>
In this patch, we use void* instead of exposing nsRefPtrHashtable in FFI
because we just use the hash table as an argument of a C++ function, it means
we don't touch the hash table in Rust at all.

MozReview-Commit-ID: 1wM6NeF2S0t

--HG--
extra : rebase_source : 17908ff84d061e189f21641bf660dc9720b964bc
2017-04-06 10:34:51 +09:00
Hiroyuki Ikezoe fa100db77c Bug 1311257 - Move stuff of KeyframeEffectReadOnly::ComposeStyleRule in Rust. r=heycam
After this, we will implement additive or accumulative calculation
in this Rust function.

MozReview-Commit-ID: 4xAvLz1oTIZ

--HG--
extra : rebase_source : c0672cb1c894eadaaebec94dce2f0d1c1a77d244
2017-04-06 10:34:51 +09:00
Hiroyuki Ikezoe 8e14922b0a Bug 1311257 - Add FFI functions to get progress value and current position in a segment. r=birtles
Two functions added in this patch get progress value from ComputedTiming
or get the position in a given AnimationPropertySegment.
Without these FFIs, we need to expose Maybe<> and Nullable<> and handle
them in Rust.

MozReview-Commit-ID: IXYWlqEQyVR

--HG--
extra : rebase_source : 8cc4d03f718cc13abfcb9c9af700bae7082bbf31
2017-04-06 10:34:51 +09:00
Hiroyuki Ikezoe 88423b4e0b Bug 1311257 - Add an FFI function that returns an AnimationValue for a given nsCSSPropertyID from computed values. r=heycam
When we compose style for a given nsCSSPropertyID in the case where
we have no specified values in target keyframe, we use this AnimationValue
for composition as if it's specified.

MozReview-Commit-ID: 2CTLIGgeLIO

--HG--
extra : rebase_source : 3be5bdaf3d226ff004bb0af0f832e5af88f15b6d
2017-04-06 10:34:50 +09:00
Hiroyuki Ikezoe 3f28d7ec76 Bug 1311257 - Add a function that returns a base computed values (i.e. computed values without any animations rules). r=heycam
This base value will be used for additive, accumulative animations
and also SMIL.

MozReview-Commit-ID: LHV8ZnxSzjb

--HG--
extra : rebase_source : 507a8dd74961e7f439b90fd4c5f90a98706aa434
2017-04-06 10:34:50 +09:00
Emilio Cobos Álvarez 6dcc77f3c6 Bug 1356074: Update test expectations. r=heycam
MozReview-Commit-ID: 575mMyFAtlx
2017-04-14 13:01:06 +08:00
Emilio Cobos Álvarez 327d06e742 Bug 1356074: Use Servo for window.matchMedia and MediaQueryList. r=xidorn
MozReview-Commit-ID: I6uufe48JZq
2017-04-14 13:00:29 +08:00
Emilio Cobos Álvarez 269304d78d Bug 1356074: Implement keyword-valued media queries. r=heycam
MozReview-Commit-ID: 1oskYLM11us
2017-04-14 13:00:23 +08:00
Hiroyuki Ikezoe 0d44aff685 Bug 1354876 - Update tests expectations for font-variant. r=heycam
MozReview-Commit-ID: 9ZTz7hH5KV3

--HG--
extra : rebase_source : c2716b5583d31b57e4e0f3b5eaaf47ed09e6fa98
2017-04-14 10:41:21 +09:00
Brad Werth 6c2dfccff8 Bug 1341721 Part 5: Remove asserts from some unexpected-pass reftests. r=heycam
MozReview-Commit-ID: EVxsNGyMuJY

--HG--
extra : rebase_source : 4b46c91308eb1efa60a1d1a89b408fc8ba258ece
2017-04-13 15:08:30 +08:00
Brad Werth e54f2f1c5b Bug 1341721 Part 4: Re-enable reftest 360746, and remove the assert saying that alternate sheets are not supported. r=heycam
MozReview-Commit-ID: GuKebiq3zAJ

--HG--
extra : rebase_source : 3a10bf811f809f731f71b32ac4b64a223bfde021
2017-04-13 13:01:24 +08:00
Brad Werth 78b1c03e22 Bug 1341721 Part 2a: Add a bool argument to Servo_StyleSet_NoteStyleSheetsChanged. r=heycam
MozReview-Commit-ID: 1CLnJ87fPF1

--HG--
extra : rebase_source : 10e63dbaadd1d37f209044980f83a3e1af70cdfc
2017-04-11 15:59:44 +08: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
Xidorn Quan 1f463380ce Bug 1355683 - Remove Window.getDefaultComputedStyle. r=bz
MozReview-Commit-ID: A2IwfiJiPL

--HG--
extra : rebase_source : 6e41985b2f9aa9528f2f660f8044f5e9f7970712
2017-04-13 16:50:37 +08:00
Emilio Cobos Álvarez a2a4795bd3 Bug 1325878: followup - cleanup MediaList::Matches callers. r=me
MozReview-Commit-ID: Ck9hlZ0qkxj
2017-04-14 11:31:47 +08:00
cku 6f9427831f Bug 1349741 - Part 2. Reftest. r=mstange
MozReview-Commit-ID: AOKD7BeAUNl

--HG--
extra : rebase_source : 7be5667c56679fb66f474e2716f0ab8c5b570663
2017-03-23 14:40:10 +08:00
cku 8be5ee7510 Bug 1349741 - Part 1. Correct the transform matrix of a context that pass to nsFilterInstance::PaintFilteredFrame. r=mstange
MozReview-Commit-ID: 9BISQehlSgG

--HG--
extra : rebase_source : b24635e2e9c790906fd823aad456da12a9fdff16
2017-04-13 11:10:58 +08:00
Cameron McCormack 9bfb5d308c Bug 1356085 - stylo: Update test expectations. r=emilio
MozReview-Commit-ID: 7gUoFnqg5MA
2017-04-13 10:29:22 +08:00
Xidorn Quan 6aa53cfed2 No bug - Fix mochitest expectation.
MozReview-Commit-ID: 5jR3ONTUyKX

--HG--
extra : rebase_source : e1e8005235a768e4202ef777ebfec4c301f52e31
2017-04-13 16:12:27 +08:00
Carsten "Tomcat" Book 1e57d7d5e5 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 314f463721337b68ff25177cdb5d9eb7dcde7371
2017-04-13 10:11:47 +02:00
Manish Goregaokar f1d7d1e1c9 Bug 1356105 - Update more test expectations ; r=manishearth
MozReview-Commit-ID: 8qvGgysr20e
2017-04-13 15:56:54 +08:00
Xidorn Quan c85f8f0470 No bug - Add bug number to several items in stylo-failures.md
MozReview-Commit-ID: 1nEHUWhP7zO

--HG--
extra : rebase_source : 531569b1a3e96a124f964712c3994899a3d8f04a
extra : source : 1fb3d6ba02af65125dec818947645e520c72b9b2
2017-04-13 13:24:29 +08:00
Iris Hsiao a59e2ae25b Backed out changeset f6a3307c3a8d (bug 1349741)
--HG--
extra : rebase_source : f08659b2489fa6c9205570b62c8a74d768296519
2017-04-13 15:14:54 +08:00
Iris Hsiao adb369f77f Backed out changeset 7995aed69c67 (bug 1349741) for filter-in-mask.svg comparison fails in Win8
--HG--
extra : rebase_source : 3d80f539b70a373bd07dbb9797ec267eb625a02b
2017-04-13 15:14:50 +08:00
Manish Goregaokar 5c6db46eb1 Bug 1356105 - stylo: Disable font metrics ; r=heycam
MozReview-Commit-ID: DgwnF7isa6W
2017-04-13 14:48:37 +08:00
Emilio Cobos Álvarez 8151866656 Bug 1341102: Fixup expectations for servo/servo#16384. r=emilio
MozReview-Commit-ID: AzvlNohO10v
2017-04-13 12:16:20 +08:00
Emilio Cobos Álvarez 2a0fcd1d0d Bug 1355014: Update test expectations. r=emilio
MozReview-Commit-ID: HG7klGXxH73
2017-04-13 12:15:19 +08:00
Emilio Cobos Álvarez 3024dc49ee Bug 1341102: Fixup expectations for servo/servo#16364 r=emilio
MozReview-Commit-ID: J86tpkKaJZn
2017-04-13 12:13:31 +08:00
cku 3ebdb896d7 Bug 1349741 - Part 2. Reftest. r=mstange
MozReview-Commit-ID: AOKD7BeAUNl

--HG--
extra : rebase_source : fa26d4b0ba4200b8fe60a23f26776625a366f5a1
2017-03-23 14:40:10 +08:00
cku 781ff666e3 Bug 1349741 - Part 1. Correct the transform matrix of a context that pass to nsFilterInstance::PaintFilteredFrame. r=mstange
MozReview-Commit-ID: 9BISQehlSgG

--HG--
extra : rebase_source : b24635e2e9c790906fd823aad456da12a9fdff16
2017-04-13 11:10:58 +08:00
Xidorn Quan d8c29760a1 Bug 1355734 - Remove text-decoration-line: -moz-anchor-decoration. r=heycam,masayuki
MozReview-Commit-ID: 4TmVncV1K5G

--HG--
extra : rebase_source : 568218d415642f1088c82d4b2e03d5885067b162
2017-04-13 16:17:03 +08:00
Wes Kocher 20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Geoff Brown decf51a9ce Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher 2017-04-11 09:21:37 -06: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
Mayank Srivastav ae997781f5 Bug 1156019 - Fix the issue of background-size property, regenerated properties css database & updated tests. r=xidorn
MozReview-Commit-ID: ACRxUEWBbSM

--HG--
extra : rebase_source : 87876016c618465552bb86a21e12a5643cd530cc
2017-04-07 11:01:00 -04:00
Geoff Brown 3c3f929c78 Bug 1354042 - Delete pending crash reports between reftests; r=jmaher
Pending crash reports are stored in UAppData, which is typically
outside of the test profile. Pending crash reports left by one test
may affect future tests, so it is important that they be deleted
between tests. However, since UAppData crash data may be important
to developers running tests outside of automation, the harness cannot
delete them unless requested with the --cleanup-crashes option.
2017-04-07 15:46:08 -06:00
Nathan Froyd c430f999dd Bug 1322656 - add servo bindings for profiler thread registration; r=xidorn
We need these to be able to register parallel traversal threads with the
profiler.
2017-04-07 10:44:41 -04:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Carsten "Tomcat" Book 7eac1bb720 Backed out changeset d24b3983c4c2 (bug 1322656) for causing merge conflict with m-c
--HG--
extra : rebase_source : 2a5ec1a8ad6115b79edad5276d69cde3cf3a346e
2017-04-07 15:09:55 +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
Daniel Holbert 88cfb5bbcf Bug 1353992: Re-enable test_flexbox_focus_order.html on mac, with pref-tweak to allow links to be focused with 'tab' there. (no review, test-only)
MozReview-Commit-ID: B6J2QUoMdyx
2017-04-06 22:01:03 -07:00
Manuel Rego Casasnovas 6d1ed654dc Bug 1354006 - [selectors4] Remove "interact" flag from :focus-within tests. r=xidorn
This patch has been extracted from:
https://github.com/w3c/web-platform-tests/pull/5370

The problem is that the "interact" flag on these tests
causes that they are considered manual,
when they can be run automatically.

This patch removes the "interact" flag and uses "reftest-wait" class
to be sure that the test has been completed.
2017-04-06 07:09:35 +02:00
Nathan Froyd 7de981c17f Bug 1322656 - add servo bindings for profiler thread registration; r=xidorn
We need these to be able to register parallel traversal threads with the
profiler.
2017-04-06 21:01:05 -04: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
Lee Salzman 22fb7629b8 Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel 2017-04-06 17:41:24 -04:00
Lee Salzman a168dcdbf3 Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame 2017-04-06 17:41:02 -04:00
Nazım Can Altınova cb7ce42ed7 Bug 1341761 - stylo: Update test expectations for -moz-element. r=bzbarsky
MozReview-Commit-ID: 3bKWDW2bJ9V
2017-04-08 17:40:18 +03:00
Nazım Can Altınova bfd17d61d4 Bug 1341761 - stylo: Add -moz-element support. r=xidorn
MozReview-Commit-ID: I9gxAoFJH9C
2017-04-09 17:02:35 +03:00
Nazım Can Altınova a99f2a36a0 Bug 1341761 - Convert nsStyleImage::mElementId to use nsIAtom. r=xidorn
MozReview-Commit-ID: 9YcbhMmXYoi
2017-04-09 16:44:36 +03:00
Botond Ballo 098b03ac55 Bug 1312697 - Mochitest. r=tnikkel
MozReview-Commit-ID: LUWZMdkOdgY

--HG--
extra : rebase_source : 26cd1cd74d1bb9cef28d57a6af225e497188d6a3
2017-03-17 19:12:53 -04:00
Geoff Brown f8160809a8 Bug 1340233 - Take more care when killing browser before starting Android tests; r=jmaher
The devicemanager killProcess() is updated to use force-stop first, then
use kill if force-stop does not work.

Browser test harnesses are updated to check if killProcess() worked, and
warn if it failed.
2017-04-12 09:15:53 -06: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
Jeremy Chen fd80886453 Bug 1341758 followup - add comments to the disabled tests. comment-only, no review, DONTBUILD 2017-04-12 13:50:02 +08:00
Iris Hsiao ca42e73af7 Backed out changeset 40afcc9cae69 (bug 1341667) 2017-04-12 13:26:32 +08:00
Iris Hsiao cea8ee1972 Backed out changeset ff7c4ec7e0db (bug 1341667) for stylo tests bustage and the patches should be landed to autoland 2017-04-12 13:26:28 +08:00
cku fdb13f3fcf Bug 1341667 - Part 2. Enable css-masking reftests in stylo. r=heycam
MozReview-Commit-ID: FjnYLtwY900

--HG--
extra : source : cce0a674842f8306358041ee13c599476c2913f1
extra : intermediate-source : d8ce4a3daf34edb52247a11d8ce5e9fa4689e0e0
2017-04-10 14:00:53 +08:00
cku 7570e6aee4 Bug 1341667 - Part 1. Keep url in nsStyleImage for local-fragment url. r=heycam
MozReview-Commit-ID: KEbO4vZXBJo

--HG--
extra : source : 3dce4bb207fd09273dfb37581644eda454aefab8
extra : intermediate-source : 0c9191b0101dcbb011e07bbae8a6a314d1a7956b
2017-04-11 22:56:41 +08: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
Gregory Szorc 4d56c2a609 Backout changesets 20bd44c62c89, 7fbc0a154eaa, and b8cfaab9ac09 (bug 1346256)
For touching servo/. (This is Autoland's fault for landing it.)

--HG--
extra : amend_source : a31555ab2a959af8e57f78f4f8b1d5e9700c0fb7
extra : histedit_source : 73e44d941d04553b9766ca75d3ad33618fe4f3f5%2C8f568b83aec10dc07a1e9c6cf2b32797cb9236e3
2017-04-07 18:09:02 -07:00
Brad Werth 0048196e85 Bug 1346256 Part 3: Modify GetCSSStyleRules to collect ServoStyleRules. r=xidorn
MozReview-Commit-ID: IMQLykuXjfL

--HG--
extra : rebase_source : ed6b8f112c5b37ac5f19beaefb053dafce1807b9
2017-04-07 15:21:36 -07:00
Brad Werth ddb66e070e Bug 1346256 Part 2: Define methods in ServoCSSRuleList to fill a hash of RawServoStyleRule to ServoStyleRule. r=heycam,xidorn
MozReview-Commit-ID: 4Swb9KwV0uO

--HG--
extra : rebase_source : 496b33bfdeaa4c4715796df6a8baa3fe1b4a9531
2017-04-07 08:07:37 -07:00
Brad Werth d4cc3a3790 Bug 1346256 Part 1: Add FFI interfaces for exposing style sources. r=heycam
MozReview-Commit-ID: FOQCgXD68E9

--HG--
extra : rebase_source : 3b1266cdd5dd9d432ac75e28a17d3e873bc45618
2017-04-06 10:19:00 -07:00
Daniel Holbert 40c4434077 Bug 1353888 part 2: Assert that CSSOrderAwareFrameIterator is only used on flex/grid children. r=mats
MozReview-Commit-ID: 1uUj9XESHjB

--HG--
extra : rebase_source : 1f40adbd5bbd70235218ebb763b4bdc2b3de5b10
2017-04-07 11:46:35 -07:00
Daniel Holbert 6d1c181798 Bug 1353888 part 1: Add documentation for CSSOrderAwareFrameIterator. r=mats
MozReview-Commit-ID: EnuIK2ouo7x

--HG--
extra : rebase_source : 67187f83077ee7d20a995a6b3b7ec167a3f8a1b4
2017-04-07 11:42:04 -07:00
Sebastian Hengst 548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
cku 21a1b43445 Bug 1352096 - Part 2. Remove Layer::mSourceURI. r=heycam
Now, remove Layer::mSourceURI, there are several benefit of doing this:
1. Reduce the size of nsStyleImage::Layer.
2. By storing style image and url information in nsStyleImage, we can remove
many verbose comments. That is becasue there is no need to explain why we use
mSourceURI here, or why we use nsStyleImage there anymore.
3. Since all inforamtion is stored in on place, nsStyleImage, we can setup image
request or URLs by one single Gecko_SetUrlImageValue call.

MozReview-Commit-ID: 7aTQobddTB1

--HG--
extra : rebase_source : 247e3b66c727a9116c58d3d6ff3ae0f7a58f2338
2017-03-31 01:50:21 +08:00