| Index: third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-unselectable.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unselectable.html b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-unselectable.html
|
| similarity index 61%
|
| copy from third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unselectable.html
|
| copy to third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-unselectable.html
|
| index a393da64c540fa2a5aa7a588f9e0493daad22e5d..c83e6e13f8fcc1c6048ca5afa14e0526e988cfb6 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unselectable.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-unselectable.html
|
| @@ -4,15 +4,13 @@
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| -Here is a text node you can't select.
|
| -<dialog>I'm selectable.</dialog>
|
| + <div inert>Here is a text node you can't select.</div>
|
| + <div>I'm selectable.</div>
|
| <script>
|
| -description('Test that inert nodes cannot be selected. The test passes if the only text you can select is inside the dialog.');
|
| -
|
| -dialog = document.querySelector('dialog');
|
| -dialog.showModal();
|
| document.execCommand('SelectAll');
|
| shouldBeEqualToString('window.getSelection().toString()', "I'm selectable.");
|
| +
|
| +description('Test that inert nodes cannot be selected. The test passes if the only text you can select is inside the non-inert div.');
|
| </script>
|
| </body>
|
| </html>
|
|
|