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); |