Index: third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert.html |
diff --git a/third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert.html b/third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..170f814d98e8c2d5ac439d3b2c439fb632bd5c63 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<script src="resources/autosizingTest.js"></script> |
+<style> |
+ @keyframes widthAnim { |
+ 0% { width: 100px } |
+ 50% { width: 800px } |
+ } |
+ |
+ #animated { |
+ width: 100px; |
+ font-size: 70px; |
+ animation-name: widthAnim; |
+ animation-duration: 0.1s; |
+ animation-timing-function: steps(2, start); |
+ } |
+</style> |
+<p>PASS if test doesn't assert or crash.</p> |
+<div id="animated">xxxxxxxxxxxxxxxxxxxxxxxxxxxx</div> |
+<script> |
+ if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ } |
+ |
+ setWindowSizeOverride(320, 480); |
+ |
+ addEventListener("animationend", function(){ |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+</script> |