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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-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
Index: third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre.html b/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre.html
index 04ab97edba25ae4e505a0774c27e501691ad1edd..557217fe2c330fa15bbc3fb9836b6f97a59c9a66 100644
--- a/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre.html
+++ b/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre.html
@@ -1,5 +1,9 @@
<!DOCTYPE html>
<style>
+@font-face {
+ font-family: Ahem;
+ src: url('../../../resources/Ahem.woff2') format('woff2');
+}
body {
font: 10px Ahem;
}
@@ -35,3 +39,11 @@ body {
<div style="width: 160px;" class="break-word">
<p class="test">A B<span style="white-space:pre"> </span> C</p>
</div>
+<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ window.onload = function () {
+ document.fonts.ready.then(function () { testRunner.notifyDone(); });
+ };
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698