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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/root-scroller/resources/clipping-ancestor-is-composited-sibling-iframe.html

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Also setNeedsCompositingUpdate from TopDocumentRootScrollerController Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 ::-webkit-scrollbar {
4 width: 0px;
5 height: 0px;
6 }
7
8 body, html {
9 width: 100%;
10 height: 100%;
11 background-color: red;
12 }
13
14 body {
15 margin: 0px;
16 }
17
18 .clipBox {
19 position: absolute;
20 overflow: hidden;
21 left: 100px;
22 right: 100px;
23 top: 100px;
24 bottom: 100px;
25 }
26
27 #container {
28 position: absolute;
29 left: -100px;
30 top: -100px;
31 right: -100px;
32 bottom: -100px;
33 background-color: yellow;
34 overflow: auto;
35 transform: translateZ(0);
36 }
37
38 .spacer {
39 width: 100px;
40 height: 2000px;
41 }
42 </style>
43
44 <script>
45 window.addEventListener('load', function() {
46 document.rootScroller = document.getElementById('container');
47 });
48 </script>
49
50 <div class="clipBox">
51 <div id="container">
52 <div class="spacer"></div>
53 </div>
54 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698