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

Side by Side Diff: LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html

Issue 334373002: Clear absolute clip rects when transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Split updateTransform into two parts Created 6 years, 6 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 <style>
3 #slidein {
4 width: 200px;
5 height: 200px;
6 -webkit-transform: translate3d(200px, 0, 0);
7 }
8
9 #header {
10 position: relative;
11 height: 50px;
12 z-index: 1;
13 background-color: green;
14 }
15
16 #section {
17 position: absolute;
18 overflow: hidden;
19 top: 0;
20 width: 200px;
21 }
22
23 #content {
24 width: 200px;
25 height: 200px;
26 -webkit-transform: translateZ(0);
27 background-color: blue;
28 }
29 </style>
30
31 <div id="slidein">
32 <div id="header">This div should stay in front.</div>
33
34 <div id="section">
35 <div id="content">
36 This div should stay behind the header div.
37 </div>
38 </div>
39 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698