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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2250523003: Implement SANACLAP (http://bit.ly/sanaclap). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kill AnchorPoint Created 4 years, 4 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 20681097384728f6e84ccc056967ab3512b3b711..1811e49f20fe9ada08b32baa261a4a0c21aa4fbb 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -872,6 +872,9 @@ void ComputedStyle::updatePropertySpecificDifferences(const ComputedStyle& other
diff.setTextDecorationOrColorChanged();
}
}
+
+ if (diff.needsLayout() || diff.transformChanged())
ojan 2016/08/16 23:54:32 A couple thoughts on this. 1. You need to also che
Bugs Nash 2016/08/17 02:08:46 Isn't that already checked via diff.needsLayout()?
skobes 2016/08/17 18:50:32 As bugsnash noted, needsLayout includes this.
+ diff.setLayoutAffectingPropertyChanged();
}
void ComputedStyle::addPaintImage(StyleImage* image)

Powered by Google App Engine
This is Rietveld 408576698