tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 520HTML 244Markdown 7TOML 41339 Definiciones

⎇ 0.3.x test_fixtures/flex_grow_flex_basis_percent_min_max.html HTML · 18 líneas · 546 B Historia crudo

Add tests which we never got to pass in yoga (https://github.com/facebook/yoga/issues/427) e33b58809 · Emil Sjölander ·

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="width: 120px; flex-direction: row;">
13  <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 0px; height: 20px; min-width: 60px;"></div>
14  <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 50%; height: 20px; max-width: 20px; width: 20px;"></div>
15</div>
16
17</body>
18</html>