gecko-dev/layout/reftests/css-animations/in-visibility-hidden-animation-pseudo-element-ref.html
Hiroyuki Ikezoe 617fa803bb Bug 1166500 - Part 0: Test that offscreen animation optimization does not throttle visible animations. r=dbaron
* partially-out-of-view-animation.html
This test is a normal test case (i.e. a trivial one). An animation on an
element which is partially out of the view. If ofscreen optimization
is totally broken, this test will fail.

* in-visibility-hidden-animation-pseudo-element.html
This test checks animation on visible pseudo element which is attached to
invisible element is not throttled.

* in-visibility-hidden-animation.html
This test checks animation on visible element which is inherited from
invisible parent element is not throttled.
2016-05-24 12:57:42 +09:00

19 lines
325 B
HTML

<!DOCTYPE HTML>
<html>
<title>In visibility hidden color animation on pseudo element</title>
<style>
div:before {
visibility: visible;
color: blue;
content: "Color Animation";
}
div {
color: black;
visibility: hidden;
}
</style>
<div>color animation on visible psuedo element attached to invisible element</div>