Closed Bug 817671 Opened 13 years ago Closed 13 years ago

[AccessFu] Fix window scrolling

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: eeejay, Assigned: eeejay)

Details

Attachments

(1 file)

The scroll() method takes an absolute value (scroll to position), not a relative value (scroll by value). Currently the latter is done.
Above a mean the DOM window.scroll()
Attachment #687838 - Flags: review?(dbolter)
Comment on attachment 687838 [details] [diff] [review] Fix window scrolling Review of attachment 687838 [details] [diff] [review]: ----------------------------------------------------------------- r=me. I haven't tested. ::: accessible/src/jsat/content-script.js @@ -191,5 @@ > // Scroll window. > if (!horiz && content.scrollMaxY && > ((page > 0 && content.scrollY < content.scrollMaxY) || > (page < 0 && content.scrollY > 0))) { > - content.scroll(0, content.innerHeight); Heh. That was funny :)
Attachment #687838 - Flags: review?(dbolter) → review+
Assignee: nobody → eitan
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: