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: LayoutTests/editing/execCommand/indent-table-cell-crash.html

Issue 306473003: Don't over split DOM tree in CompositeEditCommand::splitTreeToNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-28T05:18:57 Created 6 years, 7 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/indent-table-cell-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/indent-table-cell-crash.html
diff --git a/LayoutTests/editing/execCommand/indent-head-crash.html b/LayoutTests/editing/execCommand/indent-table-cell-crash.html
similarity index 59%
copy from LayoutTests/editing/execCommand/indent-head-crash.html
copy to LayoutTests/editing/execCommand/indent-table-cell-crash.html
index 4c6570aa894fc8ac44e48d514aded1f0bc53ce2f..573bf049d27f0bfa2dea1d331e89f663654f8bc1 100644
--- a/LayoutTests/editing/execCommand/indent-head-crash.html
+++ b/LayoutTests/editing/execCommand/indent-table-cell-crash.html
@@ -1,13 +1,7 @@
<!DOCTYPE html>
-<html>
<head>
<style>
-head {
- display: table-caption;
- height: 100px;
- width: 100px;
- background-color: red;
-}
+hr { display: table-cell; }
</style>
<script>
if (window.testRunner)
@@ -17,12 +11,11 @@ onload = function() {
document.designMode = 'on';
document.execCommand('SelectAll');
document.execCommand('Indent');
- document.open();
- document.write('PASS if Blink doesn\'t crash.');
+ document.body.textContent = 'PASS if Blink doesn\'t crash.';
};
</script>
</head>
<body>
-foo
+before<hr><hr>after
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-table-cell-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698