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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/backspace-merge-into-list-item.html

Issue 2117663002: [Reland] Remove style spans to follow the styles of the block element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/editing/deleting/backspace-merge-into-list-item.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/backspace-merge-into-list-item.html b/third_party/WebKit/LayoutTests/editing/deleting/backspace-merge-into-list-item.html
deleted file mode 100644
index 3daa5ada047c890fa2e8a5c4ee32d55cd5bec5f9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/deleting/backspace-merge-into-list-item.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!doctype HTML>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<style>
-#editable p {
- font-size: 20px;
- line-height: 22px;
- color: red;
-}
-</style>
-<div contenteditable="true" id="editable">
- <ul>
- <li>list item 1</li>
- <li>list item 2</li>
- <li>list item 3</li>
- </ul>
- <p>Paragraph</p>
-</div>
-<script>
-test(function() {
- var editor = document.getElementById('editable');
- var range = document.createRange();
- var selection = window.getSelection();
- range.setStart(editor.childNodes[2], 0);
- range.collapse(true);
- selection.removeAllRanges();
- selection.addRange(range);
- editor.focus();
- document.execCommand('delete');
-
- var htmlPara = document.getElementsByTagName('li')[2].outerHTML;
- assert_equals(htmlPara, '<li>list item 3Paragraph</li>');
-}, 'make a paragraph into a list by backspace');
-</script>

Powered by Google App Engine
This is Rietveld 408576698