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

Unified Diff: LayoutTests/editing/execCommand/remove-foramt-mixed-editable-crash.html

Issue 332613003: Make RemoveFormat command to work with mixed editable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: LayoutTests/editing/execCommand/remove-foramt-mixed-editable-crash.html
diff --git a/LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html b/LayoutTests/editing/execCommand/remove-foramt-mixed-editable-crash.html
similarity index 63%
copy from LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html
copy to LayoutTests/editing/execCommand/remove-foramt-mixed-editable-crash.html
index 85d20eb2080b889655f1e3900febf39493daf545..00274113dc13dd11dbc258a906d53b6007cee98c 100644
--- a/LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html
+++ b/LayoutTests/editing/execCommand/remove-foramt-mixed-editable-crash.html
@@ -7,13 +7,12 @@ if (window.testRunner)
onload = function() {
document.execCommand('SelectAll');
- document.execCommand('JustifyCenter');
+ document.execCommand('RemoveFormat');
document.body.textContent = 'PASS if Blink doesn\'t crash.';
};
</script>
</head>
-<body contenteditable="true">
-<kbd>foo</kbd>
-<sup>bar<abbr contenteditable="false">baz</abbr></sup>
+<body contenteditable="true">
+<span contenteditable="false"></span><code></code><b><span></span>ab</b>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698