| Index: third_party/WebKit/LayoutTests/editing/selection/extend-by-word-002.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/extend-by-word-002.html b/third_party/WebKit/LayoutTests/editing/selection/extend-by-word-002.html
|
| deleted file mode 100644
|
| index 8dae6a97d82a9c5ba66b31e3163690835e8584d0..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/editing/selection/extend-by-word-002.html
|
| +++ /dev/null
|
| @@ -1,73 +0,0 @@
|
| -<html>
|
| -<head>
|
| -
|
| -<style>
|
| -.editing {
|
| - border: 2px solid red;
|
| - padding: 12px;
|
| - font-size: 24px;
|
| -}
|
| -.cell {
|
| - padding: 12px;
|
| - font-size: 24px;
|
| - height: 48px;
|
| -}
|
| -
|
| -li {
|
| - font-size: 12px;
|
| - font-family: Verdana, Arial, sans-serif;
|
| -}
|
| -
|
| -div.nav {
|
| - width:120px;
|
| - }
|
| -
|
| -ul.menu, ul.menu li {
|
| - margin: 0;padding:0;
|
| - font-size:10px
|
| - }
|
| -ul.menu li { padding: 3px; padding-left: 1.6em; padding-right:5px; text-indent: -1.1em !important; text-indent: -.5em; }
|
| -ul.menu li:first-letter { font-size:20px;line-height:10px; }
|
| -
|
| -</style>
|
| -<title>Editing Test</title>
|
| -</head>
|
| -<body>
|
| -<div id="container">
|
| -<div contenteditable id="root" class="editing" style="width:120px;">
|
| -<ul class="menu" id="test">
|
| -<li>· <a href="detail.asp?cat=7">Appetizers</a></li>
|
| -<li>· <a href="detail.asp?cat=13">Soups & Salads</a></li>
|
| -<li>· <a href="detail.asp?cat=5">Sandwiches & Burgers</a></li>
|
| -<li>· <a href="detail.asp?cat=14">Steak & Ribs</a></li>
|
| -<li>· <a href="detail.asp?cat=11">Seafood</a></li>
|
| -<li>· <a href="detail.asp?cat=17">Combos</a></li>
|
| -</ul>
|
| -</div>
|
| -</div>
|
| -<!--
|
| - Specifically checks test case in bug:
|
| - <rdar://problem/4244976> reproducible hang at ocharleys.com in VisiblePosition::initDownstream
|
| --->
|
| -<script src="../../resources/js-test.js"></script>
|
| -<script>
|
| -function $(id) { return document.getElementById(id); }
|
| -if (window.internals)
|
| - internals.settings.setEditingBehavior('mac');
|
| -var range = document.createRange();
|
| -range.setStart($("test").querySelectorAll("li")[0], 0);
|
| -var selection = window.getSelection();
|
| -selection.removeAllRanges();
|
| -selection.addRange(range);
|
| -for (var i = 0; i < 6; ++i)
|
| - selection.modify('extend', 'forward', 'word');
|
| -shouldBeEqualToString('selection.type', 'Range');
|
| -shouldBe('selection.anchorNode', '$("test").querySelectorAll("li")[0].childNodes[0]');
|
| -shouldBe('selection.anchorOffset', '0');
|
| -shouldBe('selection.focusNode', '$("test").querySelectorAll("li a")[3].firstChild');
|
| -shouldBe('selection.focusOffset', '4');
|
| -if (window.testRunner)
|
| - $('container').outerHTML = '';
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|