gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Definiciones

add background colors to test cases

42890f5244d86634d91bacc04a85cbbc603713bf · por Emil Sjölander · (hace 7 años) · padre a305186d5 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +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