OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style type="text/css"> | 3 <style type="text/css"> |
4 body { | 4 body { |
5 margin: 0; | 5 margin: 0; |
6 } | 6 } |
7 iframe { | 7 iframe { |
8 width: 320px; | 8 width: 320px; |
9 height: 200px; | 9 height: 200px; |
10 -webkit-transform: translateZ(0); | 10 transform: translateZ(0); |
11 border: none; | 11 border: none; |
12 } | 12 } |
13 | 13 |
14 #indicator { | 14 #indicator { |
15 position: absolute; | 15 position: absolute; |
16 top: 0px; | 16 top: 0px; |
17 left: 0px; | 17 left: 0px; |
18 height: 100px; | 18 height: 100px; |
19 width: 100px; | 19 width: 100px; |
20 background-color: red; | 20 background-color: red; |
(...skipping 21 matching lines...) Expand all Loading... |
42 </script> | 42 </script> |
43 </head> | 43 </head> |
44 <body> | 44 <body> |
45 | 45 |
46 <!-- In pixel results, you should see a single green square with no red. --> | 46 <!-- In pixel results, you should see a single green square with no red. --> |
47 <div id="indicator"></div> | 47 <div id="indicator"></div> |
48 <iframe id="frame" src="resources/nested-subframe.html"></iframe> | 48 <iframe id="frame" src="resources/nested-subframe.html"></iframe> |
49 | 49 |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |