Index: third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html |
similarity index 82% |
copy from third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html |
copy to third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html |
index 72561141896ced902cfa85187b9e5b18cfdb17c6..8b7c9e6824efb6bd8bdebeb0725f15814a114ab1 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html |
@@ -4,10 +4,8 @@ |
<script src="../../../resources/js-test.js"></script> |
</head> |
<body> |
-<span id="not-editable" contenteditable>I'm not editable.</span> |
-<dialog> |
- <span id="editable" contenteditable>I'm editable.</span> |
-</dialog> |
+<span inert id="not-editable" contenteditable>I'm not editable.</span> |
+<span id="editable" contenteditable>I'm editable.</span> |
<script> |
function clickOn(element) |
{ |
@@ -31,10 +29,8 @@ function clickOn(element) |
function test() |
{ |
- description('Test that inert nodes cannot be edited. The test passes if the only text you can edit is in the dialog.'); |
+ description('Test that inert nodes cannot be edited. The test passes if the only text you can edit is in the non-inert element.'); |
- dialog = document.querySelector('dialog'); |
- dialog.showModal(); |
notEditable = document.querySelector('#not-editable'); |
editable = document.querySelector('#editable'); |