tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 492HTML 238TOML 3CSS 11112 Definitions

⎇ 5b578551d59cf98f4f9b6bc29d6b318612db4ec4 test_fixtures/flex_grow_flex_basis_percent_min_max.html HTML · 18 lines · 546 B History raw

Add tests which we never got to pass in yoga (https://github.com/facebook/yoga/issues/427) 817ac5cae · 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>