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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html

Issue 1898393002: Fixed-position elements should not be clipped by ancestor fixed-position overflow clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9eef7d50a7526692a282f15f610ebeca55e9c2f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+#scroller {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100px;
+ height: 100px;
+ overflow: scroll;
+}
+
+#bloat {
+ height: 1000px;
+}
+
+#fixed {
+ position: fixed;
+ left: 200px;
+ top: 200px;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<div id="scroller">
+ <div id="bloat"></div>
+</div>
+<div id="fixed"></div>
+The test passes if a green box is visible on the screen. The purpose of this test is to verify fixed-position elements are not clipped by an ancestor fixed-position overflow clip.

Powered by Google App Engine
This is Rietveld 408576698