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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/insert-line-break-onload.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/execCommand/insert-line-break-onload.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insert-line-break-onload.html b/third_party/WebKit/LayoutTests/editing/execCommand/insert-line-break-onload.html
index 1fe0469a9f8cb5bf81f2bf287df0d93c8d8cdbf7..82fdddfb29bf1020e02b724437dabc6779cdc960 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/insert-line-break-onload.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/insert-line-break-onload.html
@@ -11,10 +11,10 @@ function go() {
var result = "PASS";
if (window.testRunner) {
- document.write("<html>" + result + "<html>");
+ document.body.innerHTML = result;
testRunner.dumpAsText();
} else
- document.write("<html>" + result + "<html>");
+ document.body.innerHTML = result;
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698