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

Unified Diff: third_party/WebKit/LayoutTests/editing/style/style-boundary-005.html

Issue 2717333003: Convert editing/style/style-boundary-005.html with assert_selection (Closed)
Patch Set: Created 3 years, 10 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 | third_party/WebKit/LayoutTests/editing/style/style_boundary.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/style/style-boundary-005.html
diff --git a/third_party/WebKit/LayoutTests/editing/style/style-boundary-005.html b/third_party/WebKit/LayoutTests/editing/style/style-boundary-005.html
deleted file mode 100644
index 845fee15e4fdb624146d562b48ff3085fc7b3be0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/style/style-boundary-005.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<html>
-<head>
-
-<style>
-.editing {
- border: 2px solid red;
-}
-.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>
-if (window.internals)
- internals.settings.setEditingBehavior('mac');
-
-function editingTest() {
- moveSelectionForwardByLineCommand();
- boldCommand();
- typeCharacterCommand(' ');
- typeCharacterCommand('f');
- typeCharacterCommand('o');
- typeCharacterCommand('u');
- typeCharacterCommand('r');
- moveSelectionBackwardByLineCommand();
- extendSelectionForwardByWordCommand();
- copyCommand();
- moveSelectionForwardByWordCommand();
- moveSelectionForwardByWordCommand();
- moveSelectionForwardByWordCommand();
- pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title>
-</head>
-<body>
-
-<div class="explanation">
-<div class="scenario">
-Tests:
-<br>
-Pasting at style boundary does not crash or produce empty style span(s).
-</div>
-<div class="expected-results">
-Expected Results:
-<br>
-Should see this content in the red box below:
-<br><div>one two three <b>four</b>one</div>
-</div>
-</div>
-
-<div contenteditable id="root">
-<div id="test" class="editing">one two three</div>
-</div>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/style/style_boundary.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698