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> |