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

Side by Side Diff: LayoutTests/transforms/3d/hit-testing/hover-rotated-with-children-negative-z.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform Created 6 years, 2 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 5
6 #transformed { 6 #transformed {
7 -webkit-transform: translateY(50px) rotateX(20deg) rotateZ(10deg); 7 transform: translateY(50px) rotateX(20deg) rotateZ(10deg);
8 padding: 10px; 8 padding: 10px;
9 margin: 15px; 9 margin: 15px;
10 background-color: Yellow; 10 background-color: Yellow;
11 } 11 }
12 #transformed, #parent { 12 #transformed, #parent {
13 width: 600px; 13 width: 600px;
14 height: 150px; 14 height: 150px;
15 } 15 }
16 #child1 { 16 #child1 {
17 -webkit-transform: rotateX(45deg) rotateZ(45deg) translateZ(-500px) translateX( -300px) translateY(-180px); 17 transform: rotateX(45deg) rotateZ(45deg) translateZ(-500px) translateX(-300px) translateY(-180px);
18 height: 30px; 18 height: 30px;
19 background-color: Lime; 19 background-color: Lime;
20 } 20 }
21 #child2 { 21 #child2 {
22 -webkit-transform: translateZ(-500px) rotateX(-45deg) rotateZ(-45deg) translate X(50px) translateY(-130px); 22 transform: translateZ(-500px) rotateX(-45deg) rotateZ(-45deg) translateX(50px) translateY(-130px);
23 height: 30px; 23 height: 30px;
24 background-color: Cyan; 24 background-color: Cyan;
25 } 25 }
26 #description { 26 #description {
27 margin-top: 210px; 27 margin-top: 210px;
28 } 28 }
29 29
30 </style> 30 </style>
31 31
32 <script src="resources/hit-test-utils.js"></script> 32 <script src="resources/hit-test-utils.js"></script>
(...skipping 18 matching lines...) Expand all
51 <div id="nonTransformedChild">non transformed child</div> 51 <div id="nonTransformedChild">non transformed child</div>
52 <div id="child2">child 2</div> 52 <div id="child2">child 2</div>
53 </div> 53 </div>
54 </div> 54 </div>
55 55
56 <p id="description">Checks that hit testing is correct when a transformed elem ent has childs with negative z-offset</p> 56 <p id="description">Checks that hit testing is correct when a transformed elem ent has childs with negative z-offset</p>
57 57
58 <div id="results"></div> 58 <div id="results"></div>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698