Skip to content
  • Emilio Cobos Álvarez's avatar
    Bug 760345 - Remove the last usage of lossy currentcolor. r=heycam · 993731e4
    Emilio Cobos Álvarez authored
    We don't have lossy currentcolor in the style system anymore, except for a
    single property -moz-font-smoothing-background-color.
    
    I could've converted it into a proper StyleColor and thread down all the
    necessary information to the font metrics code.
    
    But it doesn't really seem worth it given it's not exposed to the web, so I just
    did the simplest thing, which is making currentcolor compute to transparent to
    that specific property.
    
    This patch also removes the stores_complex_colors_lossily code and related,
    since now we always can cache computed colors.
    
    Differential Revision: https://phabricator.services.mozilla.com/D26187
    
    --HG--
    extra : moz-landing-system : lando
    993731e4