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

Side by Side Diff: LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips.html

Issue 543123003: Don't squash fixed-position elements into another fixed-position element that has a clip. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .notsquashedelement {
4 top: 0;
5 right: 0;
6 left: 0;
7 z-index: 1000;
8 height: 60px;
9 background-color: green;
10 position: fixed;
11 }
12
13 .fixedpos {
14 position: fixed;
15 top: 50px;
16 right: 0;
17 left: 0;
18 bottom: 0;
19 overflow-y: auto;
20 background-color: lightblue;
21 }
22
23 .compositedlayer {
24 position: fixed;
25 top: 40px;
26 left: 50%;
27 width: 24px;
28 height: 100px;
29 background: lightgray;
30 transform: translateZ(0);
31 }
32 </style>
33 <div class="notsquashedelement"></div>
34 <div class="fixedpos">
35 <div class="compositedlayer"></div>
36 </div>
37 <pre id="output"></pre>
38 <script>
39 // Tests that not squashing into an element with a different clip works correctl y with fixed-position layers.
40 if (window.testRunner)
41 window.testRunner.dumpAsText();
42
43 if (window.internals)
44 output.textContent = window.internals.layerTreeAsText(document);
45 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698