1. 16 Jan, 2016 3 commits
    • Benjamin Otte's avatar
      cssnode: Redo GTK_DEBUG=no-css-cache · c904efef
      Benjamin Otte authored
      Previously this setting would just invalidate the whole CSS tree and
      thereby hopefully avoid all cache usage.
      
      Now, we actually don't cause extra invalidations anymore, but instead
      avoid ever inserting anything into the cache when this setting is set.
      c904efef
    • Benjamin Otte's avatar
      cssnode: Implement the style cache · 024429f7
      Benjamin Otte authored
      This essentially copies the previous cache implementation. With one
      caveat: It is now attached to and maintained by the CssNode, not by the
      CssStyle.
      
      And this is important because styles may be reused in incompatible
      situations which would cause cache collisions and lead to broken CSS in
      weird situations.
      024429f7
    • Benjamin Otte's avatar
      cssnode: Split out the style cache · 5d562b6a
      Benjamin Otte authored
      For now, the split out style cache doesn't cache anything. This is
      mostly to make sure that bisections of wrong caching behavior will
      bisect down to the commit that actually adds caching.
      5d562b6a