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

56931 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe f5f3c939eb Bug 1354998 - Update reftest expectations for contain property. r=me
It seems that these three test cases are affetced by scrollbar.

MozReview-Commit-ID: JnPw8EfEyVl
2017-04-24 07:05:53 +09:00
Hiroyuki Ikezoe 17de48f2d1 Bug 1067360 - Skip test-image-layers-multiple-displayitem.html on stylo too. r=jmaher
MozReview-Commit-ID: IkkDNeuksQo
2017-04-24 06:48:10 +09:00
Daniel Holbert 7513e3217b Bug 1358200: Initialize member vars in nsRootBoxFrame init list. r=mats
MozReview-Commit-ID: HqKksokYNrD
2017-04-22 12:07:03 -07:00
Sebastian Hengst 473a1509ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Iris Hsiao 28a432c0ec Backed out changeset 9c7c061b959f (bug 1348173) for hazard busted 2017-04-25 14:24:10 +08:00
Wes Kocher c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Wes Kocher d973551173 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Daniel Holbert a8b0418e9a Bug 1358586: Require comma after <angle>, in -webkit-linear-gradient() CSS syntax. r=heycam
The logic around here is a bit tricky, because -moz-linear-gradient() shares
this codepath. Here's how things were going wrong:

* The -moz-linear-gradient syntax allows an angle (e.g. "30deg") to be followed
  by an optional box-position (e.g. "top right") before eventually requiring a
  comma and then some color stops.
* In contrast, the -webkit-linear-gradient syntax does NOT allow a box-position
  there (unless the box-position is by itself, without an angle).
* So, for -webkit-linear-gradient, we (correctly) skipped the box-position
  parsing code, if we've seen an angle already.
* BUT: in skipping that code, we *also* inadvertantly skipped the code that
  enforces that we eventually see a comma before we get to the color stops.
  So, we incorrectly accept some -webkit-linear-gradient() expressions that are
  missing a comma that really should be mandatory.

So, this patch adds a special case for -webkit-linear-gradient that
preemptively bails if we get an angle that's not followed by a comma. (With
that, we can also simplify the condition around the box position parsing, too.)

MozReview-Commit-ID: B7MQLxqe6D7

--HG--
extra : rebase_source : 0682884e68fbf51d50dc24b1a6a7656cc998ecb2
2017-04-21 14:38:14 -07:00
Geoff Brown 11874fc9ae Bug 1067360 - Skip test-image-layers.html on stylo only; r=manishearth
Avoid stylo-only frequent intermittent failures.
2017-04-21 13:01:20 -06:00
Ethan Lin e7c48eaf73 Bug 1357003 - Keep original layer state for basic layer manager when enabling advanced layer. r=mattwoodrow
--HG--
extra : rebase_source : 75540e18973d788e4e076aa3bdfa8a26036b2269
2017-04-21 23:11:38 +08:00
Kartikaya Gupta 2e1380aecf Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Carsten "Tomcat" Book 975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Iris Hsiao 7aacf33d10 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
Mason Chang c235da7452 Bug 1346487 - Support border clip for webrender borders. r=ethlin 2017-04-20 16:57:27 -07:00
Kartikaya Gupta 47ca6562cc Merge m-c to graphics
MozReview-Commit-ID: 3l2zmVoMgdl
2017-04-20 08:47:24 -04:00
Botond Ballo 66ed3e9795 Bug 1359211 - Handle touch-scrolling of XUL <listbox> in JS. r=bz,dao,kats
The APZ scrolling codepath doesn't do the right thing for <listbox>
without special handling, so have it scroll in JS instead, like we
did in bug 1302736 for <tree>.

MozReview-Commit-ID: LWJCBfhZ3Hc

--HG--
extra : rebase_source : bb8b2f7e713d35822a956e08f4e0eed0557b07b3
2017-04-24 17:12:21 -04:00
Carsten "Tomcat" Book 7aa21f3b53 merge mozilla-inbound to mozilla-central a=merge 2017-04-20 11:13:07 +02:00
Cameron McCormack 6334a97290 Bug 1341102 - Update stylo test expectations. r=me 2017-04-25 11:51:02 +08:00
Hiroyuki Ikezoe e788bc7b46 Bug 1358965 - Drop unnecessary static_cast. r=birtles
MozReview-Commit-ID: 1V1ISqv2uo1

--HG--
extra : rebase_source : 7ca59d60d577c076ad58411e3a05d7d3dec460ed
2017-04-25 12:24:51 +09:00
Hiroyuki Ikezoe 1abf302a6d Bug 1358965 - Don't call UpdateEffectProperties and UpdateTransitions() for null computed values. r=birtles
MozReview-Commit-ID: 9NfR2Dzq92g

--HG--
extra : rebase_source : 55226af51b811afc6b5f821551550d81b344a80f
2017-04-25 11:29:43 +09:00
Iris Hsiao 3b17383f8d Merge mozilla-central to autoland 2017-04-25 11:28:40 +08:00
Boris Zbarsky c496eb135e Bug 1358056. Fix stylesheet handling of associated documents in various edge cases. r=heycam 2017-04-24 15:44:19 -04:00
Botond Ballo 3c8b50b2af Bug 1355376 - Do not use async scrollbar dragging for scroll frames with custom scrollbar mediators. r=mstange
Supporting custom scrollbar mediators would require having custom logic in APZ
for each custom mediator. Since custom mediators are only used by legacy XUL
elements (<listbox> and <tree>) that isn't worth implementing.

MozReview-Commit-ID: KtCUvtiR1qn

--HG--
extra : rebase_source : dfd301da4d6877dd636c9719df46409db260d94c
2017-04-21 19:26:13 -04:00
Wes Kocher 4a05296446 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Timothy Nikkel b9ce833c75 Bug 1358290. Clear nsPluginFrame's old mInnerView before creating a new one. r=mats
This can happen if an instance owner goes away and then comes back.
2017-04-21 17:55:21 -05:00
Mason Chang 3f9800f4d6 Bug 1337761. Mark tests as random-if for intermittent reftest failure. r=kats 2017-04-19 15:42:44 -07:00
Sebastian Hengst e78736fcec Backed out changeset d0ecd711cbc4 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst 114e6952d0 Backed out changeset d12341c804a2 (bug 1302470) 2017-04-21 19:09:11 +02:00
Nicolas B. Pierron c6509f9e01 Bug 900784 part 1.5 - Encode JS bytecode when no more scripts are executed. r=mrbkap 2017-04-21 16:57:58 +00:00
Sebastian Hengst 37d7b65041 merge mozilla-central to mozilla-inbound. r=merge a=backout 2017-04-21 18:36:31 +02:00
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
Sebastian Hengst 4b2cbe9ca3 Backed out changeset 3ccf396a61fe (bug 1349418)
MozReview-Commit-ID: 8VeAi8IOAl4
2017-04-21 17:59:43 +02:00
Carsten "Tomcat" Book 248cf7f04f Merge mozilla-central to mozilla-inbound 2017-04-21 11:43:14 +02:00
L. David Baron 56f6982df5 Bug 1357951 - Update two transforms tests that should now point to css-transforms-2 following the spec split. r=SimonSapin
MozReview-Commit-ID: K8VBj6DaPGY

--HG--
extra : transplant_source : %5DX%0Dk%D9%A8z%D44%A5%CE%DE%01%EB%EF%C4%BB%1C%7D%D9
2017-04-20 11:23:19 +09: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
Kartikaya Gupta 1be864c6ad Merge m-c to graphics
MozReview-Commit-ID: 8Oqr9Nbqsn0
2017-04-19 07:02:32 -04:00
Marco Bonardo 444b7b3de9 Bug 1356440 - Favicons of bookmarks views don't update on visit. r=mrbkap,past,enndeakin
MozReview-Commit-ID: 8j5yLqr7MTc

--HG--
extra : rebase_source : 0da3b4bf0fca0462e22f76c1392f1d9e69f0e71c
extra : amend_source : d6c92db62af2b62671cf13f0b5385b2bc2c8b81e
2017-04-19 11:41:49 +02:00
Carsten "Tomcat" Book 44e9c21039 merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
Andrea Marchesini 8beb8af7d4 Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug
nsIFilePicker.displaySpecialDirectory is a string that can be set to TmpD,
Desk, or any other special directory value. The real value of this directory
will be read in the parent process.
2017-04-26 18:20:19 +02:00
Mats Palmgren ef94ae96c4 Bug 1359205 - Make XUL pseudo values nsICSSAnonBoxPseudo* instead of nsIAtom* and assert that IsTreePseudoElement() got a pseudo tag of the right type. r=bz
MozReview-Commit-ID: G2WFsNV4Fjz
2017-04-26 17:54:43 +02:00
Wes Kocher 61ed56921b Merge m-c to inbound, a=merge 2017-04-18 14:38:53 -07:00
Wes Kocher bcaa07a677 Merge inbound to central, a=merge 2017-04-18 14:35:25 -07:00
Cameron McCormack 57789c06eb Bug 1356601 - Don't force computation of a Variables struct when animations are involved. r=dbaron
Without this change, we can end up asserting in ComputeVariablesData and
crashing in CSSVariableResolver::Resolve due to not finding any variable
declarations on the rules we matched, when we have content like in the
crashtest added here, i.e. variables inheriting into a pseudo like
::first-line and animations on the element inside the ::first-line.

We could solve this alternatively by removing the assertion and making
CSSVariableResolver::Resolve handle a null aDeclarations more gracefully,
but since we can save the effort of recomputing the Variables struct in
this case, we may as well.

MozReview-Commit-ID: 6l06ZF3WGsy
2017-04-18 22:27:04 +10:00
Andrea Marchesini 06cfb4297f Bug 1354599 - Use of DOMEventTargetHelper::KeepAliveIfHasListenersFor in MediaQueryList, r=smaug 2017-04-18 13:53:15 +02:00
Sebastian Hengst b17e2f1d52 merge mozilla-central to autoland. r=merge a=backout 2017-04-21 18:41:49 +02:00
Carsten "Tomcat" Book bb87f43c09 merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
Kartikaya Gupta 9a7952f7f9 Bug 1355475 - Update reftest fuzziness for change in webrender cset e3f6317. r=jrmuizel
MozReview-Commit-ID: 6wmUFyzipmt
2017-04-18 11:18:05 -04:00
Bobby Holley a66b63a3ae Bug 1358375 - Reftest for refreshing the cached booleans. r=bz 2017-04-21 16:54:07 -07:00
Emilio Cobos Álvarez 71bcf77161 Bug 1341102: update expectations for servo/servo#16514. r=emilio
MozReview-Commit-ID: 8UcfhpQMwYp
2017-04-18 18:15:04 +02:00
Jeremy Chen faeea6eb2d Bug 1357350 - update test expectations for reseting longhands of border-image while parsing border shorthand. r=emilio
MozReview-Commit-ID: 9oeav955fpD

--HG--
extra : rebase_source : de0cdff6092b0ea99d937f6bbb3126b20025a0d6
2017-04-23 16:30:29 +08:00
Nazım Can Altınova 8a3426cc20 Bug 1354998 - stylo: Update test expectations for contain property r=emilio
MozReview-Commit-ID: 4B570Lb5Auu

--HG--
extra : rebase_source : 03f8828344420a87b52521ef88471026fe822044
2017-04-23 01:47:21 +03:00
Joel Maher c4f7faa0ae Bug 1352942 - Intermittent css-grid/grid-whitespace-handling-1b.xhtml. marks as fails. r=hiro
MozReview-Commit-ID: C3CuW2JWcGU
2017-04-19 08:11:51 -04:00
Wes Kocher bf5532bb36 Bug 1341102 - Mark shadow-dom-1.html and mstyle-1.xhtml as random on stylo since they're still randomly failing on opt builds a=bustage
MozReview-Commit-ID: H0mRfkfeNDk
2017-04-27 15:45:46 -07:00
Wes Kocher 77e3b38eeb Bug 1341102 - Update expectations so mstyle-1.xhtml only fails on debug a=bustage
MozReview-Commit-ID: KYtyjbEoehd
2017-04-27 15:07:55 -07:00
Wes Kocher ec58905189 Bug 1341102 - Update expectations a=bustage
MozReview-Commit-ID: 2RO4GHQHuzs
2017-04-27 14:06:54 -07:00
Wes Kocher a463bb4c4c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Emilio Cobos Álvarez b27ac0ada8 Bug 1360157: Assert that a display: contents child always has a parent. r=mats
MozReview-Commit-ID: Cyif2yCFu5

--HG--
extra : rebase_source : e32f308c4772507d549f7804b461d3fbecdfe4b6
2017-04-27 12:36:07 +02:00
Sebastian Hengst 3e327c65cd Backed out changeset e0f41e4a4bc4 (bug 1344132) for failing reftest reftest-opaque-layer-fail.html. r=backout on a CLOSED TREE 2017-04-26 13:15:29 +02:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst 88c73138b1 Backed out changeset 4d8dfee7ebf3 (bug 1351548) 2017-04-26 13:12:59 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu 0673a3e783 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: 3GHNhi3gdg9
2017-04-26 18:21:48 +08:00
Shing Lyu dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Shing Lyu f8f23bfc86 Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=heycam
MozReview-Commit-ID: 3BpOWa9lEat
2017-04-26 18:21:39 +08:00
Carsten "Tomcat" Book 68e9a2dfd5 Merge mozilla-central to mozilla-inbound 2017-04-26 09:04:59 +02:00
Carsten "Tomcat" Book 8f4e4ca99b merge mozilla-inbound to mozilla-central a=merge 2017-04-26 08:41:31 +02:00
Mike Conley 196e3f85b9 Bug 1357169 - Make radio-stretched reftest pass expectedly, and disable two reftests for Android. r=mats
MozReview-Commit-ID: A5zHwXl2euQ

--HG--
extra : rebase_source : 7c4db21d2183fee5a3144f1ad689dff282f04bba
2017-04-24 22:59:28 -04:00
Manish Goregaokar 096df01180 Bug 1356275 - Assert that we're on the main thread in the unused and unsafe Gecko_GetFontMetrics ; r=bholley
MozReview-Commit-ID: LGu8mdFMq9

--HG--
extra : rebase_source : 88cc01b15b9ba0ae6b4a5d1fe8fd0661c222c072
2017-04-14 10:44:00 +08:00
Manish Goregaokar 0fbbeaac11 Bug 1349417 - Part 10: Use mutex to guard system font computation; r=bholley
MozReview-Commit-ID: CBKdItjolm9
2017-04-21 15:41:02 -07:00
Manish Goregaokar ff68276c10 Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-21 15:40:49 -07:00
Manish Goregaokar 9511e12b7f Bug 1349417 - Part 2: stylo: Add basic system font support, use for font-size and font-family; r=xidorn
MozReview-Commit-ID: 4ZMR83GkAZN
2017-04-21 15:40:44 -07:00
Manish Goregaokar 876120ea51 Bug 1349417 - Part 1: stylo: Factor out system font computation into nsRuleNode::ComputeSystemFont; r=xidorn
MozReview-Commit-ID: KfzzCodvLXd
2017-04-21 15:40:40 -07:00
Wes Kocher 2bb10d8b72 Bug 1341102 - Remove empty failure annotations. a=me
MozReview-Commit-ID: 5AdiHyaVMBn
2017-04-21 14:42:44 -07:00
Wes Kocher ed9d7c6110 Bug 1341102 - Update expectations a=me
MozReview-Commit-ID: 2FwO7VbD2M7

--HG--
extra : rebase_source : aa2f75adb579e0e6fe88115f179e050cd7cb8629
extra : amend_source : 7fc4d9d1c44acf226b7bec528fc2e6dabebcd076
2017-04-21 14:29:40 -07:00
Emilio Cobos Álvarez 0f424ea1d6 Bug 1331047: Update test expectations. r=emilio
MozReview-Commit-ID: Lo62Wxd1WZ7
2017-04-27 17:17:08 +02:00
Emilio Cobos Álvarez 689b8d5205 Bug 1331047: Look at the style with animations in ResolveStyleLazily. r=hiro
MozReview-Commit-ID: 1p4D5p0jymb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-27 17:06:30 +02:00
Emilio Cobos Álvarez 64fb6d73e1 Bug 1331047: Fix test_animations_event_order.html so that we actually have pseudo-elements. r=hiro
Took me more time than what I'd like to admit to figure this out.

MozReview-Commit-ID: FpphYwxAVC2
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-27 17:06:21 +02:00
Emilio Cobos Álvarez d77548d239 Bug 1331047: Implement the new traversal semantics for stylo. r=bholley,hiro
MozReview-Commit-ID: 4BXx9JpGZKX
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-27 17:06:11 +02:00
Chris H-C c2c97d341c bug 1357457 - Report non-overlapping Input Responses to Telemetry. r=bsmedberg,masayuki data-r=bsmedberg
Say there's a single lag event, a GC or a busy loop, during which the user
types several characters.

Is this one (lag) event? Several (input) events?

We have INPUT_EVENT_RESPONSE_MS which will accumulate several lagged events in
this case. However, that is more of an indication of how users use Firefox than
how good we've been at eliminating sources of lag.

INPUT_EVENT_RESPONSE_COALESCED_MS records the coalesced time spend waiting for
responses to input events. So in this case it will record one value for the
entire duration of the lag.

MozReview-Commit-ID: H5rYnhwF0q3

--HG--
extra : rebase_source : b9be179dac6c6a007d2835b909ec4ce71a3f1c90
2017-04-19 15:53:30 -04:00
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Emilio Cobos Álvarez ac51e27e7f Bug 1359779: Also look at pseudo frames in nsComputedDOMStyle::DoGetStyleContextNoFlush. r=heycam
MozReview-Commit-ID: IvAehgyv18T

--HG--
extra : rebase_source : 402256a885c9f787f2fcfacb07a27a9db679fafb
2017-04-26 13:54:44 +02:00
Masatoshi Kimura a4c9e326d4 Bug 1358758 - Use CSSIntRect for nsIFrame::GetScreenRect. r=kats
MozReview-Commit-ID: KXPL1ERbFDa

--HG--
extra : rebase_source : 263b18d1736b09bb62d914f066481281966b288c
2017-04-25 07:33:13 +09:00
Hiroyuki Ikezoe 9d02da70b5 Bug 1341102 - Update mochitest expectations for transition shorthand fix. r=me
MozReview-Commit-ID: FL9r4TpNpRe
2017-04-23 06:23:41 +09:00
Emilio Cobos Álvarez 6274a34dce Bug 1358570: Make PurgeCompletedTransitions lookup the correct animation collection. r=hiro
Probably GetAnimationCollection itself should assert against it, but that's a
bigger task right now...

MozReview-Commit-ID: JxFWXtgMAXy

--HG--
extra : rebase_source : 90ffd33e56dd8d285765bc7a06572b0ae229b5e7
2017-04-21 16:53:21 +02:00
Bobby Holley 20d4e6d89f Bug 1341102 - Remove empty failure annotations. r=me
MozReview-Commit-ID: 1sPa0ppG45T
2017-04-21 13:48:35 -07:00
Wes Kocher bfd021657e Bug 1341102 - Update expectations a=me
MozReview-Commit-ID: EmcPeWPA2hz
2017-04-21 13:26:49 -07:00
Luis de Bethencourt da3a2f5255 Bug 1357932 - Add test for box-position keyword ordering, in serialization of specified CSS gradients. r=dholbert 2017-04-27 17:00:46 +01:00
Luis de Bethencourt 0114f51efb Bug 1357932 - Make AppendCSSGradientToBoxPosition() output horizontal keywords first, for better interop. r=dholbert 2017-04-27 14:48:42 +01:00
Carsten "Tomcat" Book e2b810f97e Merge mozilla-central to mozilla-inbound 2017-04-19 10:49:57 +02:00
Matt Woodrow 438790335b Bug 1351412 - Make the ContainerState AGR cache work even for non-async scrollable AGRs. r=mstange
--HG--
extra : rebase_source : 2875fc0c55a4020dbb3979b741fb4fa378a1642d
2017-04-19 15:39:17 +12:00
Hiroyuki Ikezoe 8ee98fd844 Bug 1352628 - Skip clipped-animated-transform-1.html. r=boris
The test case is supposed that transform transition runs on the compositor.
We can't enable this test until bug 1334036 is fixed.

MozReview-Commit-ID: 6zakBP7tjhs

--HG--
extra : rebase_source : ae4b0e80c5a655dc4ce27cc0945cb7cea2d0cab1
2017-04-21 06:48:26 +09:00
bechen d116c9373e Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7

--HG--
extra : rebase_source : 93a63954d5b64cb8a33de1ce560da8f97a5a2001
2017-04-17 17:27:23 +08: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
Boris Chiou 14c973b7b3 Bug 1355758 - Update RestyleManager::mAnimationGeneration for non-animation update. r=heycam
We use RestyleManager::mAnimationGeneration as the animation index of a
new created transition, and Element.getAnimations() uses this index to
sort the order of transitions. We increase mAnimationGeneration one per
restyle cycle if there is any non-animation update.

MozReview-Commit-ID: KmirBzI7CXi

--HG--
extra : rebase_source : 6a9001ea99f86c25b1d8d0a822b51b8753248bfb
2017-04-21 16:44:17 +08:00
Iris Hsiao 7e2d844c6e Merge mozilla-central to autoland 2017-04-24 14:28:11 +08:00
Cameron McCormack 7369a05566 Bug 1241623 - Update stylo test expectations. r=me 2017-04-24 10:34:26 +08:00
Iris Hsiao 8b9629d52e Merge mozilla-central to mozilla-inbound 2017-04-24 12:04:12 +08:00
Jim Mathies 6d7dfb905e Bug 1351676 - Enable a reftest this work fixes. r=RyanVM
MozReview-Commit-ID: DdIG5r5IYd9

--HG--
extra : rebase_source : e03b01b14624d09030c23fccb56b14aa4deb4053
2017-04-20 13:03:15 -05:00
Shih-Chiang Chien 87439de51d Bug 1357327 - use ImgIRequest.boostPriority for increasing loading priority in nsImageFrame::Init. r=tnikkel
MozReview-Commit-ID: IpTZeMzllTZ

--HG--
extra : rebase_source : 32ead6461da653c8bc703d006d839395a8078387
2017-04-18 16:38:23 +08:00
Tom Tromey 6bbb235ebc Bug 1334302 - use MOZ_FORMAT_PRINTF in nsCSSRenderingBorders.h; r=mattwoodrow
Add MOZ_FORMAT_PRINTF to the definitions of PrintAsFormatString in
nsCSSRenderingBorders.h.

MozReview-Commit-ID: 9ZcSgNIPPhM

--HG--
extra : rebase_source : e2c3f86ac58835c0bdaf442f45fee25db99e52a6
2017-04-26 14:59:15 -06:00
Carsten "Tomcat" Book 6f04d66b74 Merge mozilla-central to autoland 2017-04-28 13:45:47 +02:00
Xidorn Quan 3b7a0c0e74 Bug 1355394 part 4 - Adjust test expectations. r=heycam
MozReview-Commit-ID: 9Xm6HVb5yge

--HG--
extra : rebase_source : 3e5f068a628726bbb2ad38b8cc97cd71d8b012a9
2017-04-26 19:41:01 +08:00
Xidorn Quan a82f5a5ae1 Bug 1355394 part 3 - Implement CSSOM support for @supports. r=heycam
MozReview-Commit-ID: AV1t6mIFF0J

--HG--
extra : rebase_source : b69ba50070290aef27dfe00866da8a59d3c8520f
2017-04-26 15:59:29 +08:00
Xidorn Quan 3c5ec261f5 Bug 1355394 part 2 - Move GetRules function into macro. r=heycam
MozReview-Commit-ID: AlQ5os4s26v

--HG--
extra : rebase_source : 49d19b5915cb38a1809d54f0aee9a2825f604eef
2017-04-26 15:57:57 +08:00
Xidorn Quan 1489bc2c0e Bug 1355394 part 1 - Add separate CSSSupportsRule base class. r=heycam
MozReview-Commit-ID: 3rCRn6YQ8Gx

--HG--
extra : rebase_source : 657d41029e65c647f7ea92c2cb34126496015e88
2017-04-26 16:55:36 +08:00
Jonathan Watt e08760adb5 Bug 1359449 - Remove NS_NewPagePrintTimer. r=mstange
MozReview-Commit-ID: 3SkqE086Ake
2017-04-06 18:07:39 +01:00
Jonathan Watt 40205887ee Bug 1359486 - Fix SVGImageContext::MaybeStoreContextPaint to work with DevTools chrome. r=dholbert
MozReview-Commit-ID: 7TL9cfWsiED
2017-04-05 11:44:16 +01:00
Sebastian Hengst e55101c5c8 Backed out changeset 85d3d629fa4a (bug 1359486) for crashing in 480345-1.html. r=backout 2017-04-25 19:44:03 +02:00
Jonathan Watt 1ba9dbe74f Bug 1359486 - Fix SVGImageContext::MaybeStoreContextPaint to work with DevTools chrome. r=dholbert
MozReview-Commit-ID: 7TL9cfWsiED
2017-04-05 11:44:16 +01:00
Mike Conley e29ff0c701 Bug 1357169 - Remove parts of flexbox-align-self-baseline-horiz-3 reftest that are broken by the backout of bug 418833. r=mats
MozReview-Commit-ID: H0tmuypTMbg

--HG--
extra : rebase_source : 392c11c63d1400cbffc535e8f80a9eb88d14461e
extra : source : c8a0dd29b2bb48f68c04090639f99888c187c027
2017-04-03 14:17:40 -04:00
J. Ryan Stinnett 417b2f5faa Bug 1359603 - Update test expectations. r=me
MozReview-Commit-ID: 900CmDa2JcE
2017-04-27 13:01:28 -05:00
J. Ryan Stinnett 6251d8b696 Bug 1359603 - Set text combined bit on the context for Servo as well. r=heycam
We want to set style bits on `nsStyleContext` regardless of which engine is
providing the style source.  The moves the bit set up to `SetStyleBits` which
runs for both sources.

MozReview-Commit-ID: 8N6oUyxz1Xs
2017-04-27 13:01:28 -05:00
Emilio Cobos Álvarez c083216e60 Bug 1341102: Update expectations for gradient interpolation hints (servo/servo#16628). r=emilio
MozReview-Commit-ID: FJ2Eci14i4f
2017-04-27 18:55:00 +02:00
Mike Conley 73847411fd Bug 1357169 - Manual back out of changeset eecb0af8a88f (bug 418833). r=mats
This also puts the Gecko-drawing of the checkbox / radio frames inside
nsGfxRadioControlFrame and nsGfxCheckboxControlFrame behind the
MOZ_WIDGET_ANDROID pragma for now.

MozReview-Commit-ID: BEyRfEmwjZY

--HG--
extra : rebase_source : fe42a65f55d822a2c7babd95898ec7520cc01616
extra : source : 9e2440ee6715204e88c7ae709a96ef7e1f707bdc
2017-03-31 09:47:57 -04:00
Mike Conley 2100fecd36 Bug 1357169 - Back out changeset b55a8d9517c8 (bug 1320809). r=mats
MozReview-Commit-ID: LCiH5P1L7bD

--HG--
extra : rebase_source : ec948746b4b1d16883e96126df3b6d1f72fa18fe
extra : source : 5322792c38b32f60dd2e205cddc79cb019e806ff
2017-03-31 09:46:25 -04:00
Bobby Holley ec12dfdca7 Bug 1348802 - Update test expectations. r=me 2017-04-25 17:23:23 -07:00
Emilio Cobos Álvarez ff655e4906 Bug 1355351: Update stylo test expectations due to missing pseudo-element style updates. r=emilio
MozReview-Commit-ID: 7GxLedWwdXw

--HG--
extra : rebase_source : f6df2b4d0919b9c090dfe2052e80f55609a4a830
2017-04-25 17:53:46 +02:00
Emilio Cobos Álvarez 6fe2b3e89d Bug 1355351: Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos. r=heycam
This also happens to fix other bugs, like making display: contents pseudos
animatable, which weren't before.

MozReview-Commit-ID: LhwTPNbFvSZ

--HG--
extra : rebase_source : 785105b08d6bfa15ad257e61b769a263c6810ad0
2017-04-19 12:53:57 +02:00
Emilio Cobos Álvarez 135c333511 Bug 1355351: Clean up pseudo-element props. r=heycam
MozReview-Commit-ID: JZAhEN3chPs

--HG--
extra : rebase_source : f5756182a9ad35b6ac73a6f4d022c1f93ccbf333
2017-04-19 10:27:33 +02:00
Emilio Cobos Álvarez a47ba261fc Bug 1355351: Look for the frame for ::before and ::after pseudos. r=heycam
MozReview-Commit-ID: 7Hm2IGsl323

--HG--
extra : rebase_source : 4e55234e433cbe732b0ceaf9c1f8318b5c6b4640
2017-04-16 22:59:29 +02:00
Emilio Cobos Álvarez de9ddcaddd Bug 1355351: Add a node property to access the ::before and ::after pseudo-elements. r=heycam
MozReview-Commit-ID: FJxJp2U0Lxh

--HG--
extra : rebase_source : 062f952aafcda95ca3b0eba69389999c20cb4458
2017-04-16 17:29:49 +02:00
Manish Goregaokar ed8b20527d Bug 1341102 - Update test expectations; r=emilio
MozReview-Commit-ID: JyT97bbnyLa
2017-04-25 15:08:02 -07:00
Daniel Holbert 2a04b01eb4 Bug 1357117 followup: update stylo-failures.md for test_specified_value_serialization.html changes. a=me
MozReview-Commit-ID: 8NS9fXfZ4iD
2017-04-25 13:53:08 -07:00
Wes Kocher e6b22abf42 Bug 1357117 - Update stylo expectations a=me
MozReview-Commit-ID: AHo80HbOgj1
2017-04-25 13:07:57 -07:00
Daniel Holbert 5f50f9f8fe Bug 1357117 part 3: Serialize -webkit-linear-gradient() expressions using the (less-expressive) -webkit-linear-gradient syntax, instead of -moz-linear-gradient. r=heycam
Specifically:
* This patch uses a flag added in a prior patch to let us use the author's
  chosen prefix (-webkit or -moz) when serializing.  (We treat the -moz version
  as a special case, because that makes it more straightforward to unsupport
  -moz if/when we can.)
* This patch makes us share the linear-gradient() side-or-corner serialization
  codepath when serializing points for -webkit-linear-gradient. (The
  alternative is the -moz-linear-gradient codepath, which defaults to
  serializing with percent values 0%/100% for sides & corners -- and raw
  percentages are invalid in -webkit-linear-gradient(), so we can't share that
  codepath.) Notably, we have to skip the "to " token that the
  linear-gradient() codepath would normally print out -- that was a late
  addition to the spec and so it only exists in the unprefixed modern syntax.
  (Instead, -webkit-linear-gradient syntax is implicitly "from" the given
  point).


MozReview-Commit-ID: 9Oqo8nG1XDU

--HG--
extra : rebase_source : b15218d9cd97d3371e89365fc472d0bcd2672861
2017-04-25 11:48:41 -07:00
Daniel Holbert 4613644133 Bug 1357117 part 2: Add flag to distinguish between -moz & -webkit prefixed gradient expressions. r=heycam
This patch doesn't change our behavior -- we won't actually act on the new flag
until the next patch in this series.

MozReview-Commit-ID: EONsLM54eG1

--HG--
extra : rebase_source : cabd4a140d575794a8a656c47692bb9d3a02de88
2017-04-25 11:48:39 -07:00
Daniel Holbert f77ada324d Bug 1357117 part 1: Change linear-gradient serialization code to group space separator with the "to" token. r=heycam
This patch doesn't change our behavior -- we'll still produce the same serialization that we would've before.

MOTIVATION: A later patch will make us share this codepath to serialize into
-webkit-linear-gradient() syntax.  That syntax uses the same representation for
points as unprefixed modern linear-gradient() (with box-side-or-corner keywords
"top", "right", etc.), but it does *not* use the word "to".  So we'd like to
allow "to"-and-its-subsequent-space-character to be optional. Hence, this patch
groups the space together with "to", rather than as a prefix on the next token,
so that we can skip right to printing the point (without a leading space)
when we add support for -webkit-linear-gradient() serialization.

MozReview-Commit-ID: 5fCzx4NmpcC

--HG--
extra : rebase_source : 9f8b5c801b2f4352dd2ace3b79c40edb1795b361
2017-04-25 11:48:37 -07:00
cku 015e4aa234 Bug 1351015 - Not assuming nsStyleImage::ComputeActualCropRect always return true. r=heycam
nsStyleImage::ComputeActualCropRect may return false under 4 conditions
1. mType is not eStyleImageType_Image.
   This function is design to be used when mType is eStyleImageType_Image.
   Replace this 'if' check by MOZ_ASSERT.
2. nsStyleImage::GetImageData() returns nullptr
   This function will return true if this image refers to a local-ref resource.
3. GetImage returns failure or does not return a valid imgIContainer.
   It's possible. Please refers to the comment in imgReqestProxy::GetImage
   at [1].
4. imageSize is empty
   It's possible too. By giving a malformed image to a style image, we will hit
   this condition. And this is right what we met in this bug.

Since ComputeActualCropRect may actaully return false, we should remove the
NS_ASSERTION that assume it will always return true.

[1]
https://hg.mozilla.org/mozilla-central/file/7f1f1559cd8d/image/imgRequestProxy.cpp#l513

MozReview-Commit-ID: KHTFQJjiLtT

--HG--
extra : rebase_source : c4e119dd250094115ab23c323ca49f9ebc296698
2017-04-22 03:28:20 +08:00
Morris Tseng 17ca3b4db0 Bug 1358066 - Remove the painted layer invalidate region calculation if the painted layer has been optimized to color or image layer. r=mattwoodrow
MozReview-Commit-ID: KuwROm4DGk6
2017-04-21 15:27:48 +08:00
Mats Palmgren a33f36d036 Bug 1350925 part 3 - [css-grid] Reftest.
MozReview-Commit-ID: ITGh6urXXro
2017-04-18 22:35:05 +02:00
Mats Palmgren 9dc89e761d Bug 1350925 part 2 - Assert that we're given clean ReflowOutput overflow areas in ReflowChild. rs=dholbert
MozReview-Commit-ID: 1rRcC76jWxN
2017-04-18 22:35:05 +02:00
Mats Palmgren 5a8f74cd29 Bug 1350925 part 1 - Reset the scrolled frame's ReflowOutput overflow areas before re-using it for another child reflow. r=dholbert
MozReview-Commit-ID: Ct57seTFsaj
2017-04-18 22:35:05 +02:00
Mats Palmgren 5b360db4f2 Bug 1348857 part 4 - [css-grid] Reftests for grid items that stretch with no Automatic Minimum Size.
MozReview-Commit-ID: 2seF05eqC2W
2017-04-18 22:35:04 +02:00
Mats Palmgren 15a9399d44 Bug 1348857 part 3 - [css-grid] Only apply Automatic Minimum Size when the ApplyAutoMinSize bit is set, otherwise the minimum size is zero unless specified. r=dholbert
MozReview-Commit-ID: 40Rgcj0YZMm
2017-04-18 22:35:04 +02:00
Mats Palmgren c02d9817f3 Bug 1348857 part 2 - [css-grid] Propagate the ApplyAutoMinSize bit to nsFrame::ComputeSize (idempotent patch). r=dholbert
MozReview-Commit-ID: DBU4hDfCAdE
2017-04-18 22:35:04 +02:00
Mats Palmgren a243aa1c80 Bug 1348857 part 1 - [css-grid] Add a bit on GridItemInfo that says if we should apply Automatic Minimum Size or not (idempotent patch). r=dholbert
This renames ShouldClampMinSize to ShouldApplyAutoMinSize, which is more
accurate, and caches the value on the grid item for later use.
No functional changes other than that.

MozReview-Commit-ID: E1mvBZsMIxh
2017-04-18 22:35:04 +02:00
Mats Palmgren dc68da3cd9 Bug 1356820 part 2 - [css-grid] Reftests.
MozReview-Commit-ID: 5Q9hmoJhSxH
2017-04-18 22:35:04 +02:00
Mats Palmgren 0612b78b82 Bug 1356820 part 1 - [css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size. r=dholbert
The COMPUTE_SIZE_SHRINK_WRAP flag inhibits stretching in the inline axis
which means the item won't shrink below its min-content size.  In this
case min-width:0 should allow it to do that and since the column size is
smaller it should shrink, which in turn affects the measured block size.

MozReview-Commit-ID: AxQcMkYrxS5
2017-04-18 22:35:04 +02:00
Kartikaya Gupta 9945c16d87 Merge m-c to graphics
MozReview-Commit-ID: 9Ne0XZtlRh5
2017-04-18 08:36:05 -04:00
Ethan Lin 0e0ea44db7 Bug 1349500 - Add webrender support for BulletFrame path type. r=mchang 2017-04-18 14:26:41 +08:00
Kartikaya Gupta d4267ba58d Bug 1357189 - Some reftests marked as fails-if(webrender) are actually passing with the pre-existing fuzziness annotations. So mark them passing. r=rhunt
MozReview-Commit-ID: E90tLLDIt3j
2017-04-17 19:36:57 -04:00
Kartikaya Gupta 4087e4ae28 Merge m-c to graphics
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
Sebastian Hengst 4bd7a206de merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DZowmCXo7Q
2017-04-17 16:21:05 +02:00
Kartikaya Gupta 1e8738cabb Merge m-c to graphics
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04: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
sotaro a824933324 Bug 1356130 - Change SendImageContainer() as to return Maybe<wr::ImageKey> r=jrmuizel 2017-04-14 09:13:12 +09:00
Kartikaya Gupta b4341d2689 Merge m-c to graphics
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -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
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
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
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
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
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
Cameron McCormack dc932fcd38 Bug 1356510 - stylo: Update test expectations. r=manishearth
MozReview-Commit-ID: H9cunzhaNV

--HG--
extra : rebase_source : 931683d2c76cc81e642865357ffaf68857e0bc21
2017-04-16 22:11:18 +10:00
Kartikaya Gupta 18bf4caba2 Merge m-c to graphics
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Morris Tseng 5cb5800c6b Bug 1347469 - Add support for gradient border. r=mattwoodrow
MozReview-Commit-ID: 7RfVsPFWhlo
2017-04-10 17:27:30 +08:00
Kartikaya Gupta 2c2b0401e3 Merge m-c to graphics
MozReview-Commit-ID: AYIBc0tfd74
2017-04-07 10:11:08 -04:00
Emilio Cobos Álvarez aedc6b5901 Bug 1325878: Update test expectations. r=emilio
MozReview-Commit-ID: 9hsOP3CaCwJ
2017-04-13 00:52:51 +08:00
Ethan Lin 0834f181db Bug 1351242 - Add webrender support for nsDisplayBackgroundImage image type. r=mchang 2017-04-07 14:53:16 +08: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
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
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 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
Mason Chang c6730cfadf Bug 1353906 - Enable box shadows with a uniform border radius in WR. r=rhunt 2017-04-05 09:00:50 -07:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Daniel Holbert 600a5b4a75 Bug 812687 part 10: Skip new mochitest test_flexbox_focus_order.html on mac for now (pending a tweak to give it sane mac focus behavior in followup bug 812687).
MozReview-Commit-ID: 2u3HGdiuK8P
2017-04-05 21:50:26 -07:00
Manish Goregaokar 372552d50a Bug 1341102 - Update stylo reftest expectations ; r=manishearth
MozReview-Commit-ID: 7McIBITzNb2
2017-04-12 15:55:00 +08:00
KuoE0 aad274a424 Bug 1354000 - Update test result. r=heycam
MozReview-Commit-ID: CGNYT256Oph

--HG--
extra : rebase_source : 775739c11e88b1bf00b13de14ac35015f80c5996
2017-04-10 22:32:36 +08:00
Simon Sapin e587edf187 Bug 1355028 - stylo: Add gtest microbenchmarks for CSS parsing performance. r=bholley,froydnj
These can be run with:

    ./mach gtest Stylo.*

Note that running `./mach build` is required after modifying example.css

MozReview-Commit-ID: 8KvhYHgGLfD

--HG--
extra : rebase_source : 30adcc530e2e527b575868d5ff9fdf8cbbf59345
2017-04-10 11:26:15 +02:00
Manish Goregaokar 8854b518a1 Bug 1342596 - Update expectations for absolute length serialization ; r=manishearth 2017-04-12 14:57:20 +08:00
Boris Zbarsky 148f51a721 Bug 1351926. Set the resize flags to false at the beginning of InitResizeFlags, so stale values from an old (incorrect) computed bsize won't keep being propagated in cases when we SetComputedWidth or SetComputedHeight on the ReflowInput. r=dbaron
MozReview-Commit-ID: 56YFAw3KOmi
2017-04-05 23:07:40 -04:00
Daniel Holbert 6f23054538 Bug 812687 part 9: Add tests for "order" property's influence on list-numbering, baseline, and focus order in a flexbox. (no review, test-only)
MozReview-Commit-ID: EEkPlCgzknG

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001b.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001b.html
2017-04-05 19:31:48 -07:00
Daniel Holbert 754dd1bf03 Bug 812687 part 8: Add a test for "order" on flex items with abspos siblings. r=mats
MozReview-Commit-ID: aCBQER5r2G

--HG--
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_abspos.html
2017-04-05 19:31:48 -07:00
Daniel Holbert 7d9d8415dc Bug 812687 part 7: Minor cleanup in existing test_flexbox_order mochitests. (no review, test-only)
This patch:
 - does s/var/let/ to upgrade to modern JS best-practices.
 - Wraps some lines that are too long.
 - Changes loops to "for (let foo of [...])" rather than foreach+function-pointer.
 - Changes some copypasted cleanup code to use a loop instead (which will be especially useful in a forthcoming version of this test that'll add another thing to clean up).

MozReview-Commit-ID: DWK8jFbfqeB
2017-04-05 19:31:47 -07:00
Daniel Holbert c05bf39d8c Bug 812687 part 6: Rename & invert polarity of a flexbox frame-state-bit, for consistency with grid. r=mats
This patch is just flipping some logic in a way that should produce the same
outcome, so it shouldn't affect behavior.

MozReview-Commit-ID: LM4HbJD3D9w
2017-04-05 19:31:47 -07:00
Daniel Holbert 17ef2998db Bug 812687 part 5: Adjust nsFlexContainerFrame to use CSSOrderAwareFrameIterator instead of reordering its child frame list. r=mats
This patch shouldn't change our layout order or paint order for flex items
(though it will change our behavior for the better when an abspos child is
present, as discussed in bug 1345873).

This patch *will* change the tab-index behavior of flex items. Previously, the
default tab order would match the visual order (i.e. it would respect "order"),
because it depends on the frame tree, and we sorted the frame tree by
"order". Now, the tab-index will come from the DOM order (the unmodified frame
tree), as the spec requires.

MozReview-Commit-ID: 9OsqQX1sEn3
2017-04-05 19:31:47 -07:00
Daniel Holbert 047c5e7b26 Bug 812687 part 4: Add an optional parameter which can make CSSOrderAwareFrameIterator use the legacy "box-ordinal-group" property. r=mats
This patch just adds an optional codepath that isn't taken yet, so it shouldn't
affect our behavior. (The next patch in the series will make use of this new
codepath.)

Note: the large code-comment that this patch adds is taken mostly-verbatim from
some nsFlexContainerFrame.cpp code. (The original copy will be removed by the
next patch in this series, when we switch to take advantage of this new
mechanism.)

MozReview-Commit-ID: 9pkJ346rrXg
2017-04-05 19:31:47 -07:00
Daniel Holbert d6f3c58c61 Bug 812687 part 3: Move CSSOrderAwareFrameIterator code to its own .h/.cpp file. r=mats
This patch just moves code, so it should not affect our behavior at all.

MozReview-Commit-ID: 4yxSR5rWUV1
2017-04-05 19:31:47 -07:00
Daniel Holbert 9a4b6b6d74 Bug 812687 part 2: Rename GridItemCSSOrderIterator to CSSOrderAwareFrameIterator (& similar for its Reverse form). r=mats
This patch is purely type-renames, so it should not affect our behavior at all.

MozReview-Commit-ID: 51zRGFyVDtT
2017-04-05 19:31:47 -07:00
Daniel Holbert db6436ab45 Bug 812687 part 1: Rename GridItemCSSOrderIteratorT to CSSOrderAwareFrameIteratorT, and drop "Grid" from its method names. r=mats
This patch is purely type-renames & method-renames, so it should not affect our
behavior at all.

MozReview-Commit-ID: 5N7zru0uPfD
2017-04-05 19:31:47 -07:00
Emilio Cobos Álvarez 49654bf1af Bug 1325878: Simplify MediaList creation. r=xidorn
MozReview-Commit-ID: Jre50YpuD7F
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:12 +08:00
Emilio Cobos Álvarez f7cf08128a Bug 1325878: Pass the MediaList down to Servo, making <style media> work. r=xidorn
MozReview-Commit-ID: BUCSQJs2CNI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:10 +08:00
Emilio Cobos Álvarez 6ec12dc4f5 Bug 1325878: Don't hardode nsMediaList in dom::StyleSheet. r=xidorn
MozReview-Commit-ID: IynF1NFUSLf
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:09 +08:00
Emilio Cobos Álvarez 75a86d5f3c Bug 1325878: Support deep-cloning of ServoMediaLists. r=xidorn
MozReview-Commit-ID: K7NFe1tKrAZ
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:07 +08:00
Emilio Cobos Álvarez ac4f44ca96 Bug 1325878: Don't use nsMediaList for loading imports. r=xidorn
MozReview-Commit-ID: HR23bqZcmcA
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:06 +08:00
Emilio Cobos Álvarez c0d9b6a9d7 Bug 1325878: Use dom::MediaList in the CSS Loader. r=xidorn
MozReview-Commit-ID: 8KcKYrkk3jI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:05 +08:00
Emilio Cobos Álvarez 16cd642c17 Bug 1325878: Create less hardcoded nsMediaList instances. r=xidorn
MozReview-Commit-ID: K6T3MM1ZrFb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:03 +08:00
Emilio Cobos Álvarez 3cb9f7d4fb Bug 1325878: Allow creating empty Servo MediaList. r=xidorn
MozReview-Commit-ID: H7owjPB8dRi
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:01 +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
Xidorn Quan d16d2b8864 Bug 1341102 - Update test expectations.
MozReview-Commit-ID: 8keD8rcYFIa

--HG--
extra : rebase_source : a5a1433d1458e08136baabbd63ac59d291768bff
2017-04-13 00:27:25 +08:00
Cameron McCormack e49f2eede5 Bug 1356125 - stylo: Update test expectations. r=emilio
MozReview-Commit-ID: 6cU2r50REn9
2017-04-13 14:32:07 +08:00
J. Ryan Stinnett 7f0b8b2dd6 Bug 1345206 - Wire up bindings for @page rule. r=xidorn
Connect the Servo types and functions for working with @page rules to Gecko.

This also adjusts the Stylo test expectations to match the current state with
@page support.

MozReview-Commit-ID: 513d05m51wK

--HG--
extra : rebase_source : aa92dc1ad4b3949418759b3893a918663ec6ee0c
2017-03-30 21:25:22 -05:00
J. Ryan Stinnett 7a5e0808ba Bug 1345206 - Create ServoPageRule. r=xidorn
Adds `ServoPageRule` for use as the CSSOM representation of @page rules parsed
by Servo.

MozReview-Commit-ID: 7AIErJmoZN

--HG--
extra : rebase_source : f47448b9053e6a49023799631ca1d36f058272f4
2017-03-31 16:13:12 -05:00
J. Ryan Stinnett 0ccdacdf3a Bug 1345206 - Extract CSSPageRule base class. r=xidorn
Extract a `CSSPageRule` base class from the existing Gecko `nsCSSPageRule`
class.  This will be used in the next commit as the parent of a new
`ServoPageRule` for the Servo variant.

MozReview-Commit-ID: 1F3FWfVKH29

--HG--
extra : rebase_source : 5186cf2e233f3a757676a0127752faa8cc748cd4
2017-03-31 19:14:49 -05:00
J. Ryan Stinnett ef7df34c21 Bug 1345206 - Correct faulty assertions in test_page_parser. r=xidorn
test_page_parser.html tried to check parser behavior with a property that's not
allowed in an @page context, such as `position: absolute`.  However, the test
forgot to apply the @page wrapper for this rule, so we weren't checking the
intended case after all.

MozReview-Commit-ID: LSd3aLwZAST

--HG--
extra : rebase_source : f841fcd1ae7e37eaa928e39e116cd9a6a5385f85
2017-04-03 18:17:09 -05: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
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