Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the customScaleOption disabled to prevent it being keyboard accessible (bug 1315608) #7792

Merged
merged 1 commit into from
Nov 8, 2016
Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Given that the customScaleOption should already be hidden, provided that the browser supports that, this patch also prevents it from being accessible via the keyboard.
As far as my testing goes in various browsers, this doesn't seem to have any ill effects, and note that we're already explicitly ignoring the custom value in the select event handler.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1315608.

…cessible (bug 1315608)

Given that the `customScaleOption` should already be hidden, provided that the browser supports that, this patch also prevents it from being accessible via the keyboard.
As far as my testing goes in various browsers, this doesn't seem to have any ill effects, and note that we're already explicitly ignoring the `custom` value in the `select` event handler.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1315608.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Nov 8, 2016

From: Bot.io (Linux)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/75dcb876fbb2411/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 8, 2016

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/75dcb876fbb2411/output.txt

Total script time: 2.64 mins

Published

@timvandermeij timvandermeij merged commit 2f5170f into mozilla:master Nov 8, 2016
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the bug-1315608 branch November 8, 2016 22:02
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Make the `customScaleOption` disabled to prevent it being keyboard accessible (bug 1315608)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants