tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definiciones

⎇ main test_fixtures/flex/taffy_issue_937_column_gap_margin_auto.html HTML · 18 líneas · 587 B Historia crudo

Flexbox: apply `gap` even when there are auto margins (#938) 647d235a5 · 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  <meta rel="issue" content="taffy#937" />
7  <title>
8    Test description
9  </title>
10</head>
11<body>
12  <div id="test-root" style="display: flex; flex-direction: column; gap: 10px; width: 200px; height: 200px;">
13    <div style="width: 50px; height: 50px; margin-bottom: auto; background: red;"></div>
14    <div style="width: 50px; height: 50px; background: blue;"></div>
15  </div>
16</body>
17
18</html>