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

55554 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe a7825d3c98 Bug 1340958 - Add AnimationValueMap and expose it in FFI. r=heycam
Current Gecko composes all of effects in the composite order at once.
We can put each computed value into this AnimationValueMap every time composing
an effect.

MozReview-Commit-ID: EZdCYedva13

--HG--
extra : rebase_source : 0dc97045f2e5fd9088307fcd1588d9416907ba8e
2017-03-17 13:22:19 +09:00
Hiroyuki Ikezoe a3c9c5051e Bug 1340958 - Do not call EffectCompositor::GetServoAnimationRule for print preview. r=heycam
The only one caller of GetServoAnimationRule is Gecko_GetAnimationRule.
There is no risk that pres context is destroyed in Gecko_GetAnimationRule.

MozReview-Commit-ID: 52pxbCiCNoJ

--HG--
extra : rebase_source : 8000e267d1d5706c709f807e11396dda3579c4dc
2017-03-17 12:48:34 +09:00
Hiroyuki Ikezoe 00ae32a7b2 Bug 1340958 - Do not call get_animation_rules for pseudo elements other than ::before and ::after. r=heycam
MozReview-Commit-ID: FlrT4hIst6U

--HG--
extra : rebase_source : 7cefba0f9353efd8128117f8596a01315937ef6c
2017-03-17 12:48:15 +09:00
Shing Lyu 9a6e19ebfb Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=dbaron
MozReview-Commit-ID: 3XqZGNoqG2h

--HG--
extra : rebase_source : 13204a6c7268c0ac05dbecdbe0435cf765419a53
2017-03-03 14:21:58 +08:00
Carsten "Tomcat" Book e08ad28f77 Backed out changeset 9e40bc33e620 (bug 1346623) for perma leak in chrome-style stylo tests 2017-03-17 08:19:20 +01:00
Carsten "Tomcat" Book 8a5101d371 Backed out changeset 1f9a6ce59a56 (bug 1346623) 2017-03-17 08:18:51 +01:00
cku 99c7a15344 Bug 1346265 - Part 3. Test cases. r=mstange
Since -moz-element is moz only feature, the test case for -moz-element is
created under reftests/image-element folder.

MozReview-Commit-ID: G4V0G3cX7qr

--HG--
extra : rebase_source : f681d64fe4b9331a35fb082c7ed135f58c3f5a9d
2017-03-13 12:47:30 +08:00
cku e17dd9d6ff Bug 1346265 - Part 2. Pass gfxContext to nsImageRenderer::DrawableForElement. r=mstange
It's ok to pass aRenderingContext to DrawableForElement, since DrawableForElement
only use aRenderingContext to create a similiar draw target. Replace
aRenderingContext by ctx make code more consistent since the draw call
bellow(nsLayoutUtils::DrawImage) use ctx.

MozReview-Commit-ID: 6n0nYfcFPui

--HG--
extra : rebase_source : 1374c8b5be9fe5351a5a126e39773c9493cf233d
2017-03-17 12:05:51 +08:00
cku c984ad8338 Bug 1346265 - Part 1. Pass gfxContext to nsCSSRendering::PaintGradient. r=mstange
If mask-mode is luminace, we will create a temporary context at [1]. It's
obvious we do not use this gfxContext at all in PaintGradient path. This patch is
trying to fix this problem by pass gfxContext, instead of RenderingContext,
directly to PaintGraident.

[1] https://hg.mozilla.org/mozilla-central/file/991f5724e58f/layout/painting/nsCSSRendering.cpp#l5811
MozReview-Commit-ID: LLmg4k6IEm3

--HG--
extra : rebase_source : ed42e3f5ddf1314300259c3f74d43aac8b4683de
2017-03-13 12:26:21 +08:00
Xidorn Quan 358e765982 No bug - Update mochitest expectations.
MozReview-Commit-ID: FQtBpgfBtR3

--HG--
extra : source : aa16c1ecccb6e6bd6e16d6f2e72732c0bed845ab
2017-03-17 17:16:52 +11:00
cku a6be5bcf9d Bug 1345853 - Part 3. Reftest. r=tnikkel
MozReview-Commit-ID: 7mXjFSXH2pa

--HG--
extra : rebase_source : bfa2f5013e93c8359933d457a5643528ca8e4aaf
2017-03-16 03:09:04 +08:00
cku 3d3a05d1ee Bug 1345853 - Part 2. If the transform matrix is singular, return DrawResult::SUCCESS, instead of DrawResult::BAD_ARGS r=tnikkel
According to bug 1345853 comment 5, tn said:
You probably want to return whatever was drawn there regardless of the
DrawResult. SVGMaskFrame has the same problem. Keep in mind that DrawResult is
only reporting on how drawing of any images went, not the drawing of anything
else. Also looking over the patches from bug 1258510 I see a couple places where
BAD_ARGS is returned if the transform matrix is singular. We would want to
return SUCCESS in that case I think, because we drew what we were instructed to
draw.

MozReview-Commit-ID: 5XcDuKQwXTJ

--HG--
extra : rebase_source : ba764df599844c9eb179736f61d6c7f6ee46c9fc
2017-03-16 12:06:36 +08:00
cku e2d44c26bf Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : bc338b1a33f1dbf209706577b2455315dfb855e2
2017-03-16 12:17:19 +08:00
cku 37b075adea Bug 1343664 - Part 2. Reftest. r=mstange
MozReview-Commit-ID: GZDKQaLYnUx

--HG--
extra : rebase_source : 0907d2507067f1603f55244fe646be9441aa98ad
2017-03-06 16:04:20 +08:00
cku 62104073dc Bug 1343664 - Part 1. Correct transform matrix. r=mstange
MozReview-Commit-ID: Eg6i4SoSPoe

--HG--
extra : rebase_source : d2a5dea5d614e56e673828eb7bd91f736309b8cc
2017-03-06 15:25:29 +08:00
Cameron McCormack 5467aaa4c2 Bug 1346623 - Part 3: Test. r=bholley
MozReview-Commit-ID: 8LOxAPDEuBW

--HG--
extra : rebase_source : 68d8a70210a346f184fb484fdd4f1d81e673c651
2017-03-16 22:47:05 +08:00
Cameron McCormack f21bcc7ed3 Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
MozReview-Commit-ID: K7jcUuz6KI4

--HG--
extra : rebase_source : 85c2939b020e7d4b401382c0d436f16c5af98b5e
2017-03-16 17:43:44 +08:00
Masayuki Nakano 0ef47eccb5 Bug 1347809 Set Selection::mCalledByJS to false before moving focus in NotifySelectionListeners() because non-*JS() methods don't set it to false r=smaug
Currently, Selection::NotifySelectionListeners() moves focus before setting mCalledByJS to false.  Therefore, if moving focus causes some calls of internal Selection methods, it may cause moving focus due to mCalledByJS being still true.  So, mCalledByJS should be set to false before moving focus in NotifySelectionListeners().

MozReview-Commit-ID: F879bOmhZlv

--HG--
extra : rebase_source : 80790d24f1c78d9aeb20e5735e0c7c45111e69b3
2017-03-16 17:15:20 +09:00
Xidorn Quan e5be7ba973 Bug 1341102 - Update stylo mochitest expectation for caret-color. 2017-03-17 14:22:18 +11:00
Bobby Holley 25a6e79a53 Bug 1347399 - Use a thread-safe URI comparison in CalcStyleDifference. r=heycam
MozReview-Commit-ID: Fpb1guCxXUZ
2017-03-16 20:18:57 -07:00
Astley Chen 785a31d171 Bug 1347047 Part 2 - Remove caret timeout control from AccessibleCaretManager. r=TYLin
The feature is controlled by pref layout.accessiblecaret.timeout_ms, and has been disabled in bug 1268410.
It's time to remove relevant code from the tree.

MozReview-Commit-ID: LLu8RiQcTpm

--HG--
extra : rebase_source : 906299afe9fbcb4bad2c74c83f19eb98b8815882
2017-03-17 08:50:30 +08:00
Astley Chen 5d27f09056 Bug 1347047 Part 1 - Remove touch caret timeout test. r=TYLin
MozReview-Commit-ID: 5fVdwVfcxaz

--HG--
extra : rebase_source : a9f459f427cbb3d502c7b2aa2be0d49a6d2f9d95
2017-03-17 08:47:02 +08:00
Matt Brubeck 04463a6104 Bug 1340683 - stylo: Update stylo test expectations r=KWierso
MozReview-Commit-ID: 54PFVqZfaau

--HG--
extra : rebase_source : abda5f644503f09934918538cfaf5e5e33194689
2017-03-16 11:38:33 -07:00
Wes Kocher 1b3ffba4d5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: CtdOO1SeODv
2017-03-16 14:07:44 -07:00
Wes Kocher da9127842f Merge inbound to central, a=merge
MozReview-Commit-ID: IAdEn2C01ye
2017-03-16 13:47:50 -07:00
Bobby Holley d1865bc01a Bug 1341102 - Adjust test expectations after merging #15983. r=me
The PR in question just added some pseudo-classes, and seems to have unearthed
some failures related to our lack of proper visited handling. Annotating.

MozReview-Commit-ID: GcbmWNDgwD0
2017-03-16 11:10:14 -07:00
Sebastian Hengst e43c8a0ce7 Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
Carsten "Tomcat" Book 023d5aecd1 Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Mats Palmgren 5e17bf51d3 Bug 1335806 part 4 - [css-grid] Tweak reftests where 'align/justify-self:normal' now means 'start' for grid items with an intrinsic size / aspect ratio.
MozReview-Commit-ID: AztJxC2cBMR
2017-03-16 15:24:57 +01:00
Mats Palmgren 8052c29bdd Bug 1335806 part 3 - [css-grid] Make 'align/justify-self:normal' behave as 'start' for grid items that have an intrinsic size or aspect ratio. r=dholbert
MozReview-Commit-ID: CZpUEcOCoip
2017-03-16 15:24:57 +01:00
Mats Palmgren 26ed1865cd Bug 1335806 part 2 - Refactor the intrinsic size calculations a bit (idempotent patch). r=dholbert
MozReview-Commit-ID: JRYx7sWFcPA
2017-03-16 15:24:56 +01:00
Mats Palmgren 987c2fde4b Bug 1335806 part 1 - Move the intrinsic size/ratio calculations up a bit (idempotent patch). r=dholbert
MozReview-Commit-ID: 5FWpfyiN0Qa
2017-03-16 15:24:56 +01:00
Mats Palmgren 64e56a0d71 Bug 1346699 part 3 - [css-grid] Additional reftests for min/max-sizes affecting flexible track sizing.
MozReview-Commit-ID: 6NORO1Q7xOE
2017-03-16 13:24:50 +01:00
Mats Palmgren d1da72310f Bug 1346699 part 2 - [css-grid] Don't require 'fr' to be non-zero to apply min/max-size. r=dholbert
The calculated 'fr' value might change in the second round (after
applying min/max-size) even if it's zero in the first round.

MozReview-Commit-ID: 60moiyoWwuo
2017-03-16 13:24:50 +01:00
Mats Palmgren 0f9743bbe7 Bug 1346699 part 1 - [css-grid] Don't require that some (flexible) track size changed to apply min/max-size. r=dholbert
The "origSizes.isSome()" condition on the outer if-block was
a logical mistake.  We should check it before re-assigning
mSizes though (this was the optimization originally intended).

MozReview-Commit-ID: AooUHYKG3jB
2017-03-16 13:24:50 +01:00
Gabor Krizsanits 2fc4ec4086 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-16 11:22:37 +01:00
Mats Palmgren f58f0bee15 Bug 1317149 - Comment out a part of this test that causes to many intermittent failures. r=me
--HG--
extra : rebase_source : 324814b936fc124b161cf57d5feb6be7b869033d
2017-03-15 14:05:00 -04:00
Jeremy Chen 6034613c83 Bug 1347820 - Label ScrollSelectionIntoViewEvent for nsSelection. r=heycam
Since GetParentObject has a chance returning nullptr, we keep the original
code path as a fallback.

MozReview-Commit-ID: LCJefr1ZH6t

--HG--
extra : rebase_source : 16b791d9555e9d3fb6e00233868249cbd08d944f
2017-03-16 15:33:00 +08:00
Hiroyuki Ikezoe a9a15a1807 Bug 1347806 - Fix pseudo nsIAtom for ::before and ::after. r=birtles
cssPseudoElementBeforeProperty and cssPseudoElementAfterProperty are for
CSSPseudoElement.

MozReview-Commit-ID: 3WETv4QeC5

--HG--
extra : rebase_source : b7e902786ca9ebe7c92a573604e15d868c6067a7
2017-03-16 14:01:44 +09:00
Manish Goregaokar 029d0ddc55 Bug 1341102 - Fix failures from -moz-system-metric changes (bug 1341086); r=manishearth
MozReview-Commit-ID: KBnVFQuzoz5
2017-03-16 00:42:40 -07:00
Manish Goregaokar 12b518aef0 Bug 1340696 - stylo: Support system colors; r=heycam
MozReview-Commit-ID: HUfTdcMRoEx

--HG--
extra : rebase_source : 85af717eb521a2c790d3ec7a20c46dd318e4761f
2017-03-15 14:49:35 -07:00
Emilio Cobos Álvarez 4628adf1fb Bug 1346829: Disable intermittent test pending investigation. r=xidorn
MozReview-Commit-ID: JwpTiqNeXHw

--HG--
extra : rebase_source : 38e9cac6084c748951a83bbc2a955ea05e4b17b7
2017-03-15 18:23:07 +01:00
Wes Kocher 1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Wes Kocher 06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Boris Zbarsky a5a69068c1 Fix up stylo mochitest expectations after landing of <8f0c7809d8>. Bug 1341102, r=bustage
MozReview-Commit-ID: Cdqz3pPRxA8
2017-03-15 13:01:53 -04:00
cku 00b08f1df8 Bug 1320036 - Part 2. Reftest. r=jwatt
There are two reftest
filter-region-01.html tests on filtered outer svg element. FF can not pass this
test without Part 2.
filter-region-02.html tests on filtered inner svg element, FF can pass this test
without Part 2. I add this in case we make a mistake in the future.
MozReview-Commit-ID: 1iwQWh0C7DH

--HG--
extra : rebase_source : 4770c99b1b81a593acdd4810fadc34376db93c13
extra : source : 6389fa0ca948dfc988778d2a3b808bb552dd60e3
2017-03-15 18:39:00 +08:00
cku 8f0a57337e Bug 1320036 - Part 1. Correct objectBoundingBox region of a filter applied to an outer SVG element. r=jwatt
MozReview-Commit-ID: 8frACVe2gFE

--HG--
extra : rebase_source : f796c7ae084cc2af0960a0702167fe8211aa083a
extra : source : 43b17a8af53a4684abb4379a3fba95c9d424c77f
2017-03-15 18:36:53 +08:00
Carsten "Tomcat" Book 7decdeb7c8 Merge mozilla-central to autoland 2017-03-15 13:19:12 +01:00
Carsten "Tomcat" Book f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00