-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1927111 - Don't rely on static position (top: auto) for urlbar po…
…sition. r=Gijs,sfoster,desktop-theme-reviewers,urlbar-reviewers,mak The static position of these boxes is not great to depend upon, see: w3c/csswg-drafts#9939 Right now, we are relying on the static pos to be properly set which is going to go away, eventually, and it is bogus, because it doesn't update if e.g. only transform changes. Use getBoxQuads to get the content box bounds properly. Also, make breakout position: absolute explicitly, to prevent confusion. Differential Revision: https://phabricator.services.mozilla.com/D226932
- Loading branch information
Showing
2 changed files
with
64 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters