tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 10TOML 3CSS 1348 Definiciones

⎇ 0.3.x test_fixtures/gridflex_kitchen_sink.html HTML · 32 líneas · 781 B Historia crudo

Grid: Fix sizing issues in complex cases (#355) 76722686b · 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">
13  <div style="display: grid; grid-template-columns: 1fr 1fr;grid-template-rows: 1fr 1fr;">
14    <div>
15      <div style="width: 20px"></div>
16      <div style="width: 50px;flex-grow: 1">
17        <div style="display: grid; grid-template-columns: auto 10%;grid-template-rows: 30% 10%">
18          <div style="width: 20px"></div>
19          <div></div>
20          <div></div>
21          <div></div>
22        </div>
23      </div>
24    </div>
25    <div>HH</div>
26    <div>HH</div>
27    <div>HH</div>
28  </div>
29</div>
30
31</body>
32</html>