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

Side by Side Diff: LayoutTests/fast/sub-pixel/clip-sub-pixel-composited-layer.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 h1 { 5 h1 {
6 overflow: hidden; 6 overflow: hidden;
7 position: relative; 7 position: relative;
8 display: inline-block; 8 display: inline-block;
9 width: 14px; 9 width: 14px;
10 height: 14px; 10 height: 14px;
11 } 11 }
12 span { 12 span {
13 display: block; 13 display: block;
14 position: absolute; 14 position: absolute;
15 width: 10px; 15 width: 10px;
16 height: 10px; 16 height: 10px;
17 border: 2px solid red; 17 border: 2px solid red;
18 } 18 }
19 div { 19 div {
20 padding-left: 10.5px; 20 padding-left: 10.5px;
21 position: absolute; 21 position: absolute;
22 } 22 }
23 .composited { 23 .composited {
24 » -webkit-transform: translateZ(0); 24 » transform: translateZ(0);
25 z-index: 1; 25 z-index: 1;
26 } 26 }
27 .test { 27 .test {
28 border: 2px solid black; 28 border: 2px solid black;
29 } 29 }
30 </style> 30 </style>
31 </head> 31 </head>
32 <body> 32 <body>
33 <p>This tests that we properly clip sub-pixel positioned composited layers. Ther e should be no red visible.</p> 33 <p>This tests that we properly clip sub-pixel positioned composited layers. Ther e should be no red visible.</p>
34 <div> 34 <div>
35 <h1 class="composited"> 35 <h1 class="composited">
36 <span class="test"></span> 36 <span class="test"></span>
37 </h1> 37 </h1>
38 </div> 38 </div>
39 <div> 39 <div>
40 <h1> 40 <h1>
41 <span></span> 41 <span></span>
42 </h1> 42 </h1>
43 </div> 43 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698