| Index: third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html b/third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f16d3e23763ef8427100a37ff0151eb762e0ff73
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html
|
| @@ -0,0 +1,51 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +html, body {
|
| + margin: 0;
|
| +}
|
| +
|
| +#flexbox {
|
| + display: flex;
|
| + flex-direction: column;
|
| +}
|
| +
|
| +#flexitem {
|
| + outline: 1px solid black;
|
| + width: 100%;
|
| + height: 166px;
|
| + position: relative;
|
| + background: green;
|
| +}
|
| +
|
| +#abspos {
|
| + position: absolute;
|
| +}
|
| +
|
| +#container {
|
| + background: red;
|
| +}
|
| +</style>
|
| +
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +
|
| +<script>
|
| +function runTest() {
|
| + test(function() {
|
| + assert_equals(document.getElementById('flexbox').offsetWidth,
|
| + document.getElementById('flexitem').offsetWidth);
|
| + }, "sizes");
|
| +}
|
| +</script>
|
| +
|
| +<body onload="runTest()">
|
| +<div id="container">
|
| + <div id="flexbox">
|
| + <div id="flexitem">
|
| + <div id="abspos">
|
| + <svg></svg>
|
| + </div>
|
| + </div>
|
| + </div>
|
| +</div>
|
| +
|
|
|