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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.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
Index: third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html b/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html
index c95b2479df7156107a6023ab1640248468dfc7b5..e62143a68e845c450b23d406b26017d2c66354fd 100644
--- a/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html
+++ b/third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html
@@ -1,13 +1,16 @@
<!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>
<body>
@@ -31,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>
+</html>

Powered by Google App Engine
This is Rietveld 408576698