summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html b/testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html
new file mode 100644
index 0000000000..d7d3bff25c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/css-flexbox-height-animation-stretch-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>CSS Flexbox Test: Items stretch correctly while content is animating</title>
+ <link rel="author" title="Micky Brunetti" href="mailto:micky2be@gmail.com">
+ <style>
+ @keyframes resize {
+ 0% {height: 100px;}
+ 100% {height: 50px;}
+ }
+ .test {
+ height: 100px;
+ width: 200px;
+ background-color: green;
+ animation: resize 500ms infinite alternate;
+ }
+ </style>
+</head>
+<body>
+ <p>The test passes if you keep seeing a green rectangle and no red.</p>
+ <div class="test"></div>
+</body>
+</html> \ No newline at end of file