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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/filter-on-html-element-with-fixed-position-child.html

Issue 2369603002: Turn on CompositeOpaqueFixedPosition for test and rebase tests. (Closed)
Patch Set: . Created 4 years, 2 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/filter-on-html-element-with-fixed-position-child.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/filter-on-html-element-with-fixed-position-child.html b/third_party/WebKit/LayoutTests/paint/invalidation/filter-on-html-element-with-fixed-position-child.html
index 7caf7b22fa5f13c8540e4db68da02ba119a4c1c8..34477e1a3e87cd55a5d18647fe48815aa780f01a 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/filter-on-html-element-with-fixed-position-child.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/filter-on-html-element-with-fixed-position-child.html
@@ -6,8 +6,9 @@
</style>
<script src="resources/text-based-repaint.js"></script>
<html>
-<div style="position: fixed; width: 100px; height: 100px; background: lightgray"></div>
-<div style="position: fixed; width: 100px; height: 100px; background: lightgray; top: 100px; left: 100px;"></div>
+<!-- Using 99% opacity on fixed pos elements to ensure they are not automatically promoted. -->
+<div style="position: fixed; opacity: 0.99; width: 100px; height: 100px; background: lightgray"></div>
+<div style="position: fixed; opacity: 0.99; width: 100px; height: 100px; background: lightgray; top: 100px; left: 100px;"></div>
<div style="width: 200px; height: 10000px; background: lightblue"></div>
<span id="cvd_extension_svg_filter" hidden="">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">

Powered by Google App Engine
This is Rietveld 408576698