tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1085HTML 1017Markdown 12TOML 84234 Sutichaykuna

⎇ 9958624168dfe671c82cbe3afb8ba6a7d35f7454 test_fixtures/grid_available_space_smaller_than_max_content.html HTML · 20 siq'ikuna · 546 B Ñawpa willay ch'uya

Fix: Make CSS Grid algorithm correctly apply max width/height and available space when it is the root node (#491) 995862416 · Nico Burns ·

1<!DOCTYPE html>
2<html lang="en">
3<head>
4  <script src="../scripts/gentest/test_helper.js"></script>
5  <link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css">
6  <title>
7    Test description
8  </title>
9</head>
10<body>
11
12<div class="viewport" style="width: 80px;">
13  <div id="test-root" style="display: grid; grid-template-columns: auto auto;">
14    <div>HH&ZeroWidthSpace;HH&ZeroWidthSpace;HH&ZeroWidthSpace;HH</div>
15    <div>HH&ZeroWidthSpace;HH&ZeroWidthSpace;HH&ZeroWidthSpace;HH</div>
16  </div>
17</div>
18
19</body>
20</html>