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

Side by Side Diff: LayoutTests/compositing/perspective-origin-overflow-hidden.html

Issue 1030323005: Simplify application of perspective origin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add three more test expectation changes (added since earlier) Created 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <!--
4 The perspective origin should be positioned in the container's border box,
5 regardless of the presence of an overflow clip.
6 -->
7
8 <style>
9 .container {
10 background-color: green;
11 border: 10px solid black;
12 overflow: hidden;
13 position: relative;
14 width: 100px;
15 height: 100px;
16 margin: 10px 0;
17 perspective: 500px;
18 }
19 .transformed {
20 background-color: blue;
21 width: 50px;
22 height: 50px;
23 transform: translateZ(-1000px);
24 }
25 </style>
26
27 <div class="container">
28 <div class="transformed"></div>
29 </div>
30
31 <div class="container" style="perspective-origin: 60% 40px">
32 <div class="transformed"></div>
33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698