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

Unified Diff: LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html

Issue 315513003: Make sure calling moveParagaph() with proper parameters in CompositeEditCommand::moveParagraphConten (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-05T10:29:01 Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html
diff --git a/LayoutTests/editing/execCommand/insert-tab-to-html-element-crash.html b/LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html
similarity index 52%
copy from LayoutTests/editing/execCommand/insert-tab-to-html-element-crash.html
copy to LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html
index 78d0b16afcd0b2f18a9d0e3015acfee5d9f2f1f8..64a752bf6d062c9f7b7e032225f6e454de89bb2f 100644
--- a/LayoutTests/editing/execCommand/insert-tab-to-html-element-crash.html
+++ b/LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html
@@ -5,14 +5,14 @@ if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
- getSelection().collapse(document.body, 0);
- document.body.parentNode.removeChild(document.body);
- document.designMode = 'on';
- document.execCommand("InsertText", false, '\t');
+ document.execCommand('SelectAll');
+ document.execCommand('JustifyCenter');
document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
}
</script>
</head>
-<body>
+<body contenteditable="true">
+<canvas contenteditable="false">text</canvas><b></b>
+<textarea></textarea>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698