tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 520HTML 244Markdown 7TOML 41339 Definiciones

⎇ ae87fd0283feff32a5ceffe4c77394ff6ca88d39 test_fixtures/grid_align_items_baseline_multiline_column.html HTML · 24 líneas · 784 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;grid-template-columns: auto auto;width: 100px; height: 100px;align-items: baseline;">
13  <div style="display: grid;width: 50px; height: 50px;"></div>
14  <div style="display: grid;width: 30px; height: 50px;">
15    <div style="display: grid;width: 20px; height: 20px;"></div>
16  </div>
17  <div style="display: grid;width: 40px; height: 70px;">
18    <div style="display: grid;width: 10px; height: 10px;"></div>
19  </div>
20  <div style="display: grid;width: 50px; height: 20px;"></div>
21</div>
22
23</body>
24</html>