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

Unified Diff: LayoutTests/compositing/overflow/reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html

Issue 397713004: Overlay scrollbars must respect ancestor clip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 5 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: LayoutTests/compositing/overflow/reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html
diff --git a/LayoutTests/compositing/overflow/non-reparented-overlay-scrollbars-expected.html b/LayoutTests/compositing/overflow/reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html
similarity index 67%
copy from LayoutTests/compositing/overflow/non-reparented-overlay-scrollbars-expected.html
copy to LayoutTests/compositing/overflow/reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html
index d85957f3a45c99f7b59f67c86ce3137e55946a5f..7564a0833e4b81e49ac2987f35fed4808c37ef38 100644
--- a/LayoutTests/compositing/overflow/non-reparented-overlay-scrollbars-expected.html
+++ b/LayoutTests/compositing/overflow/reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html
@@ -1,28 +1,34 @@
<!DOCTYPE HTML>
<style>
- #scroller {
+#clipper {
+ overflow: hidden;
+ width: 400px;
+ height: 100px;
+ margin: 10px;
+}
+
+#scroller {
overflow: scroll;
width: 300px;
height: 300px;
position: relative;
- z-index: 0;
top: 10px;
- }
+}
- #fixed {
+#fixed {
position: fixed;
background: blue;
left: 90px;
width: 10px;
height: 10px;
- }
+}
- #scrolled {
+#scrolled {
position: relative;
background: green;
width: 80px;
height: 500px;
- }
+}
</style>
<script>
if (window.internals) {
@@ -30,7 +36,9 @@ if (window.internals) {
window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(false);
}
</script>
-<div id='scroller'>
- <div id='fixed'></div>
- <div id='scrolled'></div>
+<div id='clipper'>
+ <div id='scroller'>
+ <div id='fixed'></div>
+ <div id='scrolled'></div>
+ </div>
</div>

Powered by Google App Engine
This is Rietveld 408576698