gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 87Markdown 12TOML 91924 Definiciones

⎇ ae87fd0283feff32a5ceffe4c77394ff6ca88d39 test_fixtures/grid_max_width_smaller_than_max_content.html HTML · 20 líneas · 584 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: 80px; 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>