-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein. CSS3 gradients with em-based stops fail to repaint when font size changes https://bugs.webkit.org/show_bug.cgi?id=51845 Mark as uncacheable gradidients whose color stops depend on font size, and don't attempt to put these into CSSImageGeneratorValue's image cache. This means we return a new gradient each time, which is fairly cheap, and fixes repaint issues under changing font size. Test: fast/repaint/gradients-em-stops-repaint.html * css/CSSGradientValue.cpp: (WebCore::CSSGradientValue::image): (WebCore::CSSGradientValue::isCacheable): * css/CSSGradientValue.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4f8c2fc9