Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-columns-rows-get-set-multiple.html
blobe30c39e72f5624f818df748dfd97f74c40fba7c2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href="resources/grid.css" rel="stylesheet">
5 <style>
6 .grid {
7 /* Give an explicit size to the grid so that percentage grid tracks have a consistent resolution */
8 width: 800px;
9 height: 600px;
12 .gridItem {
13 grid-column: 1;
14 grid-row: 1;
15 width: 7px;
16 height: 11px;
19 .gridItem2 {
20 grid-column: 2;
21 grid-row: 2;
22 width: 17px;
23 height: 3px;
26 .gridWithFixed {
27 grid-template-columns: 7px 11px;
28 grid-template-rows: 17px 2px;
31 .gridWithPercent {
32 grid-template-columns: 53% 99%;
33 grid-template-rows: 27% 52%;
35 .gridWithAuto {
36 grid-template-columns: auto auto;
37 grid-template-rows: auto auto;
39 .gridWithEM {
40 grid-template-columns: 10em 12em;
41 grid-template-rows: 15em 17em;
42 font: 10px Ahem;
44 .gridWithNoneAndAuto {
45 grid-template-columns: none auto;
46 grid-template-rows: none auto;
48 .gridNoneWithAndFixed {
49 grid-template-columns: none 15px;
50 grid-template-rows: none 22px;
52 .gridWithThreeItems {
53 grid-template-columns: 15px auto 10em;
54 grid-template-rows: 12em 18px auto;
55 font: 10px Ahem;
57 .gridWithPercentAndViewportPercent {
58 grid-template-columns: 50% 15vw;
59 grid-template-rows: 35% 28vh;
61 .gridWithFitContentAndFitAvailable {
62 grid-template-columns: -webkit-content-available;
63 grid-template-rows: -webkit-fit-content -webkit-fit-available;
65 .gridWithMinMaxContent {
66 grid-template-columns: min-content max-content;
67 grid-template-rows: max-content min-content;
69 .gridWithMinMaxAndFixed {
70 grid-template-columns: minmax(45px, 30%) 15px;
71 grid-template-rows: 12em minmax(35%, 10px);
72 font: 10px Ahem;
74 .gridWithMinMaxAndMinMaxContent {
75 grid-template-columns: minmax(min-content, 30%) 15px;
76 grid-template-rows: 12em minmax(35%, max-content);
77 font: 10px Ahem;
79 .gridWithFractionFraction {
80 grid-template-columns: 2fr 3fr;
81 grid-template-rows: 3fr 5fr;
83 .gridWithFractionMinMax {
84 grid-template-columns: minmax(min-content, 45px) 2fr;
85 grid-template-rows: 3fr minmax(14px, max-content);
87 .gridWithCalcCalc {
88 grid-template-columns: calc(200px) calc(10em);
89 grid-template-rows: calc(15em) calc(75px);
90 font: 10px Ahem;
92 .gridWithCalcAndFixed {
93 grid-template-columns: calc(50%) 8em;
94 grid-template-rows: 88px calc(25%);
95 font: 10px Ahem;
97 .gridWithCalcAndMinMax {
98 grid-template-columns: calc(30px + 20%) minmax(min-content, 80px);
99 grid-template-rows: minmax(25%, max-content) calc(10% - 7px);
101 .gridWithCalcInsideMinMax {
102 grid-template-columns: minmax(calc(23px + 10%), 400px) 12em;
103 grid-template-rows: calc(150px) minmax(5%, calc(50% - 125px));
104 font: 10px Ahem;
106 .gridWithAutoInsideMinMax {
107 grid-template-columns: minmax(auto, min-content) 30px;
108 grid-template-rows: calc(100px + 2em) minmax(10%, auto);
110 </style>
111 <script src="../../resources/js-test.js"></script>
112 </head>
113 <body>
114 <div class="grid gridWithFixed" id="gridWithFixedElement"></div>
115 <div class="grid gridWithPercent" id="gridWithPercentElement"></div>
116 <div class="indefiniteSizeGrid gridWithPercent" id="gridWithPercentWithoutSize">
117 <div class="gridItem"></div>
118 </div>
119 <div class="grid gridWithAuto" id="gridWithAutoElement">
120 <div class="gridItem2"></div>
121 </div>
122 <div class="grid gridWithEM" id="gridWithEMElement"></div>
123 <div class="grid gridWithNoneAndAuto" id="gridWithNoneAndAuto"></div>
124 <div class="grid gridWithNoneAndFixed" id="gridWithNoneAndFixed"></div>
125 <div class="grid gridWithThreeItems" id="gridWithThreeItems"></div>
126 <div class="grid gridWithPercentAndViewportPercent" id="gridWithPercentAndViewportPercent"></div>
127 <div class="grid gridWithFitContentAndFitAvailable" id="gridWithFitContentAndFitAvailable"></div>
128 <div class="grid gridWithMinMaxContent" id="gridWithMinMaxContent"></div>
129 <div class="grid gridWithMinMaxContent" id="gridWithMinMaxContentWithChildrenElement">
130 <div class="gridItem"></div>
131 <div class="gridItem2"></div>
132 </div>
133 <div class="grid gridWithMinMaxAndFixed" id="gridWithMinMaxAndFixed"></div>
134 <div class="grid gridWithMinMaxAndMinMaxContent" id="gridWithMinMaxAndMinMaxContent"></div>
135 <div class="grid gridWithFractionFraction" id="gridWithFractionFraction"></div>
136 <div class="grid gridWithFractionMinMax" id="gridWithFractionMinMax"></div>
137 <div class="grid gridWithCalcCalc" id="gridWithCalcCalc"></div>
138 <div class="grid gridWithCalcAndFixed" id="gridWithCalcAndFixed"></div>
139 <div class="grid gridWithCalcAndMinMax" id="gridWithCalcAndMinMax"></div>
140 <div class="grid gridWithCalcInsideMinMax" id="gridWithCalcInsideMinMax"></div>
141 <div class="grid gridWithAutoInsideMinMax" id="gridWithAutoInsideMinMax"></div>
142 <script src="resources/grid-definitions-parsing-utils.js"></script>
143 <script src="resources/grid-columns-rows-get-set-multiple.js"></script>
144 </body>
145 </html>