tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definitions

⎇ 0bd2f1947f47e7fb59ab42f4894918649210c3a1 test_fixtures/block_padding_border_fixed_size.html HTML · 18 lines · 470 B History raw

Implement CSS Block layout (`Display::Block`) (#474) 544399619 · 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: block; width: 50px; height: 50px; padding: 1px 3px 5px 7px; border-width: 2px 4px 6px 8px;">
13  <div style="height: 10px;"></div>
14  <div style="height: 10px;"></div>
15</div>
16
17</body>
18</html>