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

Unified Diff: LayoutTests/editing/pasteboard/paste-blockquote-and-paragraph-break.html

Issue 13954003: Remove mail blockquote special case handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/pasteboard/paste-blockquote-and-paragraph-break.html
diff --git a/LayoutTests/editing/pasteboard/paste-blockquote-and-paragraph-break.html b/LayoutTests/editing/pasteboard/paste-blockquote-and-paragraph-break.html
deleted file mode 100644
index 441edb2605e0a526bc1f6c2320d738669db9c621..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/pasteboard/paste-blockquote-and-paragraph-break.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<head>
-<style>
-blockquote {
- color: blue;
- border-left: 2px solid blue;
- padding-left: 5px;
- margin: 0px;
-}
-</style>
-</head>
-<body>
-<p id="description">We copy and paste a blockquoted paragraph plus a paragraph break.
-The paragraph break shouldn't be inside the blockquote on paste.
-You should see 'hello' (blockquoted), 'world' (not quoted, black text), 'hello' (blockquoted), empty paragraph.
-See &lt;rdar://problem/5368833&lt;</p>
-<div id="div" contenteditable="true"><br><blockquote id="blockquote" type="cite">hello<br></blockquote><br></div>
-<script src="../../resources/dump-as-markup.js"></script>
-<script>
-div = document.getElementById("div");
-blockquote = document.getElementById("blockquote");
-sel = window.getSelection();
-sel.setBaseAndExtent(blockquote, 0, div, 2);
-document.execCommand("Copy");
-sel.setPosition(div, 0);
-
-Markup.description(document.getElementById('description').textContent);
-
-Markup.dump(div, 'Before paste');
-document.execCommand("Paste");
-Markup.dump(div, 'After paste');
-document.execCommand("InsertHTML", false, "world");
-Markup.dump(div, 'After inserting "world"');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698