| Index: LayoutTests/css3/flexbox/columns-center-with-margins.html
|
| diff --git a/LayoutTests/css3/flexbox/columns-center-with-margins.html b/LayoutTests/css3/flexbox/columns-center-with-margins.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb6148b8dbd5f4f8fcea67539b3afb58afe60bee
|
| --- /dev/null
|
| +++ b/LayoutTests/css3/flexbox/columns-center-with-margins.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<link href="resources/flexbox.css" rel="stylesheet">
|
| + <style>
|
| + .flexbox {
|
| + border: 1px solid black;
|
| + width: 400px;
|
| + height: 200px;
|
| + }
|
| + .item1 {
|
| + margin: 0 auto;
|
| + background: lightblue;
|
| + }
|
| + .item1v {
|
| + margin: auto 0;
|
| + background: lightblue;
|
| + }
|
| + .item2 {
|
| + background: lime;
|
| + }
|
| + </style>
|
| +</head>
|
| +<body>
|
| + <div class="flexbox column">
|
| + <div class="item1">centeredWithMargins</div>
|
| + <div class="item2 align-self-center">centeredWithAlignSelf</div>
|
| + </div>
|
| + <div style="-webkit-writing-mode: vertical-lr;">
|
| + <div class="flexbox column">
|
| + <div class="item1v">centeredWithMargins</div>
|
| + <div class="item2 align-self-center">centeredWithAlignSelf</div>
|
| + </div>
|
| + </div>
|
| +</body>
|
| +</html>
|
|
|