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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html

Issue 2790263002: Deflake text-align-justify-and-whitespace-pre.html (Closed)
Patch Set: Rebase w/HEAD Created 3 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/whitespace/text-align-justify-and-whitespace-pre-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html b/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html
index 474040c1f0bab3fedb3a27263fdb81cb2e290481..9b103da0a89b314620adf124a5a128e1c1580cd2 100644
--- a/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html
+++ b/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html
@@ -1,15 +1,17 @@
<!DOCTYPE html>
<html>
<style>
+@font-face {
+ font-family: Ahem;
+ src: url('../../../resources/Ahem.woff2') format('woff2');
+}
div {
text-align: justify;
width: 400px;
border: 1px solid black;
font-family: Ahem;
}
-
</style>
-<script src="../../../resources/ahem.js"></script>
<body>
<p>This tests the combination of text-align: justify with different values of white-space.</p>
@@ -32,5 +34,13 @@ incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu
cupidatat non proident.
</div>
+<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ window.onload = function () {
+ document.fonts.ready.then(function () { testRunner.notifyDone(); });
+ };
+ }
+</script>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698