OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 Any copyright is dedicated to the Public Domain. |
| 4 http://creativecommons.org/publicdomain/zero/1.0/ |
| 5 --> |
| 6 <!-- Reference case, using inline-block instead of inline-flex. --> |
| 7 <html> |
| 8 <head> |
| 9 <title>CSS Reftest Reference</title> |
| 10 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
| 11 <meta charset="utf-8"> |
| 12 <style> |
| 13 .flexContainer { |
| 14 display: inline-block; |
| 15 height: 16px; |
| 16 width: 16px; |
| 17 background: purple; |
| 18 border: 0px dotted black; |
| 19 /* (Elements that want a border will set their border-width.) */ |
| 20 } |
| 21 </style> |
| 22 </head> |
| 23 <body> |
| 24 A |
| 25 <div class="flexContainer">a</div> |
| 26 <div class="flexContainer" style="padding-bottom: 20px">a</div> |
| 27 <div class="flexContainer" style="padding: 10px">a</div> |
| 28 <div class="flexContainer" style="border-width: 3px">a</div> |
| 29 <div class="flexContainer" style="border-bottom-width: 4px">a</div> |
| 30 </body> |
| 31 </html> |
OLD | NEW |