gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1116HTML 1041Markdown 12TOML 94780 Definitions

add background colors to test cases

c086b48b5cd3f9fe065429a91928fdf8bab1be83 · by Emil Sjölander · (7 years ago) · parent 2771b6b07 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +28 −0

diff --git a/scripts/gentest/test_base_style.css b/scripts/gentest/test_base_style.css
index 16f4a1375..d9c038e3a 100644
--- a/scripts/gentest/test_base_style.css
+++ b/scripts/gentest/test_base_style.css
@@ -14,4 +14,32 @@ div, span, img {
 
 body > * {
   position: absolute;
+}
+
+div {
+  background-color: #222;
+}
+
+div > div {
+  background-color: #444;
+}
+
+div > div > div {
+  background-color: #666;
+}
+
+div > div > div > div {
+  background-color: #888;
+}
+
+div > div > div > div > div {
+  background-color: #aaa;
+}
+
+div > div > div > div > div > div {
+  background-color: #ccc;
+}
+
+div > div > div > div > div > div > div {
+  background-color: #eee;
 }
\ No newline at end of file