inline-block-frag-offset-1-ref.html (543B)
1 <!DOCTYPE html> 2 <html class="reftest-paged"> 3 <head> 4 <style> 5 @page { 6 size: 5in 3in; 7 margin: 0.5in; 8 } 9 10 * { 11 margin: 0; 12 } 13 14 .green { 15 display: block; 16 width: 1in; 17 height: 3in; 18 background-color: green; 19 } 20 21 .blue { 22 width: 1in; 23 height: 1in; 24 background-color: blue; 25 position: absolute; 26 top: 1.5in; 27 z-index: 1; 28 } 29 </style> 30 </head> 31 <body> 32 <div class="green"></div> 33 <div class="blue"></div> 34 </body> 35 </html>