tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1311HTML 640Markdown 11TOML 63653 Definiciones

⎇ ea2beedd05271c1038a7d9539f8313e949915a14 test_fixtures/justify_content_column_space_evenly_negative_space_gap.html HTML · 21 líneas · 725 B Historia crudo

Fix `justify-content` and `align-content` when free space is negative (content overflows container) (#551) 837d03fde · 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: flex; flex-direction: column; width: 320px; height: 320px; border-width: 60px;">
13  <div style="display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; height: 10px; gap: 10px;">
14    <div style="width: 80%; height: 20px; flex-shrink: 0;"></div>
15    <div style="width: 80%; height: 20px; flex-shrink: 0;"></div>
16    <div style="width: 80%; height: 20px; flex-shrink: 0;"></div>
17  </div>
18</div>
19
20</body>
21</html>