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

Unified Diff: LayoutTests/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html

Issue 946993002: Avoid style invalidation for empty sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added dummy selectors to tests to force descendant invalidation Created 5 years, 10 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/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html
diff --git a/LayoutTests/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html b/LayoutTests/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html
index 20405ef343b7576f79926175673e1d4f4a0aa5c3..c1d67939dc425398b9dd0eb37a2ef327867d54a3 100644
--- a/LayoutTests/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html
+++ b/LayoutTests/inspector/tracing/timeline-paint-and-multiple-style-invalidations.html
@@ -46,6 +46,10 @@ function test()
.testHolder > .green { background-color: green; }
.testHolder > .blue { background-color: blue; }
.testHolder > .snow { background-color: snow; }
+ .testHolder > .red .dummy { }
+ .testHolder > .green .dummy { }
+ .testHolder > .blue .dummy { }
+ .testHolder > .snow .dummy { }
</style>
</head>
<body onload="runTest()">
@@ -54,4 +58,4 @@ function test()
<div id="testElementOne">PASS</div><div id="testElementTwo">PASS</div><div id="testElementThree">PASS</div>
</div>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698