tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1311HTML 640Markdown 11TOML 63653 Definitions

⎇ 83ea1eab8b724c37f4d77cce0f40e04c219a5378 test_fixtures/grid_absolute_container_top_right_margin.html HTML · 32 lines · 674 B History raw

Implement CSS Grid (#205) 6fd2c6bcb · 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: grid; grid-template-columns: 40px 40px 40px;grid-template-rows: 40px 40px 40px;padding: 10px 20px 30px 40px">
13  <div style="
14    position: absolute;
15    z-index: 2;
16    background-color: red;
17    right: 0;
18    top: 0;
19    margin: 1px 2p 3px 4px;
20  "></div>
21  <div></div>
22  <div></div>
23  <div></div>
24  <div></div>
25  <div></div>
26  <div></div>
27  <div></div>
28  <div></div>
29</div>
30
31</body>
32</html>