| Index: third_party/WebKit/LayoutTests/editing/deleting/delete-line-003.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/deleting/delete-line-003.html b/third_party/WebKit/LayoutTests/editing/deleting/delete-line-003.html
|
| index 8bf0bf8796cee37bb8faee75e7204351f1abdcac..32d31ff2cac5f40696fa426b282da9c2b126ea04 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/deleting/delete-line-003.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/deleting/delete-line-003.html
|
| @@ -1,31 +1,11 @@
|
| -<html>
|
| -<head>
|
| -
|
| -<style>
|
| -.editing {
|
| - font-size: 24px;
|
| - width: 600px;
|
| -}
|
| -</style>
|
| -<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
|
| -
|
| +<!doctype HTML>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../assert_selection.js"></script>
|
| <script>
|
| -
|
| -function editingTest() {
|
| - moveSelectionForwardByLineCommand();
|
| - extendSelectionForwardByLineCommand();
|
| - deleteCommand();
|
| -}
|
| -
|
| +test(() => assert_selection(
|
| + '<div contenteditable style="font-size: 24px; width: 600px;">There is a tide^<br>in the affairs of men|<br>Which taken at the flood</div>',
|
| + 'delete',
|
| + '<div contenteditable style="font-size: 24px; width: 600px;">There is a tide|<br>Which taken at the flood</div>'),
|
| + 'Editing test');
|
| </script>
|
| -
|
| -<title>Editing Test</title>
|
| -</head>
|
| -<body contenteditable id="root">
|
| -<div id="test" class="editing">There is a tide<br>in the affairs of men<br>Which taken at the flood</div>
|
| -<script>
|
| -runEditingTest();
|
| -</script>
|
| -
|
| -</body>
|
| -</html>
|
|
|