webkit-display-values-1.html (1046B)
1 <!DOCTYPE html> 2 <!-- 3 Any copyright is dedicated to the Public Domain. 4 http://creativecommons.org/publicdomain/zero/1.0/ 5 --> 6 <html> 7 <head> 8 <title> 9 CSS Test: -webkit-box & -webkit-inline-box as "display" values 10 </title> 11 <style> 12 div { 13 border: 1px solid black; 14 width: 50px; 15 height: 20px; 16 /* Lets us see whether 'display:-webkit-box' styling worked:*/ 17 -webkit-box-pack: center; 18 } 19 </style> 20 </head> 21 <body> 22 <!-- -webkit-box, possibly mixed with -moz-box: --> 23 <div style="display: -webkit-box;">a</div> 24 25 <div style="display: -webkit-box; 26 display: -moz-box;">b</div> 27 28 <div style="display: -moz-box; 29 display: -webkit-box;">c</div> 30 <br> 31 32 <!-- -webkit-inline-box, possibly mixed with -moz-inline-box: --> 33 <div style="display: -webkit-inline-box;">d</div> 34 35 <div style="display: -webkit-inline-box; 36 display: -moz-inline-box;">e</div> 37 38 <div style="display: -moz-inline-box; 39 display: -webkit-inline-box;">f</div> 40 </body> 41 </html>