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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/outline-become-not-affected-by-descendant.html

Issue 2669003002: Optimize outline paint invalidation (Closed)
Patch Set: - Created 3 years, 11 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/LayoutTests/paint/invalidation/outline-become-not-affected-by-descendant.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/outline-become-not-affected-by-descendant.html b/third_party/WebKit/LayoutTests/paint/invalidation/outline-become-not-affected-by-descendant.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ebec2542720a5c467a29147df2cfd49b5f22e51
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/outline-become-not-affected-by-descendant.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<div id="outline" style="outline: auto; width: 100px; height: 100px">
+ <div id="child" style="width: 150px; height: 50px; background-color: red"></div>
+</div>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ child.style.width = '50px';
+}
+onload = runRepaintTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698