gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definitions

⎇ c2db86dfc600067c6f4d70c8ea398cbcc5d42dbd test_fixtures/display_none_with_child.html HTML · 21 lines · 528 B History raw

add display:none support and fix child ordering for absolute layout 6c186facd · 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: 100px; height: 100px; flex-direction: row;">
13  <div style="flex: 1;"></div>
14  <div style="flex: 1; display:none; flex-direction: column;">
15    <div style="flex: 1; width: 20px;"></div>
16  </div>
17  <div style="flex: 1;"></div>
18</div>
19
20</body>
21</html>