From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../tests/mochitest/hyperlink/test_general.html | 279 +++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 accessible/tests/mochitest/hyperlink/test_general.html (limited to 'accessible/tests/mochitest/hyperlink/test_general.html') diff --git a/accessible/tests/mochitest/hyperlink/test_general.html b/accessible/tests/mochitest/hyperlink/test_general.html new file mode 100644 index 0000000000..c652f1d962 --- /dev/null +++ b/accessible/tests/mochitest/hyperlink/test_general.html @@ -0,0 +1,279 @@ + + + + + nsIHyperLinkAccessible chrome tests + + + + + + + + + + + + + + + +Mozilla Bug 418368

+  

Simple link:
Mozilla Foundation
ARIA link:
Mozilla Foundation Home
Invalid, non-focusable hyperlink:
Invalid link
Image map:
ba
Empty link:

Link with embedded span
Heise Online
Named anchor, must not have "linked" state for it to be exposed correctly:
This should never be of state_linked
Link having no attributes, must not have "linked" state:This should never be of state_linked
Link with registered 'click' event: This should have state_linked
Link with title attribute (no name from subtree):
Link with title attribute (name from subtree): the name from subtree
Link with title attribute (name from nested image): The title for link

Map that is used to group links (www.w3.org/TR/WCAG10-HTML-TECHS/#group-bypass), also see the bug 431615:
+ -- cgit v1.2.3