tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

⎇ 0.1.x test_fixtures/flex_basis_and_main_dimen_set_when_flexing.html HTML · 18 líneas · 494 B Historia crudo

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="flex-direction: row; width: 100px;">
13  <div style="flex-basis: 10px; width: 50px; height: 50px; flex-grow: 1;"></div>
14  <div style="flex-basis: 10px; width: 0px; height: 50px; flex-grow: 1;"></div>
15</div>
16
17</body>
18</html>