tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1311HTML 640Markdown 11TOML 63653 Definiciones

⎇ 1144c78f911d95a9fcbc73ca712d74c7a175b2e6 test_fixtures/grid_max_width_smaller_than_min_content.html HTML · 20 líneas · 520 B Historia crudo

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 id="test-root" style="display: grid; grid-template-columns: max-content;">
13  <div style="display: grid; max-width: 60px; 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>