tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1085HTML 1017Markdown 12TOML 84234 Definitions

⎇ df4873ec33473556892439341dbc5f9a88ed8808 test_fixtures/grid_max_content_single_item_margin_percent.html HTML · 25 lines · 570 B History raw

Implement CSS Grid (#205) 6fd2c6bcb · 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: 40px max-content 40px;grid-template-rows: 40px 40px 40px">
13  <div></div>
14  <div style="margin: 5% 10% 15% 20%">HH&ZeroWidthSpace;HH</div>
15  <div></div>
16  <div></div>
17  <div></div>
18  <div></div>
19  <div></div>
20  <div></div>
21  <div></div>
22</div>
23
24</body>
25</html>