tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

⎇ e6255f79aa9a3f8065504fddb315ff4a6dfe6d0f test_fixtures/flex/flex_grow_0_min_size.html HTML · 21 líneas · 780 B Historia crudo

Flexbox: Fix flooring hypothetical_main_size by computed min size (#689) e6255f79a · 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 name="wpt-test-port" value="css/css-flexbox/flexbox_flex-0-0-0.html" />
7  <title>
8    Test description
9  </title>
10</head>
11<body>
12
13<div id="test-root" style="display: flex; flex-direction: row; height: 100px; width: 400px; background: blue; border: 1px solid black;">
14  <div style="flex-shrink: 0; flex-grow: 0; flex-basis: 0%;">one</div>
15  <div style="flex-shrink: 0; flex-grow: 0; flex-basis: 0%;">two</div>
16  <div style="flex-shrink: 0; flex-grow: 0; flex-basis: 0%;">three</div>
17  <div style="flex-shrink: 0; flex-grow: 0; flex-basis: 0%;">four</div>
18</div>
19
20</body>
21</html>