|
|
|
|
| 4 |
<title>CSS Test: Box Sizing - Padding-Box with specified width/height</title> |
4 |
<title>CSS Test: Box Sizing - Padding-Box with specified width/height</title> |
| 5 |
<link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" /> |
5 |
<link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" /> |
| 6 |
<link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" /> |
6 |
<link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" /> |
| 7 |
<meta name="assert" content="The box-sized elements should each take up 1/2 of the horizontal space of the containing element, including their padding but not their borders." /> |
7 |
<meta name="assert" content="-moz-box-sizing: padding-box should make the element's (percentage) width be the distance from the left padding edge to the right padding edge."/> |
| 8 |
<style type="text/css"><![CDATA[ |
8 |
<style type="text/css"><![CDATA[ |
| 9 |
.container { |
9 |
.container { |
| 10 |
width: 300px; |
10 |
width: 300px; |