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

Unified Diff: third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html

Issue 1637323002: Editing: Tidy up HTML document structure before execCommand(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert the Node.cpp change Created 4 years, 11 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/editing/editability/empty-document-justify-right.html
diff --git a/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html b/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html
index e19834f7a17492a867c57c5f25850705d0b0ab5e..5d2c7cde05f3bea8da66cee1c0136a7ce40be358 100644
--- a/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html
+++ b/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html
@@ -10,7 +10,7 @@ function runTest() {
document.open();
window.getSelection().addRange(document.createRange());
document.execCommand("JustifyRight", false, null);
- document.writeln('This test ensures WebKit does not crash when executing JustifyRight in an empty document.<br><br>PASS');
+ document.body.innerHTML = 'This test ensures WebKit does not crash when executing JustifyRight in an empty document.<br><br>PASS';
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698