tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62536 Sutichaykuna

⎇ rayon test_fixtures/flex/align_content_center_single_line_negative_space.html HTML · 19 siq'ikuna · 581 B Ñawpa willay ch'uya

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="display: flex; flex-direction: column; width: 320px; height: 320px; border-width: 60px;">
13  <div style="display: flex; flex-direction: row; align-content: center; justify-content: center; height: 10px;">
14    <div style="width: 80%; height: 60px; flex-shrink: 0;"></div>
15  </div>
16</div>
17
18</body>
19</html>