tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 10TOML 3CSS 1348 Definitions

⎇ 837d03fde9d8a4efa0f4eaf1e8be2fd34a719a50 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>