From e5ff62b3c3dd107cccb34c9aa8bbcf6d4e5cfa45 Mon Sep 17 00:00:00 2001 From: James Teh Date: Fri, 17 Jan 2020 05:34:12 +0000 Subject: [PATCH] Bug 1597742: Add tests for HyperTextAccessible::ScrollSubstringToPoint. r=MarcoZ Differential Revision: https://phabricator.services.mozilla.com/D60207 --HG-- extra : moz-landing-system : lando --- accessible/tests/mochitest/scroll/a11y.ini | 1 + .../scroll/test_scrollSubstringToPoint.html | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 accessible/tests/mochitest/scroll/test_scrollSubstringToPoint.html diff --git a/accessible/tests/mochitest/scroll/a11y.ini b/accessible/tests/mochitest/scroll/a11y.ini index 3f58374c93e1..f53bc2973bdd 100644 --- a/accessible/tests/mochitest/scroll/a11y.ini +++ b/accessible/tests/mochitest/scroll/a11y.ini @@ -2,4 +2,5 @@ support-files = !/accessible/tests/mochitest/*.js +[test_scrollSubstringToPoint.html] [test_zoom.html] diff --git a/accessible/tests/mochitest/scroll/test_scrollSubstringToPoint.html b/accessible/tests/mochitest/scroll/test_scrollSubstringToPoint.html new file mode 100644 index 000000000000..e87678dc545c --- /dev/null +++ b/accessible/tests/mochitest/scroll/test_scrollSubstringToPoint.html @@ -0,0 +1,54 @@ + + + + Test scrollSubstringToPoint + + + + + + + + + + + + + + +

+ +
+  
+ +

First paragraph

+

Second paragraph

+

Extra stuff to allow us to scroll down.

+ +