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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload.html

Issue 2381513005: Test inline-plaintext-relayout-with-leading-neutrals.html after Document onload Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals.html b/third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload.html
similarity index 86%
copy from third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals.html
copy to third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload.html
index d4f7b4996ba2f7e5376688bb1ff80a530671cf60..0f1aadc070976c4169e525ce9b07a80cc49c310d 100644
--- a/third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals.html
+++ b/third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload.html
@@ -12,14 +12,20 @@
}
</style>
<script>
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+}
function runTest() {
var span1 = document.getElementById("replacement1");
span1.innerText = "א";
var span2 = document.getElementById("replacement2");
span2.innerText = "a";
+ if (window.testRunner) {
+ testRunner.notifyDone();
+ }
}
</script>
-</head><body onload="runTest();">
+</head><body onload="setTimeout(runTest, 0);">
<table>
<tr>
<td class="border"><span class="plaintext">1... .... ....<span id="replacement1">a</span></span></td>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/international/inline-plaintext-relayout-with-leading-neutrals-after-document-onload-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698