tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definitions

⎇ 83ea1eab8b724c37f4d77cce0f40e04c219a5378 test_fixtures/grid_align_items_baseline_double_nested_child.html HTML · 22 lines · 625 B History raw

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; height: 100px;align-items: baseline;">
13  <div style="display: grid;width: 50px; height: 50px;">
14    <div style="display: grid;width: 50px; height: 20px;"></div>
15  </div>
16  <div style="display: grid;width: 50px; height: 20px;">
17    <div style="display: grid;width: 50px; height: 15px;"></div>
18  </div>
19</div>
20
21</body>
22</html>