tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62536 Sutichaykuna

⎇ ae87fd0283feff32a5ceffe4c77394ff6ca88d39 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) ae87fd028 · 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>