зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1353992: Re-enable test_flexbox_focus_order.html on mac, with pref-tweak to allow links to be focused with 'tab' there. (no review, test-only)
MozReview-Commit-ID: B6J2QUoMdyx
This commit is contained in:
Родитель
8ff3505864
Коммит
88cfb5bbcf
|
@ -190,7 +190,6 @@ skip-if = toolkit == 'android' #bug 536603
|
||||||
[test_flexbox_flex_grow_and_shrink.html]
|
[test_flexbox_flex_grow_and_shrink.html]
|
||||||
[test_flexbox_flex_shorthand.html]
|
[test_flexbox_flex_shorthand.html]
|
||||||
[test_flexbox_focus_order.html]
|
[test_flexbox_focus_order.html]
|
||||||
skip-if = toolkit == 'cocoa' # bug 1353992
|
|
||||||
[test_flexbox_layout.html]
|
[test_flexbox_layout.html]
|
||||||
support-files = flexbox_layout_testcases.js
|
support-files = flexbox_layout_testcases.js
|
||||||
[test_flexbox_order.html]
|
[test_flexbox_order.html]
|
||||||
|
|
|
@ -68,8 +68,14 @@ function doTest() {
|
||||||
SimpleTest.finish();
|
SimpleTest.finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Before we start, we have to bump Mac to make its 'tab'-key focus behavior
|
||||||
|
// predicatble:
|
||||||
|
function begin() {
|
||||||
|
SpecialPowers.pushPrefEnv({ set: [[ "accessibility.tabfocus", 7 ]] }, doTest);
|
||||||
|
}
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
addLoadEvent(doTest);
|
addLoadEvent(begin);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче