Skip to content

Commit 19ca203

Browse files
fix auto percentage testcase
1 parent 8d9dbdb commit 19ca203

6 files changed

Lines changed: 499 additions & 10390 deletions

File tree

gentest/fixtures/YGGridTest.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,3 +1461,30 @@
14611461
height: 100px;
14621462
"></div>
14631463
</div>
1464+
1465+
<div
1466+
id="grid_gap_percentage_definite_size_2"
1467+
style="
1468+
display: grid;
1469+
grid-template-columns: auto 10% 10% 10%;
1470+
grid-template-rows: auto auto;
1471+
column-gap: 70%;
1472+
row-gap: 40%;
1473+
border: 1px solid red;
1474+
">
1475+
<div
1476+
style="
1477+
padding: 20px;
1478+
grid-column-start: 1;
1479+
grid-column-end: 4;
1480+
background-color: green;
1481+
"></div>
1482+
<div style="padding: 20px; background-color: green"></div>
1483+
<div
1484+
style="
1485+
padding: 20px;
1486+
grid-column-start: 2;
1487+
grid-column-end: 5;
1488+
background-color: green;
1489+
"></div>
1490+
</div>

0 commit comments

Comments
 (0)