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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/return-key-with-selection-003.html

Issue 2293783002: Convert editing/inserting/return-key-with-selection-00[123].html to use w3c test harness (Closed)
Patch Set: 2016-08-30T17:29:28 Created 4 years, 4 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/inserting/return-key-with-selection-003.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/return-key-with-selection-003.html b/third_party/WebKit/LayoutTests/editing/inserting/return-key-with-selection-003.html
deleted file mode 100644
index 186843d800b470442355bd4de785225cde612349..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/inserting/return-key-with-selection-003.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-<head>
-
-<style>
-.editing {
- border: 2px solid red;
- font-size: 24px;
-}
-.explanation {
- border: 2px solid blue;
- padding: 12px;
- font-size: 24px;
- margin-bottom: 24px;
-}
-.scenario { margin-bottom: 16px;}
-.scenario:first-line { font-weight: bold; margin-bottom: 16px;}
-.expected-results:first-line { font-weight: bold }
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
- moveSelectionForwardByLineCommand();
- for (i = 0; i < 3; i++)
- extendSelectionForwardByCharacterCommand();
- insertParagraphCommand();
-}
-
-</script>
-
-<title>Editing Test</title>
-</head>
-<body>
-
-<div class="explanation">
-<div class="scenario">
-Tests:
-<br>
-A scenario I thought of based on my experiences with this bug:
-<a href="rdar://problem/4045521">&lt;rdar://problem/4045521&gt;</a> Hitting return key with full line selected does not add blank line as it should
-</div>
-<div class="expected-results">
-Expected Results:
-<br>
-Should see this content in the red box below (note that there should be two blank lines between "foo" and "baz"; also note that the insertion point should be at the start of the third line, a blank line):
-<div>foo</div><div><br></div><div><br></div><div>baz</div>
-</div>
-</div>
-
-<div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
-<div id="test" class="editing" spellcheck="false">
-<div spellcheck="true">foo</div><div>bar</div><div>baz</div>
-</div>
-</div>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698