Xidorn Quan
60ba3c835d
Bug 1294299 part 2 - Use DeclarationBlock for SMIL override style. r=heycam
...
MozReview-Commit-ID: 573o5vmC81z
--HG--
extra : source : c284764640e86b9bf63f976b79aa66252f8b635d
2016-11-03 14:41:02 +11:00
Xidorn Quan
df85c99c08
Bug 1294299 part 1 - Make nsDOMCSSDeclaration use DeclarationBlock. r=heycam
...
MozReview-Commit-ID: B2eHrpxOMJ8
--HG--
extra : source : 1fb048c40e848189bc31f5309d4f85b6101975c2
2016-11-03 14:41:02 +11:00
Cameron McCormack
e627525329
Bug 1310463 - Part 3: Add FFI functions for setting list-style-image. r=xidorn
...
MozReview-Commit-ID: LNK4UbfMfRk
2016-11-03 09:40:53 +08:00
Cameron McCormack
c0a347f7d0
Bug 1310463 - Part 2: Simplify nsComputedDOMStyle::DoGetListStyleImage a little. r=xidorn
...
MozReview-Commit-ID: Kxbxu8mZcQs
2016-11-03 09:40:53 +08:00
Cameron McCormack
0eb23cdd2c
Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
...
MozReview-Commit-ID: ENTo2HNbBpN
* * *
[mq]: x
MozReview-Commit-ID: 2SNJ4bXYpTH
2016-11-03 09:40:53 +08:00
Wes Kocher
df5dbf81cc
Merge central to inbound a=merge
2016-11-02 17:31:08 -07:00
Cameron McCormack
86283397d9
Bug 1288302 - Part 6: Add FFI function to set nsStyleImageRequest values. r=xidorn
...
MozReview-Commit-ID: 448vAeDiKX7
2016-11-02 16:58:32 +08:00
Cameron McCormack
356666065d
Bug 1288302 - Part 5.1: Merge Track and Lock flags so we don't set them together. r=xidorn
...
MozReview-Commit-ID: ASSWXvsczvc
2016-11-02 16:58:32 +08:00
Cameron McCormack
32c930ba08
Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
...
This makes background-image, mask-image and border-image settable
from Servo.
Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null. So all of the users of
nsStyleImage now null check its result.
MozReview-Commit-ID: FMRUrC3SfOs
2016-11-02 16:58:32 +08:00
Cameron McCormack
642cdb8e14
Bug 1288302 - Part 4: Perform final main thread work on style structs sourced from ServoComputedValues. r=xidorn
...
MozReview-Commit-ID: D6nQQ3yI4sx
2016-11-02 16:58:32 +08:00
Cameron McCormack
195dbb2d2a
Bug 1288302 - Part 3: Add nsStyleImageRequest. r=xidorn,bholley
...
MozReview-Commit-ID: F763Dv0Nfzp
2016-11-02 16:58:31 +08:00
Cameron McCormack
2c0304b286
Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
...
MozReview-Commit-ID: AsGfXliHLRf
2016-11-02 16:58:31 +08:00
Cameron McCormack
d4de8fe94d
Bug 1288302 - Part 1: Make css::ImageValue constructable OMT. r=xidorn
...
MozReview-Commit-ID: 9J2E7VrCWJ1
2016-11-02 16:58:31 +08:00
Boris Chiou
af2940b110
Bug 1286150 - Part 5: Implement shape distance for inset. r=hiro
...
MozReview-Commit-ID: 4C2uZp9qM3D
--HG--
extra : rebase_source : 2ba906355c383b5bb7c1854279c5046806d892b5
2016-10-27 15:34:06 +08:00
Boris Chiou
3a56bfea8a
Bug 1286150 - Part 4: Implement shape distance for polygon. r=hiro
...
MozReview-Commit-ID: BONxNhUrQsF
--HG--
extra : rebase_source : 2d4282f9ee5eb6dcdad9d23eba2eebd6ad75fa9e
2016-10-26 17:32:18 +08:00
Boris Chiou
f1a58e35b3
Bug 1286150 - Part 3: Implement shape distance for circle and ellipse. r=hiro
...
MozReview-Commit-ID: EX4C4IM0nVx
--HG--
extra : rebase_source : f02f32845d11755d7821176875157affb8e1cb16
2016-10-14 16:28:16 +08:00
Boris Chiou
fca40f4d14
Bug 1286150 - Part 2: Support difference restrictions on AddShapeFunction. r=hiro
...
We want to reuse AddShapeFunction for calculating the distance, so add
one more argument to enable/disable the default restrictions, so we can
reuse AddShapeFunction to get the differences, which may be negative values,
between two shape functions.
MozReview-Commit-ID: FgzOnPzyyAQ
--HG--
extra : rebase_source : e2ee1267100ef02a43131366eef9d46fc2f63ebe
2016-10-26 18:01:41 +08:00
Boris Chiou
360bd35d49
Bug 1286150 - Part 1: Simplify AddTransformTranslate and reuse AddCSSValuePixelPercentCalc. r=hiro
...
Two things in this patch:
1. Move AddCSSValuePixelPercentCalc to the position above AddTransformTranslate.
2. Simplify AddTransformTranslate, i.e. re-use the same switch case of
AddCSSValuePixelPercentCalc.
MozReview-Commit-ID: BMEpkOHDoaT
--HG--
extra : rebase_source : 591da977266c5be01fdb5f27aa11e26f94fc6060
2016-10-14 15:22:45 +08:00
Phil Ringnalda
021e8e0cee
Merge m-i to m-c, a=merge
2016-10-30 10:55:00 -07:00
Tobias Schneider
5b2ef3c1db
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Ryan VanderMeulen
a41f7d1058
Merge autoland to m-c. a=merge
2016-10-29 09:12:45 -04:00
Mats Palmgren
0ec09712ad
Bug 1305244 part 2 - [css-grid] Represent single-value <flex> track sizes as minmax(auto, <flex>) internally. r=dholbert
2016-10-29 01:30:10 +02:00
Mats Palmgren
f7d882a41c
Bug 1305244 part 1 - [css-grid] Serialize minmax(auto, <flex>) track sizes as <flex>. r=dholbert
2016-10-29 01:30:10 +02:00
cku
df1be83258
Bug 1308963 - Part 4. Correct initial value of mask-position in property_database.js r=xidorn
...
MozReview-Commit-ID: 9BUNMX8zw5r
--HG--
extra : rebase_source : 724c6061b7c456cf439c27c52a19ac4f478a5f8a
2016-10-13 23:25:00 +08:00
cku
705996b473
Bug 1308963 - Part 3. Set initial value of mask-position as (0, 0). r=xidorn
...
MozReview-Commit-ID: DN7q6FrGEMA
--HG--
extra : rebase_source : 294089f79d6925d4c47202b95e270b152054f1e7
2016-10-13 23:13:11 +08:00
cku
97f3d4a519
Bug 1308963 - Part 2. Correct initial value of mask-repeat in property_database.js. r=xidorn
...
MozReview-Commit-ID: KJOZppT48xS
--HG--
extra : rebase_source : de70784ba77ccc8efd4d255d3a7fc7c97f39ac59
2016-10-13 23:04:55 +08:00
cku
412846baa6
Bug 1308963 - Part 1. Set initial value of mask-repeat as repeat. r=xidorn
...
MozReview-Commit-ID: 8VrPiEyKF4n
--HG--
extra : rebase_source : 0203bbfbee0e2622285e4af498553fbec63c4d62
2016-10-13 22:57:10 +08:00
Adam Velebil
33caf18ccc
Bug 1313565 - Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: LHT6Aa2ojlf
--HG--
extra : rebase_source : cad726aee8e14d7ae60b899a76fcd26edb608507
2016-10-28 06:17:20 +02:00
Adam Velebil
389406c473
Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: 7I7Z4q7mLtC
--HG--
extra : rebase_source : 23ce3fddb26424aa42aea93cfdf6fc123926fe18
2016-10-29 10:51:05 +02:00
Adam Velebil
9260566b60
Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: IA4bGLgRxd6
--HG--
extra : rebase_source : 6632c53a96df170e8604d65b351f7ee2717ec9ec
2016-10-23 22:41:49 +02:00
Cameron McCormack
3be9ff068c
Bug 1311921 - Store base and relative URIs explicitly in nsStyleImageRequests for comparison purposes, rather than use css::ImageValues. r=bholley
...
MozReview-Commit-ID: 5aArKCI7Rhx
--HG--
extra : rebase_source : 15d2d9fc2a715bbc8438da814ce68d1a119898fc
2016-10-28 14:34:33 +08:00
Boris Chiou
5284058486
Bug 1313554 - Use brace-initialization to ShearArray. r=hiro
...
MozReview-Commit-ID: 9dT7bpGpCEC
--HG--
extra : rebase_source : 6769a3802d67af4b082c0e1271add2c4f9af786b
2016-10-28 11:11:36 +08:00
Carsten "Tomcat" Book
9031c83f32
Merge mozilla-central to autoland
2016-10-26 17:14:27 +02:00
Xidorn Quan
1fa27577d0
Bug 1310123 - Move values of static constants in nsStyleStruct to the header. r=mats
...
MozReview-Commit-ID: J5Fp0iAEnkg
--HG--
extra : rebase_source : b8366ff6b14493f53c0aa8880850adcad7495983
2016-10-25 17:25:10 +11:00
Wes Kocher
e12c1e7155
Backed out changeset 9b715399e585 (bug 1310123) for build failures a=backout CLOSED TREE
2016-10-25 16:54:45 -07:00
Mantaroh Yoshinaga
cf59836bae
Bug 1287983
part 6 - Integrate ElapsedTimeToTimeStamp function to the Animation class. r=birtles
...
MozReview-Commit-ID: 43AGaTYQoqn
--HG--
extra : rebase_source : 728380db2c6f3e035d05b6c746d2c0f08a1369b7
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga
ed9cb5c860
Bug 1287983
part 5 - Clarify the function name of creating transition. r=hiro
...
MozReview-Commit-ID: AW5qD8uBQxf
--HG--
extra : rebase_source : 5cc8b81bec1db0b40b420bc539f03f6307879cb0
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga
7cf9216ef7
Bug 1287983
part 3 - Add transitionstart/transitionrun test. r=birtles
...
Specification is as follow.
https://drafts.csswg.org/css-transitions-2/#eventdef-transitionevent-transitionstart
MozReview-Commit-ID: 1RXlhrQzdko
--HG--
extra : rebase_source : 93f3f0cc59a6570cd5001337e10c7b38aec90a77
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga
b4aef51ba4
Bug 1287983
part 2 - Add transitionstart/transitionrun event handling. r=birtles
...
The specification of CSS-Transition event is as follow:
https://drafts.csswg.org/css-transitions-2/#transition-events
MozReview-Commit-ID: CWgsRRLhnXp
--HG--
extra : rebase_source : 5687d30293c1a5dd2c8dd52b1a77d2b2b3e171a4
2016-10-19 15:16:51 +09:00
Xidorn Quan
88c0b5d425
Bug 1310123 - Move values of static constants in nsStyleStruct to the header. r=mats
...
MozReview-Commit-ID: J5Fp0iAEnkg
--HG--
extra : rebase_source : 51870f9798ba6e34ee809421589c09c1d5ec584f
2016-10-25 17:25:10 +11:00
Boris Chiou
304026cd9d
Bug 1272549 - Part 9: Compute distance for mismatched transform lists. r=birtles
...
MozReview-Commit-ID: JJWcMgj88GX
--HG--
extra : rebase_source : 3f1c314a2bf9c7c12991fb3873738c79b0152ea9
2016-10-05 15:36:16 +08:00
Boris Chiou
6ce1d75c7f
Bug 1272549 - Part 8: Compute distance for perspective transform function. r=birtles
...
MozReview-Commit-ID: IUL9RYuP82r
--HG--
extra : rebase_source : f179553814b74a61f886fefc7225f7cdfd299d7b
2016-10-03 16:04:24 +08:00
Boris Chiou
5e9077980f
Bug 1272549 - Part 7: Compute distance for matrix and matrix3d. r=birtles
...
Decompose the 2d/3d matrix and calculate the Euclidean distance of
translate, scale, skew, quaternion, and perspective vectors.
MozReview-Commit-ID: 5nX9EeqvZi9
--HG--
extra : rebase_source : a15f2e4350e5c097eee8856a76244a81d589427a
2016-10-04 18:32:20 +08:00
Boris Chiou
17e5c4df16
Bug 1272549 - Part 6: Use enum class for shear in decomposition functions. r=birtles
...
MozReview-Commit-ID: 4exovhbjHI3
--HG--
extra : rebase_source : 99705c1bb2c980be06f7c662698241dde5ee9ab9
2016-10-12 12:36:58 +08:00
Boris Chiou
c82cb7f0df
Bug 1272549 - Part 5: Move decompose matrix to nsStyleTransformMatrix. r=birtles
...
Move Decompose2DMatrix and Decompose3DMatrix into nsStyleTransformMatrix
and remove some trailing spaces.
Both AddWeighted and ComputeDistance need Decompose2DMatrix and
Decompose3DMatrix on transform property, and both decomposition functions are
related to nsStyleTransformMatrix, so we move them into nsStyleTransformMatrix
to make StyleAnimationValue more concise.
MozReview-Commit-ID: 5aVK7971rDD
--HG--
extra : rebase_source : 75823b96a165ef65e3edfb00978b706d9db09393
2016-10-04 15:00:31 +08:00
Boris Chiou
fe6b56e5e8
Bug 1272549 - Part 4: Compute distance for none and a valid transform list. r=birtles
...
Reuse AddTransformLists to get the identity transform functions to
replace none, and then treat them with another transform list as two matched
ones.
MozReview-Commit-ID: HwdBPCiUivg
--HG--
extra : rebase_source : 552ff668e2ac19dbfcfe2a37894b278f699f0c0b
2016-10-03 17:43:20 +08:00
Boris Chiou
9f7759999b
Bug 1272549 - Part 3: Implement rotate3d with different direction axis. r=derf
...
Use quaternion vectors to calculate the distance of two rotate3d
functions.
MozReview-Commit-ID: LizbvRqzcuh
--HG--
extra : rebase_source : 6b852d1f66ba7d79708156119db63683900120fb
2016-10-11 15:15:22 +08:00
Boris Chiou
6d0881c481
Bug 1272549 - Part 2: Compute distance for basic 2d & 3d transform functions for matched transform lists. r=birtles
...
Implement these transform functions for matched transform lists:
1. translate3d
2. scale3d
3. skewXY (and skewX, skewY, skew)
4. rotateX, rotateY, rotateZ, rotate, and rotate3d with the same
direction axis.
MozReview-Commit-ID: 94so7VGHqc8
--HG--
extra : rebase_source : d68488e3b6e87d72702c348fa0495a4d0c17ab85
2016-09-29 17:33:24 +08:00
Boris Chiou
29bd946764
Bug 1272549 - Part 1: Reorder some static functions. r=birtles
...
We also need these functions in ComputeDistance:
1. AddTransformTranslate
2. AddCSSValueAngle
3. TransformFunctionsMatch
So move them up.
MozReview-Commit-ID: 8mSFEOgUsLT
--HG--
extra : rebase_source : a58107f50e6636d4aeec93e086490cda09027ded
2016-09-29 17:51:55 +08:00
Xidorn Quan
a899c1a9ac
Bug 1312338 part 2 - Use nsACString to pass string parameters in binding functions. r=manishearth
...
MozReview-Commit-ID: BRKZBQJCrMQ
--HG--
extra : source : c0a7498ea402f1db4aca1c05508f577bacf21f0c
2016-10-25 10:19:45 +11:00