Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html

Issue 138183003: Revert of Make ancestors of modal <dialog> inert (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html b/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html
index 631e6d4d55371378ff013c37822e09d7d2a2573c..66da15803210dd1170833f9494159521a04144f5 100644
--- a/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html
+++ b/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html
@@ -21,8 +21,8 @@
<a id="anchor" href="">Link</a>
</div>
<script>
-description('Test that inert nodes are not focusable. The test passses if only the ' +
- 'topmost dialog and its button are focusable.');
+description('Test that inert nodes are not focusable. The test passses if only the document body ' +
+ 'and the topmost dialog and its button are focusable.');
function testFocus(element, expectFocus) {
focusedElement = null;
@@ -47,7 +47,7 @@
var topDialog = document.getElementById('top-dialog');
topDialog.showModal();
-testFocus(document.body, false);
+testFocus(document.body, true);
testTree(topDialog, true);
testTree(bottomDialog, false);
testTree(document.getElementById('container'), false);

Powered by Google App Engine
This is Rietveld 408576698