tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1115HTML 1041Markdown 12TOML 94777 Definiciones

⎇ c2db86dfc600067c6f4d70c8ea398cbcc5d42dbd test_fixtures/grid_align_items_baseline_child_multiline.html HTML · 23 líneas · 767 B Historia crudo

Grid: baseline alignment support (#344) ab747b81e · 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;width: 100px; align-items: baseline;">
13  <div style="display:grid;width: 50px; height: 60px;"></div>
14  <div style="display:grid;grid-template-columns: auto auto;width: 50px; flex-wrap: wrap;">
15    <div style="display:grid;width: 25px; height: 20px;"></div>
16    <div style="display:grid;width: 25px; height: 10px;"></div>
17    <div style="display:grid;width: 25px; height: 20px;"></div>
18    <div style="display:grid;width: 25px; height: 10px;"></div>
19  </div>
20</div>
21
22</body>
23</html>