gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definitions

⎇ main test_fixtures/grid/grid_absolute_container_negative_position.html HTML · 25 lines · 729 B History raw

Sort test fixtures and generated tests into folders (#514) 24b8faf43 · aemreaydin ·

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: grid; grid-template-columns: 40px 40px 40px; grid-template-rows: 40px 40px 40px; padding: 10px 20px 30px 40px;">
13  <div style="position: absolute; z-index: 2; background-color: red; right: -15px; top: -5px;"></div>
14  <div style="position: absolute; z-index: 2; background-color: red; bottom: -25px; left: -35px;"></div>
15  <div></div>
16  <div></div>
17  <div></div>
18  <div></div>
19  <div></div>
20  <div></div>
21  <div></div>
22</div>
23
24</body>
25</html>