Skip to content
Snippets Groups Projects
  1. Nov 24, 2020
  2. Nov 21, 2020
    • Jim Blandy's avatar
      Bug 1678108: Invalidate DisplayItemCache entries when... · 625017f3
      Jim Blandy authored
      Bug 1678108: Invalidate DisplayItemCache entries when nsDisplayItem::RestoreState makes a change. r=miko
      
      Partial fix.
      
      If nsDisplayItem::RestoreState changes the state of an nsDisplayItem, that
      invalidates any prior RetainedItems items sent to WebRender for it, and its
      DisplayItemCache entry is invalid. Clear the cache index in the
      nsDisplayItem.
      
      RetainedDisplayListBuilder::PreProcessDisplayList doesn't have convenient access
      to the DisplayItemCache, so don't clear the cache entry in the DisplayItemCache.
      The cache itself will eventually realize the entry is unused and clear it.
      
      Differential Revision: https://phabricator.services.mozilla.com/D97538
      625017f3
  3. Nov 24, 2020
  4. Nov 18, 2020
  5. Nov 24, 2020
  6. Nov 20, 2020
  7. Nov 24, 2020
    • Masayuki Nakano's avatar
      Bug 1677684 - part 2: Make `ContentCache` cache character rects in last commit... · 85b84f82
      Masayuki Nakano authored
      Bug 1677684 - part 2: Make `ContentCache` cache character rects in last commit composition string for undoing the commit r=m_kato
      
      Usually, IME sets selection and considers candidate list position at starting
      new composition.  However, Apple Japanese IME sometimes consider the candidate
      list position at retrieving the character rects before setting selection.
      Therefore, we need to store last commit string's character rects, but don't
      need to store it in long time because Kakutei-Undo is supported by Japanese
      IMEs and they work only immediately after committing a composition.  E.g.,
      after moving caret, it won't be available.
      
      Depends on D97838
      
      Differential Revision: https://phabricator.services.mozilla.com/D97839
      85b84f82
  8. Nov 23, 2020
Loading