| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d20fa7aa524aa75d6f020f2334fa4efad45a1117
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<link href="resources/grid.css" rel="stylesheet">
|
| +<link rel="match" href="grid-paint-positioned-children-expected.html">
|
| +<style>
|
| +.grid {
|
| + border: 2px solid black;
|
| + position: relative;
|
| + width: 100px;
|
| +
|
| + grid-template-columns: 10px 20px 30px 40px;
|
| +
|
| + padding-top: 10px;
|
| +}
|
| +
|
| +.abs {
|
| + height: 5px;
|
| + position: absolute;
|
| + width: 100%;
|
| +}
|
| +
|
| +#item {
|
| + width: 90px;
|
| + height: 30px;
|
| +}
|
| +
|
| +</style>
|
| +
|
| +<p>This test passes if you see a gray box with a black border color with 5 rectangles inside. The first line contains a purple, orange, yellow and magenta boxes. Bellow them you should see a 90px cyan box.</p>
|
| +
|
| +<div class="grid">
|
| + <div id="item" style="grid-column: 1 / -1; background: cyan;"></div>
|
| + <div class="abs" style="grid-column: 1 / 2; background: purple;"></div>
|
| + <div class="abs" style="grid-column: 2 / 3; background: orange;"></div>
|
| + <div class="abs" style="grid-column: 3 / 4; background: yellow;"></div>
|
| + <div class="abs" style="grid-column: 4 / 5; background: magenta;"></div>
|
| +</div>
|
|
|