tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 8TOML 3CSS 1317 Definiciones

⎇ 859cd5182556840aff0fbdcdf1635c3df028e321 test_fixtures/grid/grid_justify_content_center_negative_space_gap.html HTML · 27 líneas · 730 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="display: grid; width: 240px; height: 240px; border-width: 60px;">
13  <div id="test-root" style="height: 120px; width: 120px; display: grid; grid-template-columns: 40px 40px 40px; grid-template-rows: 20px 20px 20px; justify-content: center; align-content: center; gap: 10px;">
14    <div></div>
15    <div></div>
16    <div></div>
17    <div></div>
18    <div></div>
19    <div></div>
20    <div></div>
21    <div></div>
22    <div></div>
23  </div>
24</div>
25
26</body>
27</html>