Index: LayoutTests/http/tests/webfont/animation-assert.html |
diff --git a/LayoutTests/http/tests/webfont/animation-assert.html b/LayoutTests/http/tests/webfont/animation-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..df69ce3aefcc08863407dfeadc12fc4d2b730c59 |
--- /dev/null |
+++ b/LayoutTests/http/tests/webfont/animation-assert.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<style> |
+@font-face { |
+ font-family: delayed; |
+ src: url(slow-ahem-loading.cgi?delay=1000) |
+} |
+#outer { |
+ line-height: 10px; |
+} |
+#inner { |
+ font-family: delayed; |
+ transition: transform .1s; |
+} |
+</style> |
+<div id="outer" style="display: none"><div id="inner"> </div></div> |
+<script> |
+outer.style.display = ""; |
+outer.offsetWidth; |
+inner.style.transform = "translate(0)"; |
+</script> |
+<div>PASS if no crash.</div> |