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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip.html b/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip.html
new file mode 100644
index 0000000000000000000000000000000000000000..a56d32e97a34ed8a687a3f6904aacab19dbb68e7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip.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 id="fixed"></div>
+</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.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/fixed-element-escape-fixed-overflow-clip-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698