gecko-dev/layout/reftests/css-animations
Hiroyuki Ikezoe 3f226f1b33 Bug 1430884 - A reftest that transform animation makes the element as a containing block for fixed-pos descendants even if the element is visibility:hidden and if the animating value is 'transform:none'. r=birtles
As per the CSS Animations spec [1], animations must behave as if 'will-change'
is specified, and as per the Will Change spec [2] the element having
'will-change' property other than 'auto' behaves as a containing block for
fixed-pos descendants.  This reftest tests that behavior.  The reason we also
specified visibility:hidden there is that we are going to optimize transform
animations on/inside visibility:hidden element, so this reftest also tests it.

In this reftest, if the containing block is correctly generated, the fixed-pos
element is rendered inside the parent element, thus the scrollable element
overflows, then the vertial scroll bar appears.


[1] https://drafts.csswg.org/css-animations-1/#animations
 > While an animation is applied but has not finished, or has finished but has
 > an animation-fill-mode of forwards or both, the user agent must act as if
 > the will-change property ([css-will-change-1]) on the element additionally
 > includes all the properties animated by the animation.

[2] https://drafts.csswg.org/css-will-change/#will-change
 > If any non-initial value of a property would cause the element to generate
 > a containing block for fixed positioned elements, specifying that property
 > in will-change must cause the element to generate a containing block for
 > fixed positioned elements.

MozReview-Commit-ID: Kx5Fdx8FJUG

--HG--
extra : rebase_source : 926f10590e90a10876339ccbea331a981f9f4773
2018-06-25 11:51:06 +09:00
..
animate-display-table-opacity-ref.html
animate-display-table-opacity.html
animate-opacity-ref.html
animate-opacity.html
animate-preserves3d-ref.html
animate-preserves3d.html
animation-initially-out-of-view-with-delay-ref.html Bug 1383239 - Don't throttle non-visible changes involved animations on out-of-view elements when they are newly in-effect. r=birtles 2017-10-20 18:23:44 +09:00
animation-initially-out-of-view-with-delay.html Bug 1383239 - Don't throttle non-visible changes involved animations on out-of-view elements when they are newly in-effect. r=birtles 2017-10-20 18:23:44 +09:00
animation-on-empty-height-frame.html Bug 1409657 - Wait for one more frame after MozAfterPaint is received to avoid intermittent failures. r=birtles 2017-10-23 07:04:03 +09:00
background-position-after-finish.html
background-position-important.html
background-position-in-delay.html
background-position-ref.html
background-position-running.html
change-animation-name-in-rule-ref.html Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles 2017-08-24 18:27:10 +09:00
change-animation-name-to-non-existent-in-rule.html Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles 2017-08-24 18:27:10 +09:00
change-animation-name-to-none-in-rule.html Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles 2017-08-24 18:27:10 +09:00
change-animation-name-to-other-in-rule.html Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles 2017-08-24 18:27:10 +09:00
containing-block-on-visibility-hidden-ref.html Bug 1430884 - A reftest that transform animation makes the element as a containing block for fixed-pos descendants even if the element is visibility:hidden and if the animating value is 'transform:none'. r=birtles 2018-06-25 11:51:06 +09:00
containing-block-on-visibility-hidden.html Bug 1430884 - A reftest that transform animation makes the element as a containing block for fixed-pos descendants even if the element is visibility:hidden and if the animating value is 'transform:none'. r=birtles 2018-06-25 11:51:06 +09:00
content-on-pseudo-element-at-beginning.html Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro 2017-08-15 20:51:55 +09:00
content-on-pseudo-element-at-half.html Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro 2017-08-15 20:51:55 +09:00
content-on-pseudo-element-ref.html Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro 2017-08-15 20:51:55 +09:00
continuation-opacity-ref.html Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron 2017-10-09 16:28:54 +01:00
continuation-opacity.html Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron 2017-10-09 16:28:54 +01:00
ib-split-sibling-opacity-ref.html Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron 2017-10-09 16:28:54 +01:00
ib-split-sibling-opacity.html Bug 1406211 - Add a reftest for animating opacity on a multiline inline element. r=dbaron 2017-10-09 16:28:54 +01:00
in-visibility-hidden-animation-pseudo-element-ref.html
in-visibility-hidden-animation-pseudo-element.html
in-visibility-hidden-animation-ref.html
in-visibility-hidden-animation.html
mask-anim-ref.html
mask-position-after-finish-1a.html
mask-position-after-finish-1b.html
mask-position-in-delay-1a.html
mask-position-in-delay-1b.html
mask-size-after-finish-1a.html
mask-size-after-finish-1b.html
mask-size-in-delay-1a.html
mask-size-in-delay-1b.html
no-stacking-context-animation-ref.html
no-stacking-context-opacity-removing-animation-in-delay.html
no-stacking-context-transform-removing-animation-in-delay.html
no-style-sharing-with-animations-ref.html Bug 1392851 - A reftest to check that we don't share styles for elements that have animations which are about to be removed. r=birtles 2017-08-24 18:27:31 +09:00
no-style-sharing-with-animations.html Bug 1392851 - A reftest to check that we don't share styles for elements that have animations which are about to be removed. r=birtles 2017-08-24 18:27:31 +09:00
opacity-animation-in-delay.html Bug 1460389 - Reftests for opacity and transform animations that are sent to the compositor in their delay phase. r=birtles 2018-05-15 09:08:49 +09:00
opacity-animation-in-fixed-opacity-parent-ref.html Bug 1395151 - Don't apply ancestors' opacity if the opacity item has an async opacity animation. r=birtles,mattwoodrow 2017-10-23 19:26:40 +09:00
opacity-animation-in-fixed-opacity-parent.html Bug 1440556 - Drop reftest-wait in opacity-animation-in-fixed-opacity-parent.html. r=birtles 2018-02-23 14:06:49 +09:00
partially-out-of-view-animation-ref.html
partially-out-of-view-animation.html
print-no-animations-notref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
print-no-animations-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
print-no-animations.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
reframe-and-animation-starts-at-the-same-time-ref.html Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio 2017-08-08 11:35:23 +09:00
reframe-and-animation-starts-at-the-same-time.html Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio 2017-08-08 11:35:23 +09:00
reftest.list Bug 1430884 - A reftest that transform animation makes the element as a containing block for fixed-pos descendants even if the element is visibility:hidden and if the animating value is 'transform:none'. r=birtles 2018-06-25 11:51:06 +09:00
screen-animations-notref.html
screen-animations-ref.html
screen-animations.html
stacking-context-animation-ref.html
stacking-context-lose-opacity-1.html
stacking-context-lose-transform-none.html
stacking-context-opacity-1-animation.html
stacking-context-opacity-1-in-delay.html
stacking-context-opacity-1-with-fill-backwards.html
stacking-context-opacity-1-with-fill-forwards.html
stacking-context-opacity-removing-important-in-delay.html
stacking-context-opacity-win-in-delay-on-main-thread.html
stacking-context-opacity-win-in-delay.html
stacking-context-opacity-wins-over-transition.html Bug 1439279 - Drop needless requestAnimationFrame that waits for applying new transition. r=birtles 2018-02-19 10:57:53 +09:00
stacking-context-paused-on-opacity-1.html
stacking-context-paused-on-transform-none.html
stacking-context-transform-none-animation-on-svg.html
stacking-context-transform-none-animation-with-backface-visibility.html
stacking-context-transform-none-animation-with-preserve-3d.html
stacking-context-transform-none-animation.html
stacking-context-transform-none-in-delay.html
stacking-context-transform-none-with-fill-backwards.html
stacking-context-transform-none-with-fill-forwards.html
stacking-context-transform-removing-important-in-delay.html
stacking-context-transform-win-in-delay-on-main-thread.html
stacking-context-transform-win-in-delay.html
stacking-context-transform-wins-over-transition.html Bug 1439279 - Drop needless requestAnimationFrame that waits for applying new transition. r=birtles 2018-02-19 10:57:53 +09:00
stop-animation-on-discarded-pseudo-element.html Bug 1380258 - A reftest for stopping CSS animations on discarded pseudo elements. r=birtles 2017-07-24 09:20:22 +09:00
transform-animation-in-delay-ref.html Bug 1460389 - Reftests for opacity and transform animations that are sent to the compositor in their delay phase. r=birtles 2018-05-15 09:08:49 +09:00
transform-animation-in-delay.html Bug 1460389 - Reftests for opacity and transform animations that are sent to the compositor in their delay phase. r=birtles 2018-05-15 09:08:49 +09:00
updating-animation-on-pseudo-element-ref.html Bug 1367278 - Call may_have_animations() for parent element in the case where the target is pseudo element. r=birtles 2017-07-20 12:53:11 +09:00
updating-animation-on-pseudo-element.html Bug 1367278 - Call may_have_animations() for parent element in the case where the target is pseudo element. r=birtles 2017-07-20 12:53:11 +09:00