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

Side by Side Diff: LayoutTests/compositing/will-change/containing-block-added-expected.html

Issue 175263002: Implement will-change-based creation of layers, stacking contexts, and containing blocks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Always create a stacking context for will-change:position Created 6 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #container {
6 -webkit-transform: translateZ(0);
7 position: absolute;
8 left: 200px;
9 top: 100px;
10 width: 100px;
11 height: 100px;
12 background-color: blue;
13 }
14
15 .fixed {
16 position: fixed;
17 left: 50px;
18 top: 50px;
19 width: 75px;
20 height: 75px;
21 background-color: green
22 }
23 </style>
24 </head>
25
26 <body>
27 <div id="container">
28 <div class="fixed"></div>
29 </div>
30 </body>
31
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698