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

Prevent .visibleMediumView from overriding already hidden elements (issue 18704, PR 18596 follow-up) #18707

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

Snuffleupagus
Copy link
Collaborator

Please note: As a general rule we probably don't need to fix things affecting custom implementations of the default viewer, but in this case a "targeted" fix seem possible that shouldn't (famous last words) break anything else.

Ensure that the .visibleMediumView class, which is used when the viewer becomes narrow, cannot override the display-value for DOM elements that are being explicitly hidden either through the associated attribute or class.

…(issue 18704, PR 18596 follow-up)

*Please note:* As a general rule we probably don't need to fix things affecting *custom* implementations of the default viewer, but in this case a "targeted" fix seem possible that shouldn't (famous last words) break anything else.

Ensure that the `.visibleMediumView` class, which is used when the viewer becomes narrow, cannot override the `display`-value for DOM elements that are being *explicitly* hidden either through the associated attribute or class.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/6258a1670d0836e/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/6258a1670d0836e/output.txt

Total script time: 1.01 mins

Published

@timvandermeij timvandermeij merged commit 5785494 into mozilla:master Sep 8, 2024
6 checks passed
@timvandermeij
Copy link
Contributor

Thank you!

@zhaojjiang
Copy link

thanks!

@Snuffleupagus Snuffleupagus deleted the pr-18596-followup branch September 8, 2024 10:22
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.

[Bug]: web viewer style for [hidden] not work correctly
4 participants