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

Fix various :hover effects in the findbar (PR 11077 follow-up) #12300

Merged
merged 1 commit into from
Aug 30, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

This patch:

  • Removes the :hover effect from the findMsg element, since it's a simple span and clicking it obviously does nothing.
  • Given the way that the checkboxes are visually hidden, with opacity: 0; and absolute positioning, they are unfortunately still focusable (fixed by adding pointer-events: none;). To reproduce this, in master: Place the mouse pointer over the upper left-hand corner of the "Highlight all"-option, and notice that the :hover effect vanishes and clicking toggles the "Match case"-option instead.

This patch:
 - Removes the :hover effect from the `findMsg` element, since it's a simple span and clicking it *obviously* does nothing.
 - Given the way that the checkboxes are visually hidden, with `opacity: 0;` and absolute positioning, they are unfortunately still focusable (fixed by adding `pointer-events: none;`). To reproduce this, in `master`: Place the mouse pointer over the upper left-hand corner of the "Highlight all"-option, and notice that the :hover effect vanishes and clicking toggles the "Match case"-option instead.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/2cce11762ead355/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/2cce11762ead355/output.txt

Total script time: 3.29 mins

Published

@timvandermeij timvandermeij merged commit d1cc382 into mozilla:master Aug 30, 2020
@timvandermeij
Copy link
Contributor

Looks good. Thanks!

@Snuffleupagus Snuffleupagus deleted the findbar-hover branch August 30, 2020 14:27
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