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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html

Issue 2436283002: Fix LayoutObject::mapLocalToAncestor() for fixed under absolute (Closed)
Patch Set: Rebaseline after rebase 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/fixed-with-border-under-composited-absolute-scrolled.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html
similarity index 88%
copy from third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html
copy to third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html
index 732504d405097028326c31b5e8d6ff44490e5fa5..a19aa9afbdf0d0d4e6af1c1ede7e1b0265f80677 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html
@@ -14,8 +14,8 @@ onload = function() {
<style>
#indicator {
position: absolute;
- height: 200px;
- width: 100px;
+ height: 220px;
+ width: 120px;
top: 400px;
left: 0;
background-color: red;
@@ -30,18 +30,19 @@ onload = function() {
z-index: 1000;
}
#fixed {
- position: fixed;
/* Using 99% opacity to ensure fixed position is not automatically promoted. */
opacity: 0.99;
+ position: fixed;
top: 0;
left: 0;
width: 100px;
height: 100px;
+ border: 10px solid blue;
background-color: green;
}
</style>
Tests paint invalidation of fixed element under a composited absolute element on resize after scrolled.
-Passes if there is a 100x200 green rectangle and no red.
+Passes if there is a 100x200 green rectangle with blue border and no red.
<div id="indicator"></div>
<div id="absolute">
<div id="fixed">

Powered by Google App Engine
This is Rietveld 408576698