gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1111HTML 1039Markdown 12TOML 94524 Definitions

⎇ c2db86dfc600067c6f4d70c8ea398cbcc5d42dbd test_fixtures/grid_available_space_smaller_than_min_content.html HTML · 20 lines · 482 B History raw

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: 60px;">
13  <div id="test-root" style="display: grid; grid-template-columns: auto auto;">
14    <div>HHHH&ZeroWidthSpace;HHHH</div>
15    <div>HHHH&ZeroWidthSpace;HHHH</div>
16  </div>
17</div>
18
19</body>
20</html>