OLD | NEW |
---|---|
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 | 2 |
3 <!-- READ BEFORE UPDATING: | 3 <!-- READ BEFORE UPDATING: |
4 If this test is updated make sure to increment the "revision" value of the | 4 If this test is updated make sure to increment the "revision" value of the |
5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure | 5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure |
6 that the baseline images are regenerated on the next run. | 6 that the baseline images are regenerated on the next run. |
7 --> | 7 --> |
8 | 8 |
9 <html> | 9 <html> |
10 <head> | 10 <head> |
11 <meta name="viewport" content="initial-scale=1"> | |
Ken Russell (switch to Gerrit)
2014/05/29 22:42:31
Please double-check that this doesn't affect the t
alokp
2014/05/29 22:56:13
Tested it on mac and linux. Works as expected.
| |
11 <title>CSS 3D Test: Projected Blue Box over Black Background</title> | 12 <title>CSS 3D Test: Projected Blue Box over Black Background</title> |
12 <style type="text/css"> | 13 <style type="text/css"> |
13 .nomargin { | |
14 margin: 0px auto; | |
15 } | |
16 | |
17 #container { | 14 #container { |
18 -webkit-perspective: 500; | 15 -webkit-perspective: 500; |
19 } | 16 } |
20 | 17 |
21 #container > div { | 18 #container > div { |
22 position: relative; | 19 position: relative; |
23 margin: 50px; | 20 margin: 50px; |
24 width: 125px; | 21 width: 125px; |
25 height: 75px; | 22 height: 75px; |
26 } | 23 } |
(...skipping 25 matching lines...) Expand all Loading... | |
52 </script> | 49 </script> |
53 </head> | 50 </head> |
54 <body onload="main()"> | 51 <body onload="main()"> |
55 <div style="position:relative; width:200px; height:200px; background-color:black ; zindex-0"> | 52 <div style="position:relative; width:200px; height:200px; background-color:black ; zindex-0"> |
56 </div> | 53 </div> |
57 <div id="container" style="position:absolute; top:0px; left:0px"> | 54 <div id="container" style="position:absolute; top:0px; left:0px"> |
58 <div id="blue_box"></div> | 55 <div id="blue_box"></div> |
59 </div> | 56 </div> |
60 </body> | 57 </body> |
61 </html> | 58 </html> |
OLD | NEW |