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 toolbarViewer/toolbarContainer regressions (PR 18385, 18786 follow-up) #18831

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

Snuffleupagus
Copy link
Collaborator

  • Use the "correct" toolbar container element in getViewerConfiguration (PR 18385 follow-up)

    With the changes made in PR Refactor the toolbar html & css to improve its overall accessibility (bug 1171799, bug 1855695) #18385 the toolbarViewer element is now shorter than before, since the padding is applied on its toolbarContainer parent-element instead.
    This causes two separate regressions:

    • Clicking at the very top/bottom of the toolbar no longer closes the secondaryToolbar like previously.
    • The CaretBrowsingMode-constructor no longer computes the toolbar-height correctly.

    Given how/where the container-property is being used these changes should thus be safe.

  • Update the CaretBrowsingMode toolbar-height if the toolbarDensity preference changes (PR 18786 follow-up)

    Otherwise the isVisible-calculations may not work correctly.

…n` (PR 18385 follow-up)

With the changes made in PR 18385 the `toolbarViewer` element is now shorter than before, since the padding is applied on its `toolbarContainer` parent-element instead.
This causes two separate regressions:
 - Clicking at the very top/bottom of the toolbar no longer closes the secondaryToolbar like previously.
 - The `CaretBrowsingMode`-constructor no longer computes the toolbar-height correctly.

Given how/where the `container`-property is being used these changes *should* thus be safe.
@Snuffleupagus Snuffleupagus changed the title Toolbar container Fix toolbarViewer/toolbarContainer regressions (PR 18385, 18786 follow-up) Oct 1, 2024
@Snuffleupagus Snuffleupagus force-pushed the toolbar-container branch 2 times, most recently from e9a77f5 to 2ae29ad Compare October 1, 2024 15:50
@mozilla mozilla deleted a comment from moz-tools-bot Oct 1, 2024
@mozilla mozilla deleted a comment from moz-tools-bot Oct 1, 2024
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/6bfc94253394f7f/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 1

Live output at: http://54.193.163.58:8877/338215ddc51fac7/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/6bfc94253394f7f/output.txt

Total script time: 9.71 mins

  • Integration Tests: Passed

web/caret_browsing.js Outdated Show resolved Hide resolved
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/338215ddc51fac7/output.txt

Total script time: 20.72 mins

  • Integration Tests: FAILED

… preference changes (PR 18786 follow-up)

Otherwise the isVisible-calculations may not work correctly.
@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/d9301b54db5404e/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/d9301b54db5404e/output.txt

Total script time: 1.01 mins

Published

@Snuffleupagus Snuffleupagus added the release-blocker Blocker for the upcoming release label Oct 2, 2024
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/8c3a9670387d26a/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/65e4909d7fae0a9/output.txt

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/65e4909d7fae0a9/output.txt

Total script time: 9.65 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/8c3a9670387d26a/output.txt

Total script time: 19.88 mins

  • Integration Tests: FAILED

@Snuffleupagus Snuffleupagus merged commit e25832c into mozilla:master Oct 2, 2024
6 checks passed
@Snuffleupagus Snuffleupagus deleted the toolbar-container branch October 2, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression release-blocker Blocker for the upcoming release viewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants