summaryrefslogtreecommitdiff
path: root/accessible
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-06 16:31:36 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-06 16:31:36 +0000
commit0e6a9cc60aeb754e00e466ce20052d2fa9ccb7f9 (patch)
treeec4cb347e7cb522e098115abf09e7d2652366148 /accessible
parent4681e04dc5263a6cbb3f76ae20b0e44509bfee7b (diff)
downloaduxp-0e6a9cc60aeb754e00e466ce20052d2fa9ccb7f9.tar.gz
Issue #1705 - Part 3: Rename ScrollbarStyles to ScrollStyles.
ScrollbarStyles contains values of overflow, (over)scroll-behavior, etc. The only one which is marginally related to scroll _bars_ is overflow, which can be used to hide scrollbar (by making an element not scrollable) or enforce the scrollbar to display. It makes more sense to be called ScrollStyles as it's mainly concerning behavior of scrolling, not scrollbars. Also, with the addition of scrollbar width properties, the current name can be confusing.
Diffstat (limited to 'accessible')
-rw-r--r--accessible/tests/mochitest/treeupdate/test_cssoverflow.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/accessible/tests/mochitest/treeupdate/test_cssoverflow.html b/accessible/tests/mochitest/treeupdate/test_cssoverflow.html
index ed9edd66e5..911299af00 100644
--- a/accessible/tests/mochitest/treeupdate/test_cssoverflow.html
+++ b/accessible/tests/mochitest/treeupdate/test_cssoverflow.html
@@ -67,7 +67,7 @@
* Change scrollbar styles from hidden to auto. That makes us to create an
* accessible for scroll area.
*/
- function changeScrollbarStyles(aContainerID, aScrollAreaID)
+ function changeScrollStyles(aContainerID, aScrollAreaID)
{
this.container = getAccessible(aContainerID);
this.scrollAreaNode = getNode(aScrollAreaID);
@@ -77,7 +77,7 @@
new invokerChecker(EVENT_REORDER, this.container)
];
- this.invoke = function changeScrollbarStyles_invoke()
+ this.invoke = function changeScrollStyles_invoke()
{
var accTree =
{ SECTION: [] };
@@ -86,7 +86,7 @@
this.scrollAreaNode.style.overflow = "auto";
}
- this.finalCheck = function changeScrollbarStyles_finalCheck()
+ this.finalCheck = function changeScrollStyles_finalCheck()
{
var accTree =
{ SECTION: [ // container
@@ -95,7 +95,7 @@
testAccessibleTree(this.container, accTree);
}
- this.getID = function changeScrollbarStyles_getID()
+ this.getID = function changeScrollStyles_getID()
{
return "change scrollbar styles " + prettyName(aScrollAreaID);
}
@@ -114,7 +114,7 @@
gQueue = new eventQueue();
gQueue.push(new changeScrollRange("container", "scrollarea"));
- gQueue.push(new changeScrollbarStyles("container2", "scrollarea2"));
+ gQueue.push(new changeScrollStyles("container2", "scrollarea2"));
gQueue.invoke(); // Will call SimpleTest.finish();
}