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

Unified Diff: LayoutTests/fast/css/fixed-overlaps-absolute-in-clip.html

Issue 179833006: Fix clippingContainer for fixed position elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: const_cast Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/fixed-overlaps-absolute-in-clip-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/fixed-overlaps-absolute-in-clip.html
diff --git a/LayoutTests/fast/css/fixed-overlaps-absolute-in-clip.html b/LayoutTests/fast/css/fixed-overlaps-absolute-in-clip.html
new file mode 100644
index 0000000000000000000000000000000000000000..d20580f3f37ac5f9e1514f2b6297186cf02201cc
--- /dev/null
+++ b/LayoutTests/fast/css/fixed-overlaps-absolute-in-clip.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<style>
+#absolute {
+ position: absolute;
+ background-color: chartreuse;
+ top: 100px;
+ left: 100px;
+ width: 200px;
+ height: 200px;
+ clip: rect(0, 200px, 20px, 0px);
+}
+#fixed {
+ position: fixed;
+ top: 50px;
+ left: 50px;
+ background-color: salmon;
+ width: 100px;
+ height: 100px;
+}
+#overlap {
+ position:absolute;
+ background-color: pink;
+ top: 0;
+ left: 0;
+ height: 75px;
+ width: 75px;
+ -webkit-transform: translateZ(0);
+}
+</style>
+<div id="overlap"></div>
+<div id="absolute">
+ <div id="fixed"></div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/css/fixed-overlaps-absolute-in-clip-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698