Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert.html

Issue 1816103002: Clear baseComputedStyle when text-autosizing changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text-autosizing/basecomputedstyle-assert-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698