1. 30 May, 2020 1 commit
  2. 06 May, 2020 1 commit
  3. 28 Apr, 2020 1 commit
  4. 17 Mar, 2020 1 commit
  5. 24 Feb, 2020 1 commit
  6. 21 Nov, 2019 1 commit
    • Hiroyuki Ikezoe's avatar
      Bug 1586986 - Fire visual viewport resize events and flush position:fixed... · 7afdb848
      Hiroyuki Ikezoe authored
      Bug 1586986 - Fire visual viewport resize events and flush position:fixed elements' layout in the same way what Chrome does. r=botond
      
      On Chrome, visual viewport resize event is fired repeatedly during dynamic
      toolbar transitions and visual viewport height obtained by the VisualViewport
      API is also changed, but in terms of layout the height value is never used
      until the dynamic toolbar height reaches to zero or is changed from zero.
      The height used at the time is the height for vh units when the toolbar height
      reaches to zero and the ICB height when the toolbar height is changed from zero.
      To do so, we need to have another visual viewport size in parallel to the
      original one and use them depending on situations.
      
      Differential Revision: https://phabricator.services.mozilla.com/D52338
      
      --HG--
      extra : moz-landing-system : lando
      7afdb848
  7. 14 Nov, 2019 1 commit
  8. 25 Sep, 2019 2 commits
    • Emilio Cobos Álvarez's avatar
      Bug 1551659 - Remove MVMContext::ResizeEventFlag and related code. r=botond,hiro · 161cb16c
      Emilio Cobos Álvarez authored
      D46944 / bug 1583534 is what fixes the root cause of bug 1528052 by not
      having the first call to ResizeReflow have a wrong old size of 0x0.
      
      This removes the code that bug introduces to suppress resize events, which
      fixes this bug. I think our behavior now is pretty sane.
      
      In particular, consider the test-case:
      
      <!doctype html>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <a href="" target="_blank">Open me in a separate tab</a>
      <pre id="log"></pre>
      <script>
        // This shouldn't be needed, but otherwise Fenix doesn't show the tooltip on
        // longpress...
        document.querySelector("a").href = location.href;
      
        function logSize() {
          log.innerText += window.innerWidth + "x" + window.innerHeight + "\n";
        }
        logSize();
        onresize = logSize;
      </script>
      
      (Hosted at https://crisal.io/tmp/gecko-mobile-resize.html for convenience)
      
      Right now on trunk, when you click the link from GVE or Fenix, we're only
      getting an initial size of 0x0 (which is not great, btw), and only after first
      paint we get the real device size, but content doesn't get a resize event.
      
      This is obviously wrong, every time the layout viewport changes we should fire
      resize events.
      
      Pages that get opened in new tabs and get refreshed when resized may get an
      extra reload with this approach, but this seems not avoidable unless widget sets
      the viewport size right in advance (which from discussion with snorp and agi
      doesn't seem possible in the general case).
      
      What used to happen is that we were triggering a redundant resize reflow from
      the initial paint which didn't update the layout viewport (because the content
      viewer and co had the right viewport from the previous navigation).
      
      Now that we optimize those away, I think our behavior should be correct.
      
      Differential Revision: https://phabricator.services.mozilla.com/D46956
      
      --HG--
      extra : moz-landing-system : lando
      161cb16c
    • Emilio Cobos Álvarez's avatar
      Bug 1583534 - Further simplify PresShell::ResizeReflow. r=botond · 848d89d6
      Emilio Cobos Álvarez authored
      In particular, not let ResizeReflow take the old and new size. Most of the
      callers pass dummy values anyway.
      
      Instead, use the old size of the layout viewport. This ensures we fire resize
      events only if the layout viewport actually changes.
      
      This is important because the first resize of the mobile viewport manager
      after a navigation has an "old size" of 0x0, even though the layout viewport
      is initialized on presshell initialization to the right size.
      
      Thus, we fire resize events unnecessarily in that case, which is the root cause
      for bug 1528052.
      
      To do this, we need to shuffle a bit of code in nsDocumentViewer that deals with
      delayed resizes, to set the visible area _and_ invalidate layout, rather than
      setting the visible area and _then_ relying on doing a resize reflow.
      
      Further cleanup is possible, though not required for my android resizing fix, so
      will do separately.
      
      Differential Revision: https://phabricator.services.mozilla.com/D46944
      
      --HG--
      extra : moz-landing-system : lando
      848d89d6
  9. 21 Aug, 2019 2 commits
  10. 12 Aug, 2019 3 commits
  11. 31 Jul, 2019 1 commit
  12. 26 Jul, 2019 1 commit
  13. 27 Jul, 2019 1 commit
  14. 25 Jul, 2019 2 commits
  15. 23 Jul, 2019 2 commits
  16. 22 Jul, 2019 1 commit
  17. 04 Jun, 2019 1 commit
    • Mihai Alexandru Michis's avatar
      Backed out 4 changesets (bug 1555511) for devtools failures at... · 09cd19a7
      Mihai Alexandru Michis authored
      Backed out 4 changesets (bug 1555511) for devtools failures at browser_viewport_resizing_minimum_scale.js CLOSED TREE
      
      Backed out changeset 80b9b4eb8305 (bug 1555511)
      Backed out changeset d9ce18a4d7cd (bug 1555511)
      Backed out changeset 5e9e587d0622 (bug 1555511)
      Backed out changeset 24e136f27469 (bug 1555511)
      09cd19a7
  18. 03 Jun, 2019 3 commits
  19. 31 May, 2019 2 commits
  20. 04 Jun, 2019 2 commits
  21. 05 Jun, 2019 1 commit
    • Andreea Pavel's avatar
      Backed out 4 changesets (bug 1555511) for failing dt at... · 33de3358
      Andreea Pavel authored
      Backed out 4 changesets (bug 1555511) for failing dt at browser_boxmodel_pseudo-element.js on a CLOSED TREE
      
      Backed out changeset e0cd61fa79ed (bug 1555511)
      Backed out changeset 8c6e5561abed (bug 1555511)
      Backed out changeset 2a85e3af81bb (bug 1555511)
      Backed out changeset 262d2cad6407 (bug 1555511)
      33de3358
  22. 04 Jun, 2019 2 commits
  23. 26 May, 2019 1 commit
  24. 25 May, 2019 1 commit
    • Gurzau Raul's avatar
      Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE. · 967bc2a7
      Gurzau Raul authored
      Backed out changeset e30c1aa75529 (bug 1552643)
      Backed out changeset caadcd7e02d3 (bug 1552643)
      Backed out changeset aa7086ab09be (bug 1552643)
      Backed out changeset 0b4029671710 (bug 1550422)
      Backed out changeset a16295296035 (bug 1550422)
      Backed out changeset 3b70307c0db5 (bug 1550422)
      Backed out changeset 69df7818d4a3 (bug 1550422)
      Backed out changeset d98dfc565927 (bug 1550422)
      Backed out changeset 6f0997976944 (bug 1550422)
      Backed out changeset 0edd264464c2 (bug 1550422)
      Backed out changeset 9ea6da7a74ec (bug 1550422)
      Backed out changeset f855f9309c8b (bug 1550422)
      Backed out changeset 1033546224a7 (bug 1550422)
      Backed out changeset ade7384c6186 (bug 1550422)
      Backed out changeset 75b04de7e99c (bug 1550422)
      Backed out changeset 91c3acdb2454 (bug 1550422)
      Backed out changeset 77d2f80257d1 (bug 1550422)
      Backed out changeset e0cd10d35327 (bug 1550422)
      Backed out changeset 097091082423 (bug 1550422)
      Backed out changeset 2f328853c1ab (bug 1550422)
      Backed out changeset f92f2cc29cb1 (bug 1550422)
      Backed out changeset 6dc82f88333d (bug 1550422)
      Backed out changeset c20f66494d69 (bug 1550422)
      Backed out changeset 2ba22cddeb6f (bug 1550422)
      Backed out changeset 3aa72f89e295 (bug 1550422)
      Backed out changeset ab4c4e806977 (bug 1550422)
      Backed out changeset 72e5de040dda (bug 1550422)
      Backed out changeset 7d3c2d486706 (bug 1550422)
      Backed out changeset 132e0b8d8468 (bug 1550422)
      Backed out changeset 54c85ac75dd0 (bug 1550422)
      Backed out changeset d7ba4a18dd54 (bug 1550422)
      967bc2a7
  25. 24 May, 2019 1 commit
  26. 23 May, 2019 1 commit
    • Gurzau Raul's avatar
      Backed out 28 changesets (bug 1550422) for marionette AssertionError and... · 74c55553
      Gurzau Raul authored
      Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
      
      Backed out changeset 5dd10a365ba9 (bug 1550422)
      Backed out changeset 529f5be01ab9 (bug 1550422)
      Backed out changeset b6861d3badf8 (bug 1550422)
      Backed out changeset 059cff1a3dde (bug 1550422)
      Backed out changeset 6ada1116b241 (bug 1550422)
      Backed out changeset ca67e8e45262 (bug 1550422)
      Backed out changeset a1961a51ae44 (bug 1550422)
      Backed out changeset 1c90b9cb3ad4 (bug 1550422)
      Backed out changeset 285fa46e4f26 (bug 1550422)
      Backed out changeset e2938a444234 (bug 1550422)
      Backed out changeset 7a930fc51125 (bug 1550422)
      Backed out changeset 898ed02804fe (bug 1550422)
      Backed out changeset e1b7abc99ae9 (bug 1550422)
      Backed out changeset f781d415cef6 (bug 1550422)
      Backed out changeset 2fef10a7cce5 (bug 1550422)
      Backed out changeset ea64b4d8d4ff (bug 1550422)
      Backed out changeset 86a8ba1b755c (bug 1550422)
      Backed out changeset 9c0c9e80f309 (bug 1550422)
      Backed out changeset 10c153ddbaea (bug 1550422)
      Backed out changeset 60fe635ec2c9 (bug 1550422)
      Backed out changeset a38796266b28 (bug 1550422)
      Backed out changeset 2db647dcdf1c (bug 1550422)
      Backed out changeset 952ddac02972 (bug 1550422)
      Backed out changeset ba46b53643ec (bug 1550422)
      Backed out changeset ca47ef6c59f7 (bug 1550422)
      Backed out changeset f45f471a1a40 (bug 1550422)
      Backed out changeset 371b4da5b771 (bug 1550422)
      Backed out changeset 02fc78890032 (bug 1550422)
      74c55553
  27. 22 May, 2019 1 commit
  28. 13 May, 2019 1 commit
  29. 29 Apr, 2019 1 commit