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

Unified Diff: LayoutTests/fast/css/invalidation/style-invalidation-before-attach-expected.html

Issue 273783003: Don't schedule invalidations when attributes changed if not needed or incorrect. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add some styleChangeType() < SubtreeStyleChange checks in ContainerNode. Created 6 years, 7 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: LayoutTests/fast/css/invalidation/style-invalidation-before-attach-expected.html
diff --git a/LayoutTests/fast/css/invalidation/style-invalidation-before-attach-expected.html b/LayoutTests/fast/css/invalidation/style-invalidation-before-attach-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..7994f159bc7460b99401f2060f04db65f3dd9d8c
--- /dev/null
+++ b/LayoutTests/fast/css/invalidation/style-invalidation-before-attach-expected.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<style>
+[attr] div {
+ color: red;
+}
+
+[attr] .baz {
+ color: blue;
+}
+</style>
+
+<div id="a">
+ <div id="bar" attr="attr">
+ <div id="baz" class="baz">
+ This should be blue.
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698