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

Unified Diff: LayoutTests/http/tests/webfont/animation-assert.html

Issue 754743004: Don't return false for RenderStyle::operator== while fonts load. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review issue and regressions. Created 6 years 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 | LayoutTests/http/tests/webfont/animation-assert-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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">&nbsp;</div></div>
+<script>
+outer.style.display = "";
+outer.offsetWidth;
+inner.style.transform = "translate(0)";
+</script>
+<div>PASS if no crash.</div>
« no previous file with comments | « no previous file | LayoutTests/http/tests/webfont/animation-assert-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698