Commit Graph

57374 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
2565b104f7 Backed out changeset e528713f882c (bug 1365614) 2017-05-22 15:45:34 +02:00
Carsten "Tomcat" Book
00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Carsten "Tomcat" Book
469e512b06 merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Iris Hsiao
65ea740eda Merge mozilla-central to mozilla-inbound 2017-05-22 11:53:00 +08:00
Hiroyuki Ikezoe
b10ba93aa1 Bug 1365629 - Update reftest expectations. r=me
MozReview-Commit-ID: 8sXvXHZLCOj
2017-05-22 07:46:48 +09:00
Hiroyuki Ikezoe
5c43533704 Bug 1362914 - Drop initial values of properties other than font-size and font-family in serialization of canvas font attribute. r=manishearth
According to the canvas spec [1], we must drop initial values other than
font-size and font-family when we serialize canvas font attribute.
As for font-size and font-family, the default values, '10px sans-serif' [2]
are not dropped at all.

[1] https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-font
[2] https://html.spec.whatwg.org/multipage/scripting.html#canvastextdrawingstyles

MozReview-Commit-ID: EyOxzJCQYQl

--HG--
extra : rebase_source : d358a8e97fa7849a320a3619e746a526fe2a8439
2017-05-20 07:38:26 +09:00
Hiroyuki Ikezoe
f50286022e Bug 1363045 - Annotate bug number for reftests which don't work because of id anchor. r=birtles
MozReview-Commit-ID: JgNcrdBNrwg

--HG--
extra : rebase_source : 43d222baaf68c0048106d3ecf9eefd4f7c92b05b
2017-05-22 14:46:26 +09:00
Hiroyuki Ikezoe
d615c5f9b3 Bug 1363045 - Don't skip dynamic-mask-01.svg. r=birtles
MozReview-Commit-ID: 3MVrIjCU9BI

--HG--
extra : rebase_source : 97f6cae98a48ca82be12d4ccf066032cdec224be
2017-05-22 14:25:30 +09:00
Mats Palmgren
e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Mats Palmgren
a928a1b1f6 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-18 11:09:00 +08:00
Phil Ringnalda
35dc6b4906 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 78jnwmm4rib
2017-05-21 13:01:06 -07:00
Xidorn Quan
f085a0060e Bug 1337655 - Turn on moz-prefixed gradient functions again.
MozReview-Commit-ID: AUDeFVbQsT3
2017-05-21 10:22:26 +10:00
Emilio Cobos Álvarez
51e1c0b54e Bug 1366142: Ignore reentrant change hints without primary frame. r=heycam
MozReview-Commit-ID: 4bF7M0KMhNL

--HG--
extra : rebase_source : 5ad2d1a21e8b1110345b3b2c350de0f1011e61dc
2017-05-20 14:35:37 +02:00
Cameron McCormack
9a8d559e54 Bug 1364845 - stylo: Adjust test expectations. r=emilio
MozReview-Commit-ID: KS4qGSOsFD0

--HG--
extra : rebase_source : d3603746c8b8c0180499f8f01ffac9855362578c
2017-05-19 17:39:16 +08:00
Cameron McCormack
99c15e1ebe Bug 1289868 - Part 2: stylo: Compare all structs in CalcStyleDifference so that Servo can accurately determine whether to stop traversal. r=emilio
MozReview-Commit-ID: I0WK2gDsMMu

--HG--
extra : rebase_source : 204b8206ef8e924cc8a3992874538a68417768f0
2017-05-19 17:39:14 +08:00
Cameron McCormack
8b8f339e85 Bug 1289868 - Part 1: stylo: Add an outparam to Gecko_CalcStyleDifference that returns whether any style data changed. r=emilio
MozReview-Commit-ID: 2Pk2x9JME0

--HG--
extra : rebase_source : 4ea272000541d5b79d83e69d6129a7b7b6871b8f
2017-05-20 11:17:40 +08:00
Emilio Cobos Álvarez
fa786ffb93 Bug 1366144: Test. r=heycam
MozReview-Commit-ID: Dx1rFw0BZHm

--HG--
extra : rebase_source : 2a07111ebe30c8c9f456b97de2bbed0d9ada7e63
2017-05-20 03:42:15 +02:00
Boris Chiou
031243e055 Bug 1346049 - Enable reftests for checking stacking context. r=hiro
After enabling animations running on compositor, it seems to me that we
can enable reftests in layout/reftests/web-animations without intermittents.

MozReview-Commit-ID: 5Whwm0UZ8nQ

--HG--
extra : rebase_source : a0db68e521ff3143bf8f52d3e31eaff115f35bb2
2017-05-15 17:05:36 +08:00
Brian Birtles
208d409a42 Bug 1366627 - Make accumulation of transform lists with 'none' behave in the same way as interpolation; r=hiro
MozReview-Commit-ID: LITXkeYN1VR

--HG--
extra : rebase_source : bdda1f30c8fa8f6ede210b2007c0f59c29804a83
2017-05-22 09:35:10 +09:00
L. David Baron
7fd8f7b188 Bug 1365449 - Reflow absolutely positioned children when they need to be repaginated. r=mats
This fixes the failure of
layout/reftests/pagination/dynamic-abspos-overflow-01-cols.xhtml with
the primary patch in bug 1308876.

Since it is an independently testable failure, I'm posting it as a
separate bug.

Without the patch, both reftests fail to rewrap in response to the
dynamic change, and the inner dark blue absolutely positioned element
remains wrapped at the wrong position when the inner light blue
relatively positioned element rewraps.  (I tested this only outside of
the reftest harness, but that should be sufficient.)

I verified manually that the height conditions were correct by modifying
both reftests to add some padding and border to #relpos and margin to
#abspos, changing the height of #abspos so that it was either exactly at
or just above the threshold where reflow was needed, and using
GECKO_DISPLAY_REFLOW_RULES_FILE debugging to verify that the reflow of
the absolutely positioned element did or didn't happen as expected.

MozReview-Commit-ID: 6ISgSEYyMiN

--HG--
extra : transplant_source : %93%86%8Csr_L%83%F2OJ%DC%7F%3D%7D%BC%9C%A6%1F0
2017-05-20 10:15:26 -07:00
Sebastian Hengst
79f625ac56 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EqC7wKnn6Jt
2017-05-20 18:48:53 +02:00
Hiroyuki Ikezoe
93e3eef4cb Bug 1341102 - Update test expecrations. r=me
https://github.com/servo/app_units/pull/26#issuecomment-301931183
2017-05-20 15:26:55 +09:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Wes Kocher
b3e139291b Merge graphics to m-c a=merge a=release
IGNORE BAD COMMIT MESSAGES because something landed and was backed out for no bug number

--HG--
extra : amend_source : 1134c379d1134fe160fd2d889488d07acd9f4177
2017-05-19 14:27:32 -07:00
Olli Pettay
2d735273d9 Bug 1366250, don't flush layout when calling element.focus() on already focused element. Ensure layout is flushed after changing input.type, r=ehsan
--HG--
extra : rebase_source : 294d0220cc3c2b6be38566ff28722c5e9acc87a9
2017-05-19 23:20:48 +03:00
Kartikaya Gupta
5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Mike Cooper
94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Kartikaya Gupta
5d656fab0f Merge m-c to graphics
MozReview-Commit-ID: HvsAeMjJAIA
2017-05-19 09:30:48 -04:00
Kartikaya Gupta
0835cf0937 Bug 1363998 - Skip the reftests for advanced background-color layers if WebRender is not enabled. r=bustage
On Windows with webrender disabled and advanced background-color layers enabled,
these tests fail because they have a higer fuzz than allowed. Specifically:

1316719-1a.html -> max difference: 53, number of differing pixels: 785
1316719-1b.html -> max difference: 53, number of differing pixels: 785
1316719-1c.html -> max difference: 53, number of differing pixels: 787

I'm assuming that for now we only care about the advanced background-color layers
when WebRender is enabled, so we can just skip the tests otherwise.

MozReview-Commit-ID: 3HI828mcBdH
2017-05-18 09:13:12 -04:00
Kartikaya Gupta
aca076b94b Merge m-c to graphics
MozReview-Commit-ID: DFNbcj14mg9

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
2017-05-18 08:34:15 -04:00
Carsten "Tomcat" Book
24c443a440 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 14:19:18 +02:00
Ethan Lin
501bd51b08 Bug 1363998 - Part2. Add pref "layers.advanced.background-color" to all.js and turn it on for certain reftests. r=kats 2017-05-18 17:40:18 +08:00
Morris Tseng
4c2b28386a Bug 1336986 - Mark fails-if for some tests. r=mchang
MozReview-Commit-ID: GSuyY8q6iJO
2017-05-18 10:55:28 +08:00
Kartikaya Gupta
dc10ea1700 Merge m-c to graphics
MozReview-Commit-ID: 5Rpd42jqi40
2017-05-17 08:39:54 -04:00
Carsten "Tomcat" Book
6bd33f52d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
cku
d528aa4d56 Bug 1205475 - Part 2. Prevent multiple EffectSet property look up. r=mattwoodrow
Functions like BuildDisplayListForStackingContext or BuildDisplayListForChild look
up EffectSet property several times in callees, such as IsTransformed() or
HasOpacity(), which is time wasting.

We should look up EffectSet just once, and pass the found one to all callees
that need it.

MozReview-Commit-ID: GZywm2UcpU7

--HG--
extra : rebase_source : 21f5dd0076a90d876a6df35eee2b886844b44f0a
2017-05-17 15:13:12 +08:00
Kartikaya Gupta
77fae9e5d6 Merge m-c to graphics
MozReview-Commit-ID: 6TxOtFjEGyY
2017-05-16 09:16:28 -04:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
cku
19af87ab38 Bug 1205475 - Part 1. Hold MAY_HAVE_OPACITY_ANIM/ MAY_HAVE_TRANSFOMR_ANIM information in EffectSet. r=mattwoodrow
FRAME_STATE_BIT of nsFrame and nsINode::mBoolFlags are both full, we need to
find another place to hold MAY_HAVE_OPACITY information.

nsINode::mSlots might be a choice, but since we always use this information in
painting, memory footprint of nsINode will become larger after this change.

So I decide to put this information right in EffectSet. The drawback of storing
this information in EffectSet is, although unnecessary Effect look-up is
prevented, we still need EffectSet property look-up in each time
HasOpacityInternal call, so we need Part 2.

Conceptually, Part 1 and Part 2 are independent.

MozReview-Commit-ID: 6sfBFSHjxQb

--HG--
extra : rebase_source : 394141cec3b44bb352297a0add8f9763d815bddb
2017-05-16 19:11:04 +08:00
Hiroyuki Ikezoe
58df9c7c0c Bug 1364412 - Update reftest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: 3MAHKCMp8k1
2017-05-16 14:58:15 +09:00
Hiroyuki Ikezoe
8fdb42c08d Bug 1364412 - Update reftest and mochitest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: CGcljQLeS8c
2017-05-16 14:08:04 +09:00
Ethan Lin
e853c9b0a6 Bug 1364830 - Fix background image layer's draw result and image flags. r=mattwoodrow 2017-05-16 10:44:49 +08:00
Kartikaya Gupta
7ae24a697f Bug 1363683 - Some box shadow tests changed in behaviour, need fuzzing. r=jrmuizel
Unknown WR cset (WR was broken on LLVMpipe for a big range of changesets, and this
happened somewhere in that range, so it wasn't easy to bisect).

MozReview-Commit-ID: Id5kOdgpK9f
2017-05-15 15:14:30 -04:00
Kartikaya Gupta
e3daa416be Bug 1363683 - A fuzzy test changed in behaviour slightly, so adjust the fuzziness parameters. r=jrmuizel
This changed in WR cset 24bf170.

MozReview-Commit-ID: FGiFYk8z1hU
2017-05-15 15:13:43 -04:00
Kartikaya Gupta
35374ded53 Merge m-c to graphics
MozReview-Commit-ID: BYH3uvvu4jz
2017-05-15 09:36:37 -04:00
Carsten "Tomcat" Book
f3f0edd245 merge mozilla-inbound to mozilla-central a=merge 2017-05-15 14:01:17 +02:00
Kartikaya Gupta
85ce3b9a88 Merge m-c to graphics
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Cameron McCormack
3843333d35 Bug 1341102: Update test expectations for servo/servo#16890. r=me
--HG--
extra : rebase_source : afc2761104c692740d066d84f4cc207d4adbf0f0
2017-05-17 12:01:39 +08:00
Carsten "Tomcat" Book
7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00