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

Unified Diff: LayoutTests/http/tests/webfont/slow-loading-expected.html

Issue 171823002: Make text visible when font loading takes longer than 3 seconds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 10 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 | « LayoutTests/http/tests/webfont/slow-loading.html ('k') | Source/core/css/CSSCustomFontData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/webfont/slow-loading-expected.html
diff --git a/LayoutTests/http/tests/webfont/slow-loading-expected.html b/LayoutTests/http/tests/webfont/slow-loading-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..e9c534cd05f06067f934bb7412ac43e47b566c16
--- /dev/null
+++ b/LayoutTests/http/tests/webfont/slow-loading-expected.html
@@ -0,0 +1,45 @@
+<html>
+<head>
+<style>
+.testspan {
+ font-size:64px;
+ border: 1px solid;
+ border-color: black;
+}
+#span1 {
+ font-family: Ahem;
+}
+#span2 {
+ font-family: Arial;
+}
+#span3 {
+ font-family: Arial;
+ color: white;
+}
+</style>
+</head>
+<body>
+
+Ahem after 5 seconds:
+<br/>
+<span class="testspan" id="span1">
+abcdefg
+</span>
+<br/>
+
+Arial after 5 seconds:
+<br/>
+<span class="testspan" id="span2">
+abcdefg
+</span>
+<br/>
+
+Blank after 5 seconds:
+<br/>
+<span class="testspan" id="span3">
+abcdefg
+</span>
+<br/>
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/http/tests/webfont/slow-loading.html ('k') | Source/core/css/CSSCustomFontData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698