tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 501HTML 254C 19JavaScript 81414 Sutichaykuna

⎇ main test_fixtures/flex/content_size.html HTML · 19 siq'ikuna · 573 B Ñawpa willay ch'uya

Compute content size, padding and border for each node (#573) 64f8aa0fb · 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="display: flex; flex-direction: column; width: 100px; height: 100px; overflow-y: scroll;">
13  <div style="overflow: visible; height: 30px;">
14    <div style="height: 20px; width: 100%; flex-shrink: 0; position: absolute; top: -10px;">HHHH&ZeroWidthSpace;HHHH</div>
15  </div>
16</div>
17
18</body>
19</html>