gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definitions

⎇ main test_fixtures/grid/grid_justify_self_direction_rtl.html HTML · 19 lines · 736 B History raw

Implement `direction` property (#906) 60601a657 · Kane Wang ·

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="height: 120px; width: 120px; display: grid; grid-template-columns: 40px 40px 40px; grid-template-rows: 40px 40px 40px; direction: rtl;">
13  <div style="width: 20px; height: 20px; grid-row: 1; grid-column: 1; justify-self: start;"></div>
14  <div style="width: 20px; height: 20px; grid-row: 2; grid-column: 2; justify-self: end;"></div>
15  <div style="width: 20px; height: 20px; grid-row: 3; grid-column: 3; justify-self: center;"></div>
16</div>
17
18</body>
19</html>