зеркало из https://github.com/mozilla/gecko-dev.git
a2901df84e
This commit: - Makes the window controls have exactly the same height as tabs when the menubar is hidden, and have the same height as the menubar when it is shown. This requires us to remove the menubar height before flushing layout in case it is shown, since we need its original height for the calculation. - Removes the top margin between the menu bar and the window border that was present on Windows 10 and makes it apply on Windows 7 only. The border was causing miscalculations of the window control height, which could have been handled in browser-tabsintitlebar.js, but since it's not part of the Photon spec we decide to remove it entirely. - Makes window control height calculations ignore vertical tabs toolbar margins. The only margin it has right now is -1px and the calculation code doesn't work right with negative margins. MozReview-Commit-ID: HJXxUUJFX8x --HG-- extra : rebase_source : fdb5db7e5b410cb45cef054d5cbec41048211f75 |
||
---|---|---|
.. | ||
content | ||
jar.mn | ||
moz.build |