1. 17 Jun, 2020 1 commit
  2. 29 May, 2020 1 commit
    • Hiroyuki Ikezoe's avatar
      Bug 1640223 - Expand the given size in ExpandHeightForViewportUnits by... · 935fac58
      Hiroyuki Ikezoe authored
      Bug 1640223 - Expand the given size in ExpandHeightForViewportUnits by multiplying the 'vh value / visible area height'. r=botond
      
      The viewport units size doesn't match the aspect ratio of the screen size in
      some cases.
      
      For example, in the case of the reftest in this commit, the meta viewport is
      "width=1600, height=device-height" and the screen size during reftest is
      "800x1000". Thus the viewport units size will be "1600x1000". In such cases
      with the old way ExpandHeightForViewportUnits shrinks the given size
      "1600x1800" to "1600x1000" with 100px dynamic toolbar max height (and the
      MOZ_ASSERT in the function happens on debug builds).
      
      Differential Revision: https://phabricator.services.mozilla.com/D77176
      935fac58
  3. 14 May, 2020 1 commit
  4. 12 May, 2020 5 commits
  5. 05 May, 2020 7 commits
  6. 04 May, 2020 1 commit
  7. 27 Apr, 2020 1 commit
  8. 28 Apr, 2020 8 commits
  9. 07 Apr, 2020 1 commit
  10. 28 Mar, 2020 1 commit
  11. 23 Mar, 2020 2 commits
  12. 09 Mar, 2020 1 commit
    • Andrew Osmond's avatar
      Bug 1618345 - Enforce proper color management by splitting gfx::Color into... · 91b071ed
      Andrew Osmond authored
      Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
      
      gfx::Color is currently misused in many places. The DrawTargets expect
      the color space to be in device space, e.g. what we are actually going
      to draw using. Everything sitting above generally deals with sRGB, as
      specified in CSS. Sometimes we missed the conversion from sRGB to device
      space when issuing draw calls, and similarly sometimes we converted the
      color to device space twice.
      
      This patch splits the type in two. sRGBColor and DeviceColor now
      represent sRGB and device color spaces respectively. DrawTarget only
      accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
      the ToDeviceColor helper API. The reftests now pass with color
      management enabled for everything (e.g. CSS) instead of just tagged
      raster images.
      
      There will be a follow up patch to enable color management everywhere by
      default on all supported platforms.
      
      Differential Revision: https://phabricator.service...
      91b071ed
  13. 21 Feb, 2020 1 commit
  14. 20 Feb, 2020 2 commits
  15. 11 Feb, 2020 1 commit
  16. 07 Feb, 2020 1 commit
  17. 01 Feb, 2020 1 commit
  18. 30 Jan, 2020 1 commit
  19. 24 Jan, 2020 1 commit
  20. 16 Dec, 2019 1 commit
  21. 09 Dec, 2019 1 commit