Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Unified Diff: Source/core/style/StyleDifference.h

Issue 1332233002: Invalidate whitespace text on text color changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TextOrColorChanged -> TextDecorationOrColorChanged Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleDifference.h
diff --git a/Source/core/style/StyleDifference.h b/Source/core/style/StyleDifference.h
index 539c3027df9478dff7c0893127243ba9f23deb82..360642f7a45780e0f369111b07e80fcb8d5ee213 100644
--- a/Source/core/style/StyleDifference.h
+++ b/Source/core/style/StyleDifference.h
@@ -19,8 +19,8 @@ public:
ZIndexChanged = 1 << 2,
FilterChanged = 1 << 3,
BackdropFilterChanged = 1 << 4,
- // The object needs to issue paint invalidations if it contains text or properties dependent on color (e.g., border or outline).
- TextOrColorChanged = 1 << 5,
+ // The object needs to issue paint invalidations if it is affected by text decorations or properties dependent on color (e.g., border or outline).
+ TextDecorationOrColorChanged = 1 << 5,
// If you add a value here, be sure to update the number of bits on m_propertySpecificDifferences.
};
@@ -81,8 +81,8 @@ public:
bool backdropFilterChanged() const { return m_propertySpecificDifferences & BackdropFilterChanged; }
void setBackdropFilterChanged() { m_propertySpecificDifferences |= BackdropFilterChanged; }
- bool textOrColorChanged() const { return m_propertySpecificDifferences & TextOrColorChanged; }
- void setTextOrColorChanged() { m_propertySpecificDifferences |= TextOrColorChanged; }
+ bool textDecorationOrColorChanged() const { return m_propertySpecificDifferences & TextDecorationOrColorChanged; }
+ void setTextDecorationOrColorChanged() { m_propertySpecificDifferences |= TextDecorationOrColorChanged; }
private:
enum PaintInvalidationType {
« no previous file with comments | « Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698