gecko-dev/browser/base
Johann Hofmann a2901df84e Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
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
2017-08-09 14:36:01 +01:00
..
content Bug 1375335 - Fix window control height calculation on Windows 10. r=dao 2017-08-09 14:36:01 +01:00
jar.mn Bug 1389963 - Backout "Bug 1377911 - Move the override chrome entries from language manifests to product manifests." r=gandalf 2017-08-13 11:16:05 -07:00
moz.build Bug 1371219 - Add a test for touchmode on toolbar menus. r=mikedeboer 2017-07-19 14:19:21 +02:00