From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/attributes.js | 5 +---- accessible/tests/mochitest/role/test_dpub_aria.html | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'accessible/tests/mochitest') 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 @@
noteref
notice
pagebreak
+ +
pageheader
pagelist
part
preface
-- cgit v1.2.3