Commit Graph

56434 Commits

Author SHA1 Message Date
cku
258222aaaf Bug 1346618 - Part 1. Remove SVGImageContext::mGlobalOpacity. r=mstange
MozReview-Commit-ID: ByiPa4sreEh

--HG--
extra : rebase_source : eda6104c00cbc7ebe7b9a5ddc9e2abc73fbc37df
extra : source : df69799726bdccc5a25d6190c0fe22645e264ab7
2017-04-15 02:01:22 +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
Hiroyuki Ikezoe
5d653db212 Bug 1324700 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 38Gk7MCIjJD

--HG--
extra : rebase_source : c731ddc207090ef3c1003a4e7b328e6d939e6c3b
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
0da40fea4c Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
MozReview-Commit-ID: KPhujlE54vL

--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
51d6b62cb0 Bug 1324700 - Add an FFI which returns computed values for a given declaration block with/without parent_style. r=heycam
The function uses document's default computed values if the parent style
is not specified.

MozReview-Commit-ID: ICd3phAi0C6

--HG--
extra : rebase_source : 343dee682096b75cd7f905db7207823f7e3624b5
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
175655448b Bug 1324700 - Add a function that checks PropertyDeclarationBlock has a CSSWideKeyword for a given property. r=heycam
It will be used to check whether the PropertyDeclarationBlock has 'inherit',
'initial' or 'unset'.


MozReview-Commit-ID: JxlxAJJSNJI

--HG--
extra : rebase_source : 99912dcbcfb39e2710e822b93c7933af79b5421b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a7215d7152 Bug 1324700 - Add ResolveServoTransientStyle to get servo's computed values instead of nsStyleContext. r=heycam
Also this patch add nsIAtom as an argument to ResolveTransientStyle() to call
the new function ResolveServoTransientStyle easier. The only call site of the
ResolveTransientStyle() has already nsIAtom* there.

MozReview-Commit-ID: IwxqZbaCSpB

--HG--
extra : rebase_source : b94a3a8723fe53f38eb6144a5926dec3d7796e72
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
d034849334 Bug 1324700 - Call PreTraverseSync() before calling ResolveStyleLazily() in ResolveTransientStyle(). r=heycam
MozReview-Commit-ID: 5KMELNYZJnq

--HG--
extra : rebase_source : 025a0d2267144bd631f28f554dba54352b13a43b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
784bf46abc Bug 1324700 - Servo_ParseProperty() takes nsCSSPropertyID instead of nsACString. r=heycam
MozReview-Commit-ID: Gn90DBlJSS9

--HG--
extra : rebase_source : 444f4188de7e32f5414f2b75046903dc504db1a0
2017-04-15 07:37:34 +09: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
4c8fa6d5da merge mozilla-central to autoland. r=merge a=merge 2017-04-15 00:08:12 +02: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
KuoE0
dfe4c15977 Bug 1355017 - Update stylo-failures.md. r=aryx
MozReview-Commit-ID: HO9DizNb2IZ

--HG--
extra : rebase_source : d709a74203b2d2e8118a0f040b54d5ba0fbd8c67
2017-04-15 01:47:26 +08:00
Sebastian Hengst
875f27030a merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Xidorn Quan
57e8622887 Bug 1341102 - Update mochitest expectation.
MozReview-Commit-ID: AcadZ6m2ekb
2017-04-14 22:29:46 +08:00
Iris Hsiao
adbc9c9d4f Merge mozilla-central to mozilla-inbound 2017-04-14 17:20:09 +08:00
Iris Hsiao
93edef392b merge autoland to mozilla-central a=merge 2017-04-14 17:09:58 +08:00
Wes Kocher
c8a2033f35 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07: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
Sebastian Hengst
a352ed0353 Backed out changeset b2a3d0fd9675 (bug 1346618) 2017-04-13 18:55:26 +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
Neil Deakin
3a1b430f17 Bug 1334635, don't flush layout in the tree's CheckOverflow method if the scroll overflow hasn't changed, r=jaws, dholbert
The flush was added due to the overflow/underflow events causing recursion in some cases. But if the events aren't fired there is no point in doing this. The password manager test is changed to flush since it relies on showing/hiding tree columns but currently doesn't wait for a relayout before asking for cell information.
2017-04-13 08:21:23 -04:00
sotaro
79b1971bae Bug 1356088 - Fix ImageKey removals of ExternalImages r=jrmuizel 2017-04-13 20:53:21 +09:00
Carsten "Tomcat" Book
3dc7a8afc0 Backed out changeset 6bbf9c0c5dac (bug 1344991) for causing bug 1356002 2017-04-13 09:47:01 +02:00
Wes Kocher
9898892ffc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 18:20:10 -07:00
Xidorn Quan
a4a706cfa9 Bug 1341102 - Update test expectation on a CLOSED TREE.
MozReview-Commit-ID: KSpz5ZCQkPc

--HG--
extra : amend_source : 777c2eb0e669ab16553ea9f2b5dd730d39ef7b3a
2017-04-13 09:09:17 +08:00
J. Ryan Stinnett
dbbda3c4ba Bug 1329088 - Pass SVG length mode to Stylo. r=emilio
In the SVG element case, tell Stylo to use the SVG length mode.

MozReview-Commit-ID: 9UR1AYRh4RE
2017-04-14 18:27:49 +08:00
J. Ryan Stinnett
9e8f561392 Bug 1329088 - Add LengthParsingMode enum to Gecko side. r=emilio
Add a Gecko side LengthParsingMode enum that matches the Servo version.  This
will be used in a few Stylo glue APIs on the FFI boundary.

MozReview-Commit-ID: EuDlWc6ZiQ8
2017-04-14 18:27:49 +08: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
Wes Kocher
b5e9293359 Bug 1341102 - Update expectation data r=me a=me CLOSED TREE 2017-04-12 13:41:30 -07:00
Wes Kocher
1196244596 Backed out 3 changesets (bug 1353000) for devtools failures a=backout CLOSED TREE
Backed out changeset 7ef3333cedf5 (bug 1353000)
Backed out changeset bd127ce305c7 (bug 1353000)
Backed out changeset 10e777bb90dc (bug 1353000)

--HG--
extra : amend_source : 8db7e67b22347962be0fdb055df1bb2c1853ab67
2017-04-12 10:59:12 -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
Jonathan Kew
8ef78da7ff Bug 1353000 - Reftest to check that shaping rotated text does not disrupt non-rotated text due to cache pollution. r=jrmuizel 2017-04-12 14:55:16 +01:00
Wes Kocher
5afdefe075 Backed out changeset f179621a517b (bug 1147538) for osx reftest failures a=backout 2017-04-13 23:59:49 -07: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
Ryan Hunt
243c73c180 Bug 1355570 - Respect aSrc when building WebRender gradients r=mattwoodrow
MozReview-Commit-ID: 6YfNRGYnHcK

--HG--
extra : rebase_source : 02d85de5342b54ea85456dac2403fcf6270c8884
extra : histedit_source : 05c11c0766bdd274af0ffff528e32ed9ad1d29a4
2017-04-11 14:30:33 -04:00
Ryan Hunt
4a34413551 Bug 1355570 - Simplify nsCSSRenderingGradients r=mattwoodrow
In nsCSSRenderingGradients the logic for handling many error conditions
and normalizing the gradient stops is shared between the paint path and
the WebRender path. WebRender now normalizes gradients and handles any
error conditions that it needs to. There are some conditions that are not
problems for it, like repeating radial gradients with stops below zero.

This commit undoes the work done in bug 1341101 to share this logic. Some
conditions were moved around in bug 1341101 to make things simpler, and
that has been undone. Now the paint path is identical to how it was
originally.

There is one exception, which is ResolveMidpoints which is kept between
both code paths. This should be safe.

MozReview-Commit-ID: LMhMNXNquXM

--HG--
extra : rebase_source : 2d389f76134671b6caa44a3b7370b1c786576bdc
extra : histedit_source : caf5d3a456cbb9987970783969d0eb2a424e7eca
2017-04-11 14:30:13 -04:00
Ryan Hunt
8840b347cb Bug 1355570 - Premultiply WebRender gradient stop colors r=mattwoodrow
MozReview-Commit-ID: 7zdxaJR5yS4

--HG--
extra : rebase_source : ad7b6eaa885e1ed5c2bff74cb25404c71c17ea0c
extra : histedit_source : af61fa9ed492e4c175c675c15ffb103ad47b01e8
2017-04-11 12:22:24 -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
Kartikaya Gupta
2807504086 Merge m-c to graphics
MozReview-Commit-ID: 3cMszvTBvR8
2017-04-12 08:54:40 -04:00
Ethan Lin
44273be6f1 Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang 2017-04-12 16:47:21 +08:00
Iris Hsiao
944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Hiroyuki Ikezoe
f0a3340857 Bug 1341102 - Update mochitest expectations. r=me 2017-04-12 05:08:26 +09:00
Kartikaya Gupta
aa20d100c1 Merge m-c to graphics
MozReview-Commit-ID: Ij5C7MUete4
2017-04-11 10:09:54 -04:00
Carsten "Tomcat" Book
ee9da45454 merge mozilla-inbound to mozilla-central a=merge 2017-04-11 10:17:24 +02:00