Skip to content
Snippets Groups Projects
  1. Sep 22, 2021
    • Chris Peterson's avatar
      Bug 1731526 - Fix non-unified build errors in accessible/. r=eeejay · e8232ec5
      Chris Peterson authored
      accessible/base/TreeWalker.cpp:151:10: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]
      accessible/xpcom/xpcAccessibleMacInterface.mm:177:10: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]
      
      Differential Revision: https://phabricator.services.mozilla.com/D126173
      e8232ec5
    • Matt Woodrow's avatar
      Bug 1730314 - Handle opacity flattening within GenerateFallbackData. r=jrmuizel · 33f2ac23
      Matt Woodrow authored
      Other items types that support flattening return false from CanHandleOpacity if their CreateWebRenderCommands implementation will fail. That's really hard to determine in advance for text, so it's simpler to just handle the opacity in the fallback path too.
      
      Differential Revision: https://phabricator.services.mozilla.com/D125634
      33f2ac23
    • Hiroyuki Ikezoe's avatar
      Bug 1727674 - Replace nsLayoutUtils::GetCrossDocParentFrame with... · e0d7cca5
      Hiroyuki Ikezoe authored
      Bug 1727674 - Replace nsLayoutUtils::GetCrossDocParentFrame with nsLayoutUtils::GetCrossDocParentFrameInProcess in nsIFrame::UpdateVisibilitySynchronously. r=tnikkel
      
      Differential Revision: https://phabricator.services.mozilla.com/D125126
      e0d7cca5
    • Hiroyuki Ikezoe's avatar
      Bug 1727674 - Track frame visibility in OOP iframes. r=tnikkel · 5dd44bf2
      Hiroyuki Ikezoe authored
      One caveat is that this change doesn't mean we handle frame visibility in
      iframes in a same manner regardless whether the iframe is out-of-process or not.
      In fact, we handle OOP iframe cases in a slightly different way since in OOP
      iframes if the iframe is invisible because it's scrolled out or some such, then
      we can't tell how far the iframe is from the visible scroll port. For example;
      
      ```
      <div style="height: 100px; overflow: scroll;">
        <div id="spacer" style="width: 100%; height: 200px;"></div>
        <iframe style="height: 100px;"></iframe>
      </div>
      ```
      
      In this case, we consider all frames inside the iframe are invisible because
      the iframe position is out of our frame visibility tracking margins. But if
      the #spacer element's height is 100px, we consider all frames inside the iframe
      viewport are visible if the iframe is in-process iframe, whereas we consider
      all frames are invisible if the iframe is out-of-process iframe.
      
      So in short, the frame visibilityn inside OOP iframes is depending on whether
      the iframe gets painted in the parent document, i.e. depending on display port
      and other factors controlling the paint stuff, the visibility inside in-process
      iframes is depending on same factors for normal scrollable frames.
      
      Differential Revision: https://phabricator.services.mozilla.com/D125125
      5dd44bf2
  2. Sep 21, 2021
Loading