Commit Graph

54458 Commits

Author SHA1 Message Date
cku
78af925e0a Bug 1224207 - Part 1. Split SetupContext into ComputeEffectOffset and TranslateToUserSpace. r=mstange
We need ComputeEffectOffset along in the following patch.
MozReview-Commit-ID: GoIZ07IqoQ3

--HG--
extra : rebase_source : d8750a067e436912643f351737d0bdb392036c50
2017-01-23 02:36:41 +08:00
Boris Chiou
8372c2c7f8 Bug 1335942 - Part 6: Implement GetScaleValue for RawServoAnimationValue. r=hiro,manishearth
MozReview-Commit-ID: GnaS44gWmm2

--HG--
extra : rebase_source : 58ee6837c730fd7e54b75e52e48b3f77c8cb805a
2017-02-06 17:54:49 +08:00
Boris Chiou
93878e807e Bug 1335942 - Part 5: Add AnimationValue::GetScaleValue(). r=hiro
Move the common part of GetScaleValue into nsStyleTransformMatrix, and add a
new method, GetScaleValue, on AnimationValue, which can get the scale value from
StyleAnimationValue or RawServoAnimationValue.

MozReview-Commit-ID: 4spi1LkZrWP

--HG--
extra : rebase_source : 81e352edb85c9abb16fb0ef2780ff27c4f264709
2017-02-06 16:32:21 +08:00
Boris Chiou
03d760be1b Bug 1335942 - Part 4: Support transform in SetAnimatable. r=hiro,manishearth
MozReview-Commit-ID: 97aTuUNa1RT

--HG--
extra : rebase_source : 7af2a826bafad0e93b9101a6bd01231311154e23
2017-02-08 11:36:41 +08:00
Boris Chiou
4fdebcb4a3 Bug 1335942 - Part 3: Use AnimationValue as the argument in layers::SetAnimatable. r=hiro,manishearth
MozReview-Commit-ID: 4XnLL6I291q

--HG--
extra : rebase_source : 1edb2bbe678f6ecb900945d8cacb776c138fa834
2017-02-08 11:31:15 +08:00
Boris Chiou
155c2acd50 Bug 1335942 - Part 2: Use mozilla::AnimationValue in AnimationPropertySegment. r=hiro,manishearth
MozReview-Commit-ID: L6U1A223jsa

--HG--
extra : rebase_source : 26d8ec4386443d6526fed2f4926c6e4519e6bbd0
2017-02-04 13:57:08 +08:00
Boris Chiou
13d39b9757 Bug 1335942 - Part 1: Introduce mozilla::AnimationValue. r=hiro,manishearth
Currently, we have StyleAnimationValue for Gecko and
RawServoAnimationValue for Servo, and use this struct to wrap them to
avoid the duplicated code.

MozReview-Commit-ID: ATDBSCOX2C5

--HG--
extra : rebase_source : 85991ef5e23a445ae6302264508d1c06a46c0e29
2017-02-08 11:00:36 +08:00
Xidorn Quan
35f2f9ad03 Bug 1337637 - Release rule when deleting from ServoCSSRuleList. r=heycam
MozReview-Commit-ID: CrVNCTEJ7l6

--HG--
extra : rebase_source : 69473337c5b7833486c3b7d0f3bfe452d950a2ba
2017-02-08 14:19:08 +11:00
Wes Kocher
95ae929bd7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AY7XekuIyIs
2017-02-07 16:56:19 -08:00
Wes Kocher
672c83ed65 Merge inbound to central, a=merge
MozReview-Commit-ID: 5H1ZxSV0XuM
2017-02-07 16:33:31 -08:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Carsten "Tomcat" Book
775c0b6d2b Merge mozilla-central to mozilla-inbound 2017-02-07 14:14:38 +01:00
Carsten "Tomcat" Book
092e5dc5f1 merge mozilla-inbound to mozilla-central a=merge 2017-02-07 14:08:46 +01:00
Cameron McCormack
ba8e011576 Backed out changeset c5d678ebcbcd (bug 1334876) for test failures.
MozReview-Commit-ID: 7lAhjbEiSsd
2017-02-07 11:58:28 +08:00
Cameron McCormack
2a1b706896 Bug 1334876 - Go through the event loop to dispatch FontFaceSet events. r=bz
MozReview-Commit-ID: BX2I7tb25YM
2017-02-07 10:29:27 +08:00
Wes Kocher
2c901c4bcb Merge m-c to inbound, a=merge
MozReview-Commit-ID: FrOiBMr2DHX
2017-02-06 17:51:48 -08:00
Wes Kocher
848c29538a Merge inbound to central, a=merge
MozReview-Commit-ID: 2yQjOIMCCiO
2017-02-06 17:45:21 -08:00
Mason Chang
2618be0754 Bug 1322897. Part 2: Reftest fuzzing for skia dwrite grayscale fonts. r=lsalzman 2017-02-06 10:32:04 -05:00
Tom Tung
e185f7bc4c Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
cku
08b8ea9a74 Bug 1334554 - Handle the return value of nsFilterInstance::PaintFilteredFrame r=mstange
MozReview-Commit-ID: 79gddAmRjnp

--HG--
extra : rebase_source : a5652db96f271c5e367aedda1e2e607bec404fe4
2017-01-28 02:54:38 +08:00
Shih-Chiang Chien
90ec406aed Bug 1335888 - disable native theming for a mochitest's input field, so its click targets can be predictable. r=dholbert
MozReview-Commit-ID: 7NZwSG0grz

--HG--
extra : rebase_source : 2bdb9c4d36de84a6024c46d33c63f7db5ff8f224
2017-02-02 11:42:51 +08:00
Cameron McCormack
caa1468d26 Bug 1334876 - Go through the event loop to dispatch FontFaceSet events. r=bz
MozReview-Commit-ID: 5L9JEtJoaxF
2017-02-07 18:49:28 +08:00
Xidorn Quan
13522a9c3b Bug 1328512 followup 2 - Update expectation of style system tests for stylo. DONTBUILD
MozReview-Commit-ID: 1n2zN1tY79p

--HG--
extra : source : 3f4cfb7fa96300a8abbac0fa64380753fcd78106
2017-02-07 16:45:52 +11:00
Jonathan Watt
ffbfd1bf90 Bug 1333543 - Fix crash in nsRangeFrame::GetValueAtEventPoint on linux. r=mstange 2017-01-17 19:20:37 +00:00
Jonathan Watt
ed3cbebef6 Bug 1335610 - Revert bogus code added to SVGGeometryFrame::PaintSVG in bug 1325865. r=longsonr 2017-01-16 10:04:16 +00:00
Jonathan Watt
28ad9afcfa Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert 2017-01-11 01:48:29 +00:00
Jonathan Watt
e61c653d41 Bug 1058040, part 10 - Allow SVGImageContext to store an SVGContextPaint and have VectorImage propagate it. r=dholbert 2017-01-11 01:48:29 +00:00
Jonathan Watt
527549c4f0 Bug 1058040, part 9 - Add an SVGContextPaint subclass for inheriting context paint into SVG-as-an-image. r=dholbert 2017-01-10 10:28:11 +00:00
Jonathan Watt
43ca85cc9a Bug 1058040, part 8 - Make AutoSetRestoreSVGContextPaint::Init's SVGContextPaint argument const. r=dholbert
This patch is needed because in a later patch we need to pass
VectorImage::Draw's const SVGImageContext to
AutoSetRestoreSVGContextPaint::Init.
2017-01-09 19:12:03 +00:00
Jonathan Watt
de51524080 Bug 1058040, part 7 - Make SVGContextPaint a ref counted class. r=dholbert 2017-01-09 19:12:02 +00:00
Jonathan Watt
927266bad9 Bug 1058040, part 6 - When copying SVGImageContexts use the copy ctor. r=dholbert
Prior to this patch whenever we wanted to pass on a modified SVGImageContext
we would pass on a new object initialized with some of the data of the object
we were given and with the new data we wanted to change.  Unfortunately we
were sometimes failing to faithfully copy member data that we do not want
to modify (because of default arguments).  This patch fixes that by making us
fully copy the object we were given using its copy constructor and then
explicitly override the data we want to change.
2017-01-09 19:12:02 +00:00
Phil Ringnalda
3637182ef8 Merge m-c to m-i 2017-02-05 12:58:04 -08:00
Phil Ringnalda
da9b5c53b7 Merge m-i to m-c, a=merge 2017-02-05 12:56:39 -08:00
L. David Baron
e22752b858 Bug 1209697 followup - Add comment to explain change that might not be clear given existing comments here and in nsChangeHint.h. 2017-02-05 10:26:09 -05:00
Phil Ringnalda
cde93160c2 Merge m-i to m-c, a=merge 2017-02-04 17:05:50 -08:00
cku
386a057848 Bug 1334961 - Turn on clip-path-basic-shapes for paint-on-maskLayer-1c.html. r=mstange
MozReview-Commit-ID: Fohgwy98opM

--HG--
extra : rebase_source : f26eb0b69b6f40a57a54014686aee13b6cfa1b1b
2017-02-05 22:17:45 +08:00
Botond Ballo
a98321305e Bug 1328658 - Notify main thread of a failed attempt to start an APZ scrollbar drag. r=kats,tnikkel
MozReview-Commit-ID: ERm1sVNfoKL

--HG--
extra : rebase_source : 0b57987a2a15533fad577dd2d363ec386f6bfeae
2017-01-27 18:02:22 -05:00
Daniel Holbert
d8d1de0c33 Bug 1336223 followup: Use forward-decl rather than #include to provide mozilla::StyleSheet, in PreloadedStyleSheet.h. (no review)
MozReview-Commit-ID: B7CzULCByvr
2017-02-03 14:00:05 -08:00
Emilio Cobos Álvarez
51e9294d5f Bug 1335987: stylo: Don't use the change hint to decide whether to recreate style contexts. r=bholley
MozReview-Commit-ID: 11Yyq8UE3LP
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-03 22:03:34 +01:00
Kartikaya Gupta
6ab3d0e923 Bug 1298218 - Follow-up to skip APZ-requiring reftests if APZ is not present. r=mstange
MozReview-Commit-ID: JvL1gs3GU4m
2017-02-03 14:15:56 -05:00
Jessica Jong
ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Carsten "Tomcat" Book
e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Hiroyuki Ikezoe
fd06930679 Bug 1332657 - Part 5: Adjust crashtest expectations for transform animations. r=heycam
Actually 1328535-1.html does not have transform animations, it has been passed
without these patches.

MozReview-Commit-ID: C0RcxbjiPVY
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
b34254191f Bug 1332657 - Part 4: Adjust reftest expectations for transform animations. r=heycam
MozReview-Commit-ID: A3O4SONRXSu
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
287d10e9c5 Bug 1332657 - Part 2: Implement clone_transform. r=heycam,manishearth
The implementation of clone_transform is an adaptation of set_transform.

MozReview-Commit-ID: ESE1ha0x666
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
c219cb14f4 Bug 1332657 - Part 1: Use more proper function to set nsCSSValue. r=heycam
MozReview-Commit-ID: 94o9qXXUyXN
2017-02-03 14:41:28 +09:00
Mats Palmgren
020af842d8 Bug 1320972 - Allow a max difference of 1 on Android for 722923-1.html. r=me 2017-02-03 14:58:00 -05:00
Wes Kocher
5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Bobby Holley
c35f772b59 Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00