summaryrefslogtreecommitdiffstats
path: root/accessible/tests/mochitest
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/tests/mochitest')
-rw-r--r--accessible/tests/mochitest/attributes.js5
-rw-r--r--accessible/tests/mochitest/role/test_dpub_aria.html6
2 files changed, 6 insertions, 5 deletions
diff --git a/accessible/tests/mochitest/attributes.js b/accessible/tests/mochitest/attributes.js
index ebb5a54b85..65afebd83a 100644
--- a/accessible/tests/mochitest/attributes.js
+++ b/accessible/tests/mochitest/attributes.js
@@ -295,13 +295,10 @@ const kBoldFontWeight = function equalsToBold(aWeight) {
return aWeight > 400;
};
-let isNNT = SpecialPowers.getBoolPref("widget.non-native-theme.enabled");
// The pt font size of the input element can vary by Linux distro.
const kInputFontSize =
- WIN || (MAC && isNNT)
+ WIN || MAC
? "10pt"
- : MAC
- ? "8pt"
: function () {
return true;
};
diff --git a/accessible/tests/mochitest/role/test_dpub_aria.html b/accessible/tests/mochitest/role/test_dpub_aria.html
index 621c86a59b..8294669caf 100644
--- a/accessible/tests/mochitest/role/test_dpub_aria.html
+++ b/accessible/tests/mochitest/role/test_dpub_aria.html
@@ -36,7 +36,7 @@
testRole("doc-epigraph", ROLE_SECTION);
testRole("doc-epilogue", ROLE_LANDMARK);
testRole("doc-errata", ROLE_LANDMARK);
- testRole("doc-example", ROLE_SECTION);
+ testRole("doc-example", ROLE_FIGURE);
testRole("doc-footnote", ROLE_FOOTNOTE);
testRole("doc-foreword", ROLE_LANDMARK);
testRole("doc-glossary", ROLE_LANDMARK);
@@ -46,6 +46,8 @@
testRole("doc-noteref", ROLE_LINK);
testRole("doc-notice", ROLE_NOTE);
testRole("doc-pagebreak", ROLE_SEPARATOR);
+ testRole("doc-pagefooter", ROLE_SECTION);
+ testRole("doc-pageheader", ROLE_SECTION);
testRole("doc-pagelist", ROLE_NAVIGATION);
testRole("doc-part", ROLE_LANDMARK);
testRole("doc-preface", ROLE_LANDMARK);
@@ -101,6 +103,8 @@
<div id="doc-noteref" role="doc-noteref">noteref</div>
<div id="doc-notice" role="doc-notice">notice</div>
<div id="doc-pagebreak" role="doc-pagebreak">pagebreak</div>
+ <div id="doc-pagefooter" role="doc-pagefooter">pagefooter</div>
+ <div id="doc-pageheader" role="doc-pageheader">pageheader</div>
<div id="doc-pagelist" role="doc-pagelist">pagelist</div>
<div id="doc-part" role="doc-part">part</div>
<div id="doc-preface" role="doc-preface">preface</div>