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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/will-change/will-change-preserve-backface-visibility.html

Issue 2818533004: Fix backface-visibility with will-change (Closed)
Patch Set: reduce layout test + flag expectation Created 3 years, 8 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 <html>
3 <head>
4 <style>
5 .list {
6 height: 200px;
7 position: relative;
8 overflow: auto;
9 }
10
11 .will-change {
12 will-change: transform;
13 backface-visibility: hidden;
14 }
15
16 .flip-container, .front, .back {
17 -webkit-perspective: 1000;
18 width: 320px;
19 height: 427px;
20 }
21
22 .front, .back {
23 backface-visibility: hidden;
24
25 transition: 0.0s;
26 transform-style: preserve-3d;
27 transform: rotateY(0deg);
28
29 position: absolute;
30 top: 0;
31 left: 0;
32 }
33
34 .front {
35 transform: rotateY(180deg);
36 }
37
38 .back {
39 background: lightblue;
40 opacity: 0.5;
41 }
42
43 </style>
44 </head>
45
46 <body>
47 <div class="flip-container">
48 <div class="front">
49 <div class="list will-change">
50 <div style="height: 82px; left: 0px; position: absolute; top: 0px; width: 100%;"></div>
51 <div style="height: 82px; left: 0px; position: absolute; top: 164px; width : 100%;"></div>
52 </div>
53 </div>
54 <div class="back">
55 </div>
56 </div>
57 <p>This test verifies that "will-change" preserves the backface-visibility for
58 scrollbar.</p>
59 </body>
60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698