| Index: third_party/WebKit/LayoutTests/fast/dom/inert/inert-label-focus.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-label-focus.html b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-label-focus.html
|
| similarity index 87%
|
| copy from third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-label-focus.html
|
| copy to third_party/WebKit/LayoutTests/fast/dom/inert/inert-label-focus.html
|
| index f98cc72f0b3c98014788f0b7240a4a6f7c6091c8..d32669f1f6e7399b5ffcf886b1f2012245a81176 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-label-focus.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-label-focus.html
|
| @@ -1,11 +1,9 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <script src="../../../resources/js-test.js"></script>
|
| -<label for="submit">Label for Submit</label>
|
| -<dialog>
|
| - <input id="text" type="text">
|
| - <input id="submit" type="submit">
|
| -</dialog>
|
| +<label inert for="submit">Label for Submit</label>
|
| +<input id="text" type="text">
|
| +<input id="submit" type="submit">
|
| <script>
|
| function clickOn(element) {
|
| if (!window.eventSender)
|
| @@ -29,7 +27,6 @@ function clickOn(element) {
|
| description('Tests focusing of an inert label for a non-inert target. label.focus() should send focus ' +
|
| 'to the target, but clicking the label should be the same as clicking on the document body.');
|
|
|
| -document.querySelector('dialog').showModal();
|
| document.querySelector('#text').focus();
|
|
|
| debug('Testing that calling focus() on label sends focus to its target.');
|
|
|