gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definiciones

⎇ main test_fixtures/flex/align_content_center_single_line.html HTML · 22 líneas · 671 B Historia crudo

Fix `justify-content` and `align-content` when free space is negative (content overflows container) (#551) 48e4800f1 · 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="width: 120px; height: 100px; flex-direction: row; align-content: center;">
13  <div style="height: 10px; width: 50px;"></div>
14  <div style="height: 10px; width: 50px;"></div>
15  <div style="height: 10px; width: 50px;"></div>
16  <div style="height: 10px; width: 50px;"></div>
17  <div style="height: 10px; width: 50px;"></div>
18  <div style="height: 10px; width: 50px;"></div>
19</div>
20
21</body>
22</html>