gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 497HTML 254C 19JavaScript 81329 Definiciones

⎇ 837d03fde9d8a4efa0f4eaf1e8be2fd34a719a50 test_fixtures/align_content_start_wrapped_negative_space.html HTML · 21 líneas · 723 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: row; flex-wrap: wrap; align-content: start; justify-content: center; height: 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>