Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-item-bad-resolution-double-span.html
blob5544a332d7ceb69331094da223a2ac2544869d75
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/grid.css" rel="stylesheet">
4 <style>
5 .grid {
6 grid-template-rows: [firstRow] 10px 20px;
7 grid-template-columns: [firstColumn] 30px 40px;
8 grid-auto-flow: row;
11 .bothSpanRow {
12 grid-column: 1;
13 grid-row: span 5 firstRow / span 1;
16 .bothSpanColumn {
17 grid-column: span / span 3;
18 grid-row: 1;
21 .spanAutoRow {
22 grid-column: 1;
23 grid-row: span 5 firstRow / auto;
26 .spanAutoColumn {
27 grid-column: span / auto;
28 grid-row: 1;
30 </style>
31 <script src="../../resources/check-layout.js"></script>
32 <body onload="checkLayout('.grid')">
34 <p>This test checks that we resolve 2 opposite 'span' / 'auto' positions by applying the auto-placement algorithm.</p>
36 <div style="position: relative">
37 <div class="grid">
38 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="30" data-expected-height="10"></div>
39 <div class="sizedToGridArea bothSpanRow" data-offset-x="0" data-offset-y="10" data-expected-width="30" data-expected-height="20"></div>
40 </div>
41 </div>
43 <div style="position: relative">
44 <div class="grid">
45 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="30" data-expected-height="10"></div>
46 <div class="sizedToGridArea bothSpanColumn" data-offset-x="30" data-offset-y="0" data-expected-width="40" data-expected-height="10"></div>
47 </div>
48 </div>
50 <div style="position: relative">
51 <div class="grid">
52 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="30" data-expected-height="10"></div>
53 <div class="sizedToGridArea spanAutoRow" data-offset-x="0" data-offset-y="10" data-expected-width="30" data-expected-height="20"></div>
54 </div>
55 </div>
57 <div style="position: relative">
58 <div class="grid">
59 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="30" data-expected-height="10"></div>
60 <div class="sizedToGridArea spanAutoColumn" data-offset-x="30" data-offset-y="0" data-expected-width="40" data-expected-height="10"></div>
61 </div>
62 </div>
64 </body>
65 </html>