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

Unified Diff: LayoutTests/inspector/tracing/timeline-style-recalc-all-invalidator-types.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-style-recalc-all-invalidator-types.html
diff --git a/LayoutTests/inspector/tracing/timeline-style-recalc-all-invalidator-types.html b/LayoutTests/inspector/tracing/timeline-style-recalc-all-invalidator-types.html
index 1022feadaa70d4ad7aa6132dc7f16e6b5f1103f0..bbdde36d859a11e8dae224b3eb323ac66e6d0b72 100644
--- a/LayoutTests/inspector/tracing/timeline-style-recalc-all-invalidator-types.html
+++ b/LayoutTests/inspector/tracing/timeline-style-recalc-all-invalidator-types.html
@@ -141,11 +141,18 @@ function test()
#testElementFive { color: teal; }
#testElementFour:hover { color: azure; }
#testElementFive:hover { color: cornsilk; }
+ #testElementFour .dummy { }
+ #testElementFive .dummy { }
+ #testElementFour[dir] .dummy {}
.testHolder > .red { background-color: red; }
.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()">
@@ -154,4 +161,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