From dd1a49d2beab7445e903ab0acc29414d690f1977 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 13 Feb 2025 20:40:32 +0100 Subject: csstree, cssvalues: implement counter() --- test/layout/counters.expected | 15 +++++++++++++++ test/layout/counters.html | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 test/layout/counters.expected create mode 100644 test/layout/counters.html (limited to 'test') diff --git a/test/layout/counters.expected b/test/layout/counters.expected new file mode 100644 index 00000000..0bab8ed4 --- /dev/null +++ b/test/layout/counters.expected @@ -0,0 +1,15 @@ +[1]test + 1. 1 1 +[2]test + 2. 2 2 + 3. 3 3 + 4. 4 4 + 5. 5 5 + 6. 6 6 + 7. 7 7 + 1. 1 1 + 2. 2 2 + 3. 3 3 + 4. 4 4 + 5. 5 5 +[3]test diff --git a/test/layout/counters.html b/test/layout/counters.html new file mode 100644 index 00000000..ac410e73 --- /dev/null +++ b/test/layout/counters.html @@ -0,0 +1,37 @@ + + + +test +
+ 1 +
+ test + 2 + 3 + 4 + 5 +
+ 6 + 7 +
+
+ 1 + 2 + 3 +
+ 4 +
+ 5 +
+test -- cgit