diff options
author | Moonchild <moonchild@palemoon.org> | 2020-06-01 14:16:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 14:16:06 +0200 |
commit | 34f8336f191f47e098dd4163454725720471cf3d (patch) | |
tree | 58385636b3b78fd021bf6a121a734e0b3cf84ee7 /accessible | |
parent | aa291892685eb00d513cb4947a682928087687e5 (diff) | |
download | aura-central-34f8336f191f47e098dd4163454725720471cf3d.tar.gz |
Issue mcp-graveyard/UXP%1525 - Kill marquee element
* Remove marquee code
* Regenerate HTML Elements/parser code for Removal of Marquee.
Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
Diffstat (limited to 'accessible')
-rw-r--r-- | accessible/base/ARIAMap.cpp | 10 | ||||
-rw-r--r-- | accessible/mac/mozAccessible.mm | 3 | ||||
-rw-r--r-- | accessible/tests/mochitest/attributes/test_obj.html | 6 | ||||
-rw-r--r-- | accessible/tests/mochitest/role/test_aria.html | 6 |
4 files changed, 0 insertions, 25 deletions
diff --git a/accessible/base/ARIAMap.cpp b/accessible/base/ARIAMap.cpp index c29d37873..3a89cf9ed 100644 --- a/accessible/base/ARIAMap.cpp +++ b/accessible/base/ARIAMap.cpp @@ -347,16 +347,6 @@ static const nsRoleMapEntry sWAIRoleMaps[] = eLandmark, kNoReqStates }, - { // marquee - &nsGkAtoms::marquee, - roles::ANIMATION, - kUseMapRole, - eNoValue, - eNoAction, - eOffLiveAttr, - kGenericAccType, - kNoReqStates - }, { // math &nsGkAtoms::math, roles::FLAT_EQUATION, diff --git a/accessible/mac/mozAccessible.mm b/accessible/mac/mozAccessible.mm index 07868fea6..a02779ef2 100644 --- a/accessible/mac/mozAccessible.mm +++ b/accessible/mac/mozAccessible.mm @@ -732,8 +732,6 @@ using namespace mozilla::a11y; return @"AXDocument"; if (roleAtom == nsGkAtoms::log_) return @"AXApplicationLog"; - if (roleAtom == nsGkAtoms::marquee) - return @"AXApplicationMarquee"; if (roleAtom == nsGkAtoms::math) return @"AXDocumentMath"; if (roleAtom == nsGkAtoms::note_) @@ -869,7 +867,6 @@ static const RoleDescrMap sRoleDescrMap[] = { { @"AXApplicationAlert", NS_LITERAL_STRING("alert") }, { @"AXApplicationAlertDialog", NS_LITERAL_STRING("alertDialog") }, { @"AXApplicationLog", NS_LITERAL_STRING("log") }, - { @"AXApplicationMarquee", NS_LITERAL_STRING("marquee") }, { @"AXApplicationStatus", NS_LITERAL_STRING("status") }, { @"AXApplicationTimer", NS_LITERAL_STRING("timer") }, { @"AXContentSeparator", NS_LITERAL_STRING("separator") }, diff --git a/accessible/tests/mochitest/attributes/test_obj.html b/accessible/tests/mochitest/attributes/test_obj.html index 9e147e1d1..0706dd408 100644 --- a/accessible/tests/mochitest/attributes/test_obj.html +++ b/accessible/tests/mochitest/attributes/test_obj.html @@ -62,7 +62,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 testAbsentAttrs("live3", {"live" : ""}); testAttrs("log", {"live" : "polite"}, true); testAttrs("logAssertive", {"live" : "assertive"}, true); - testAttrs("marquee", {"live" : "off"}, true); testAttrs("status", {"live" : "polite"}, true); testAttrs("timer", {"live" : "off"}, true); testAbsentAttrs("tablist", {"live" : "polite"}); @@ -72,7 +71,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 testAttrs("live2Child", {"container-live" : "polite"}, true); testAttrs("logChild", {"container-live" : "polite"}, true); testAttrs("logAssertiveChild", {"container-live" : "assertive"}, true); - testAttrs("marqueeChild", {"container-live" : "off"}, true); testAttrs("statusChild", {"container-live" : "polite"}, true); testAttrs("timerChild", {"container-live" : "off"}, true); testAbsentAttrs("tablistChild", {"container-live" : "polite"}); @@ -80,13 +78,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 // container-live-role object attribute testAttrs("log", {"container-live-role" : "log"}, true); testAttrs("logAssertive", {"container-live-role" : "log"}, true); - testAttrs("marquee", {"container-live-role" : "marquee"}, true); testAttrs("status", {"container-live-role" : "status"}, true); testAttrs("timer", {"container-live-role" : "timer"}, true); testAttrs("logChild", {"container-live-role" : "log"}, true); testAttrs("logAssertive", {"container-live-role" : "log"}, true); testAttrs("logAssertiveChild", {"container-live-role" : "log"}, true); - testAttrs("marqueeChild", {"container-live-role" : "marquee"}, true); testAttrs("statusChild", {"container-live-role" : "status"}, true); testAttrs("timerChild", {"container-live-role" : "timer"}, true); testAbsentAttrs("tablistChild", {"container-live-role" : "tablist"}); @@ -230,11 +226,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 <!-- back to aria --> <div id="live" aria-live="polite">excuse <div id="liveChild">me</div></div> - <div id="live2" role="marquee" aria-live="polite">excuse <div id="live2Child">me</div></div> <div id="live3" role="region">excuse</div> <div id="log" role="log">excuse <div id="logChild">me</div></div> <div id="logAssertive" role="log" aria-live="assertive">excuse <div id="logAssertiveChild">me</div></div> - <div id="marquee" role="marquee">excuse <div id="marqueeChild">me</div></div> <div id="status" role="status">excuse <div id="statusChild">me</div></div> <div id="tablist" role="tablist">tablist <div id="tablistChild">tab</div></div> <div id="timer" role="timer">excuse <div id="timerChild">me</div></div> diff --git a/accessible/tests/mochitest/role/test_aria.html b/accessible/tests/mochitest/role/test_aria.html index 22021fa57..482ce4327 100644 --- a/accessible/tests/mochitest/role/test_aria.html +++ b/accessible/tests/mochitest/role/test_aria.html @@ -41,7 +41,6 @@ testRole("aria_listbox", ROLE_LISTBOX); testRole("aria_listitem", ROLE_LISTITEM); testRole("aria_log", ROLE_TEXT); // weak role - testRole("aria_marquee", ROLE_ANIMATION); testRole("aria_math", ROLE_FLAT_EQUATION); testRole("aria_menu", ROLE_MENUPOPUP); testRole("aria_menubar", ROLE_MENUBAR); @@ -89,9 +88,6 @@ testRole("log_table", ROLE_TABLE); testRole("timer_div", ROLE_SECTION); - // other roles that are forms of "live regions" - testRole("marquee_h1", ROLE_ANIMATION); - // strong landmark testRole("application", ROLE_APPLICATION); testRole("form", ROLE_FORM); @@ -219,7 +215,6 @@ <span id="aria_listbox" role="listbox"/> <span id="aria_listitem" role="listitem"/> <span id="aria_log" role="log"/> - <span id="aria_marquee" role="marquee"/> <span id="aria_math" role="math"/> <span id="aria_menu" role="menu"/> <span id="aria_menubar" role="menubar"/> @@ -263,7 +258,6 @@ <table role="log" id="log_table"> <tr><td>Table based log</td></tr> </table> - <h1 role="marquee" id="marquee_h1">marquee</h1> <div role="timer" id="timer_div">timer</div> <!-- landmarks --> |