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

8 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou 76b7d2d3de Bug 1049975 - Part 13: Add reftests for stacking context when effects are changed. r=hiro
MozReview-Commit-ID: FaswbUx9aGW

--HG--
extra : rebase_source : ff418a8ba915913fda391a615eae71f0172198df
2016-07-18 17:44:24 +08:00
Hiroyuki Ikezoe d20c596b42 Bug 1279403 - Part 2: Set NS_FRAME_MAY_BE_TRANSFORMED bit if the target nsIFrame has transform when setting target or keyframes. r=birtles
MozReview-Commit-ID: InQyXpENsSY

--HG--
extra : rebase_source : f8eb4c9ea0495d60c92a214ab692df79cf428e85
2016-07-11 08:29:14 +09:00
Hiroyuki Ikezoe 685a35fbc5 Bug 1279403 - Part 1: Force to apply corresponding change hint if there is no corresponding layer to generate display item even if animation's segment is transform:none or 100% opacity. r=birtles
To create a stacking context for animations on transform:none segment,
we need to set NS_FRAME_MAY_BE_TRANSFORMED.  The fix is comming in part 2.

Note that in case of animations which has properties preventing running on
the compositor, e.g., width or height, corresponding layer is not created
at all, but even in such cases, we normally set valid change hint for such
animations in each tick, i.e. restyles in each tick. For example:

div.animate([{ opacity: 1, width: '100px' }, { opacity: 0, width: '200px' }], 1000);

This animation causes restyles in every ticks without this patch, this patch
does not affect such animations at all. The only animations which will be
affected by this patch are animations which has opacity/transform but
did not have those properies. e.g,  setting transform by setKeyframes or
changing target element from other target which prevents running on the
compositor, etc.

MozReview-Commit-ID: 78fYqyX8uDX

--HG--
extra : rebase_source : c4a6ef244f26f3d808fd2c6a5f80c1a15478ae31
2016-07-11 08:27:02 +09:00
Hiroyuki Ikezoe 8f62183f96 Bug 1273042 - Part 3: Reftest for checking transform:none animations create a stacking context. r=birtles
This patch has two test cases one if for CSS animations and one is for web animations.

For CSS animations test cases:
@keyframes {
  from, to { transform: none; }
}

For web animtions test cases, the target element is appended after animate().

MozReview-Commit-ID: Gy1sY41jV7G
2016-06-01 16:24:34 +09:00
Brian Birtles 90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Hiroyuki Ikezoe 28256ab21a Bug 1267937 - Part 2: A reftest which checks mProgressOnLastCompose is surely cleared in before phase. r=birtles
--HG--
extra : amend_source : f368a7e3b62c8ecae30b423cf5b87ce5516d6492
2016-04-30 07:08:14 +09:00
Hiroyuki Ikezoe 9cf92adc7d Bug 1249274 - Need preferences for reftest using Web Animation APIs. r=birtles
MozReview-Commit-ID: 4vd2sVHx4fQ

--HG--
extra : transplant_source : %E7%05A%0Fk%D0%87JA%1AX%FB%A9%60%83%14Z%D4DP
2016-02-19 07:53:37 +09:00
Brian Birtles 063bfa030d Bug 1246046 part 2 - Add reftest for style updating for script-generated animations; r=heycam 2016-02-15 16:10:03 +09:00