aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-07 17:08:56 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-07 17:08:56 +0100
commited602972aa7b28fac30dcc9ce779975abc9871bf (patch)
treea9a8a6e6484cfe5c6f8b42aa948be0fefc8a964d /test
parent30a933adb2bade2ceee08a9b36371cecf554d648 (diff)
downloadchawan-ed602972aa7b28fac30dcc9ce779975abc9871bf.tar.gz
layout: get rid of flex-direction reverse hack
This must not be handled by the tree builder, as that needlessly complicates tree caching.
Diffstat (limited to 'test')
-rw-r--r--test/layout/flex-direction-reverse.expected3
-rw-r--r--test/layout/flex-direction-reverse.html6
2 files changed, 9 insertions, 0 deletions
diff --git a/test/layout/flex-direction-reverse.expected b/test/layout/flex-direction-reverse.expected
new file mode 100644
index 00000000..5bfdd88e
--- /dev/null
+++ b/test/layout/flex-direction-reverse.expected
@@ -0,0 +1,3 @@
+test 3
+test 2
+test 1
diff --git a/test/layout/flex-direction-reverse.html b/test/layout/flex-direction-reverse.html
new file mode 100644
index 00000000..1c39bdde
--- /dev/null
+++ b/test/layout/flex-direction-reverse.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div style="display: flex; flex-direction: column-reverse">
+<div>test 1</div>
+<div>test 2</div>
+<div>test 3</div>
+</div>