Index: third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-disabled.html |
diff --git a/third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-disabled.html b/third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-disabled.html |
index 9471bd97ca8cbf53e7ab2c316f3f222ce762dd0b..d730ddafe4074050a3af685c38ecf32b008436e0 100644 |
--- a/third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-disabled.html |
+++ b/third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-disabled.html |
@@ -31,7 +31,7 @@ input:disabled { |
<input type="text" id="parserGeneratedInput9"> |
</fieldset> |
</form> |
- |
+<fieldset tabindex=0 disabled id="fieldset-tabindex"></fieldset> |
<script> |
description('Tests for HTMLFieldSetElement.disabled behavior.'); |
@@ -291,10 +291,15 @@ shouldBe('insertedLegendTextInput.value', '"JJJK"'); |
shouldBe('firstLegendTextInput.value', '"IIK"'); |
shouldBe('secondLegendTextInput.value', '"K"'); |
+var disabledFieldsetWithTabindex = document.getElementById('fieldset-tabindex'); |
+document.activeElement.blur(); |
+shouldBe('disabledFieldsetWithTabindex.focus(); document.activeElement', 'document.body'); |
+ |
document.body.removeChild(document.getElementsByTagName('form')[0]); |
document.body.removeChild(fieldSet); |
document.body.removeChild(outerFieldSet); |
document.body.removeChild(legendFieldSet); |
+document.body.removeChild(disabledFieldsetWithTabindex); |
var successfullyParsed = true; |
</script> |