| Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html
|
| index 429540932dbf1235ff5bd56dcb408b0c351cdb08..806dc5d0820cb5dc3fa585354136c7592782e2e7 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html
|
| @@ -8,6 +8,10 @@
|
| border: 1px solid black;
|
| }
|
|
|
| + #abs_container {
|
| + position: relative;
|
| + }
|
| +
|
| .testbox {
|
| color: white;
|
| font: 24px 'Lucida Grande';
|
| @@ -68,6 +72,35 @@
|
| padding-bottom: 1em;
|
| padding-left: auto;
|
| }
|
| +
|
| + #rel_positioned {
|
| + position: relative;
|
| + line-height: 30px;
|
| + width: 150px;
|
| + height: 100px;
|
| + left: 10px;
|
| + top: 15px;
|
| + margin-top: 15px;
|
| + margin-right: 30px;
|
| + margin-bottom: 20px;
|
| + margin-left: 10px;
|
| + padding: 20px;
|
| + }
|
| +
|
| + #abs_positioned {
|
| + position: absolute;
|
| + line-height: 30px;
|
| + width: 150px;
|
| + height: 100px;
|
| + right: 10px;
|
| + bottom: 15px;
|
| + margin-top: 15px;
|
| + margin-right: 30px;
|
| + margin-bottom: 20px;
|
| + margin-left: 10px;
|
| + padding: 20px;
|
| + }
|
| +
|
| </style>
|
|
|
| <script>
|
| @@ -75,6 +108,10 @@
|
| 'line-height',
|
| 'width',
|
| 'height',
|
| + 'top',
|
| + 'right',
|
| + 'bottom',
|
| + 'left',
|
| 'margin-top',
|
| 'margin-right',
|
| 'margin-bottom',
|
| @@ -124,6 +161,8 @@
|
| test('ems');
|
| test('auto');
|
| test('mixed');
|
| + test('rel_positioned');
|
| + test('abs_positioned');
|
| }
|
| </script>
|
| </head>
|
| @@ -150,5 +189,11 @@
|
| <div class="outer">
|
| <div class="testbox" id="mixed">Mixed</div>
|
| </div>
|
| + <div class="outer">
|
| + <div class="testbox" id="rel_positioned">Relative Positioned</div>
|
| + </div>
|
| + <div class="outer" id="abs_container">
|
| + <div class="testbox" id="abs_positioned">Absolute Positioned</div>
|
| + </div>
|
| </body>
|
| </html>
|
|
|