tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definitions

⎇ 0914058db433aaba2d4e4d6b11efc73eb1daf61d test_fixtures/child_min_max_width_flexing.html HTML · 18 lines · 541 B History raw

Format inline css in text fixtures (#465) 08376be24 · 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  <title>
7    Test description
8  </title>
9</head>
10<body>
11
12<div id="test-root" style="width: 120px; height: 50px; flex-direction: row; align-items: stretch;">
13  <div style="min-width: 60px; flex-grow: 1; flex-shrink: 0; flex-basis: 0px;"></div>
14  <div style="max-width: 20px; flex-grow: 1; flex-shrink: 0; flex-basis: 50%;"></div>
15</div>
16
17</body>
18</html>