Hiroyuki Ikezoe
598b376e51
Bug 1319072 - Don't assert even if coefficient is out of range [0, 1]. r=boris
...
MozReview-Commit-ID: 6TnuoNnHcSc
--HG--
extra : rebase_source : c112546cae35050f1c02cc09e3cff1cb5f9ac41b
2016-11-22 08:11:42 +09:00
Hiroyuki Ikezoe
c661a36ecc
Bug 1304886
- Part 8: Add Accumulate operator. r=boris,derf
...
MozReview-Commit-ID: Bzcn3IRSx6L
--HG--
extra : rebase_source : 854c39f38953a400407bcf976ebd68f25f4b6396
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe
7edca15eba
Bug 1304886
- Part 6: Make ProcessInterpolateMatrix template. r=boris
...
To avoid exposing the template ProcessInterpolateMatrix is left because it is
used in AddTransformFunctions in nsDisplayList.cpp.
MozReview-Commit-ID: D9KW7du5j04
--HG--
extra : rebase_source : afec2823ac615598ec965571f465ca2c6420a3cc
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe
d0c449e60d
Bug 1304886
- Part 5: Make InterpolateTransformMatrix template to calculate accumulation. r=boris
...
InterpolateTransformMatrix renamed to OperateTransformMatrix.
MozReview-Commit-ID: 3IpkAIa3cBN
--HG--
extra : rebase_source : b3e705ff394d3fdfb3eb6727f8b732bba1238617
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe
59b118b408
Bug 1304886
- Part 3: Move InterpolateTransformMatrix into nsStyleTransformMatrix. r=boris
...
MozReview-Commit-ID: 7GV6B7AwNcg
--HG--
extra : rebase_source : 41efbb5ffcc9c1ea63babedbb6d5f312bf49926e
2016-11-16 20:32:32 +09: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
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
Xidorn Quan
3ea5e42f51
Bug 1274158 part 1 - Handle zero perspective gracefully. r=mattwoodrow
...
MozReview-Commit-ID: CEX39wo6oX8
--HG--
extra : rebase_source : 07dc609dc2a23672dde2a2ea0705cc620068f102
2016-08-12 14:51:10 +10:00
Chris Peterson
ad0b562df7
Bug 1247533 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in layout/style/. r=dbaron
...
layout/style/nsStyleTransformMatrix.cpp:642:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:16:29 -08:00
William Chen
a7c2c21d89
Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc
2016-02-04 00:30:00 -08:00
William Chen
96cc20f039
Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam
2016-02-01 16:45:09 -08:00
Robert Longson
0c7534f0a8
Bug 1175492 - unpref transform-origin percentage handling for SVG elements r=jwatt
2015-09-15 22:10:48 +01:00
Kearwood (Kip) Gilbert
c06afa1c7f
Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:05:47 -07:00
Cameron McCormack
225f3dd70d
Bug 804975 - Part 2: Add a RuleNodeCacheConditions class and use it instead of a boolean canStoreInRuleTree during style computation. r=dbaron
2015-06-23 11:48:18 +10:00
Jonathan Watt
7f790e5e3c
Bug 1168664 - Stop mistakenly using the transform reference box's width to calculate the Z component in ProcessMatrix3D. r=mattwoodrow
2015-05-25 11:13:42 +01:00
Jonathan Watt
13ebd5c893
Bug 923193, part 4 - Implement support for the 'transform-origin' property in SVG. r=heycam
2015-05-24 22:40:37 +01:00
Jonathan Watt
b9b0d2b3c3
Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
...
--HG--
extra : rebase_source : 8ffca8102a9648642f9166c213ce9e964c34b2af
2015-04-28 19:55:42 +01:00
L. David Baron
b3c27e4396
Bug 1153426 - Don't crash when doing an off-main-thread animation of a transform to or from the 'none' value. r=birtles
...
I confirmed locally (with ./mach mochitest-plain --e10s on Linux) that
the added test crashes without the patch and passes with the patch.
2015-04-16 18:13:15 -07:00
David Zbarsky
205b93ba09
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04:00
Matt Woodrow
b66e142f4a
Bug 781701 - Interpolate rotate3d rotation angles numerically when we can instead of using matrix decompositon. r=dbaron
2014-08-19 15:58:17 +12:00
Brian Birtles
6bc9caf270
Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
...
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles
65c7f861cb
Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
...
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.
Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Jonathan Watt
2586dd3cb2
Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas
2014-06-17 18:35:51 +01:00
Matt Woodrow
da8180da9c
Bug 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron
2014-05-08 17:35:00 +12:00
Ehsan Akhgari
35ff0cae16
Bug 938123 - Build layout/style in unified mode; r=roc
2013-11-14 21:42:57 -05:00
Ehsan Akhgari
6ada2899b2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
L. David Baron
41eb1ebd96
Bug 511803 patch 2: Convert all eCSSUnit_Function storage to use nsCSSKeyword. This leads to one behavior change, which is case canonicalization for font-variant-alternates function values. r=bzbarsky
...
--HG--
rename : layout/style/test/test_bug721136.html => layout/style/test/test_specified_value_serialization.html
2013-05-23 09:08:29 +08:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
David Zbarsky
bf4f8d3c97
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
Aryeh Gregor
284a1fe866
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
93b20c52d3
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
Nathan Froyd
7589e34b75
Bug 719173 - handle pixels and numbers specially in ProcessTranslatePart; r=bz, f=mattwoodrow
2012-03-06 13:47:13 -05:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
630069520d
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-25 01:48:09 -07:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
ffaa635014
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-23 17:34:46 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
83ed67bd84
Bug 734953 - Remove skew() transformation function; r=dbaron
2012-03-20 13:39:57 -04:00
Matt Woodrow
1d0b679e9b
Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron
2011-12-05 11:53:38 +13:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matt Woodrow
1c7000d5d8
Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf
2011-09-27 10:54:45 +13:00
Matt Woodrow
bbeb8ef9e1
Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron
2011-09-27 10:54:30 +13:00
Matt Woodrow
28ca5bb7d9
Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf
2011-09-27 10:53:33 +13:00
Jonathan Watt
fedee44618
Bug 677198 - Remove some Windows line endings introduces by bug 505115. r=mattwoodrow.
2011-09-08 12:15:00 +01:00