diff options
Diffstat (limited to 'tests/ref/counters_nested_ref.html')
-rw-r--r-- | tests/ref/counters_nested_ref.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/ref/counters_nested_ref.html b/tests/ref/counters_nested_ref.html new file mode 100644 index 00000000000..b42f6509c83 --- /dev/null +++ b/tests/ref/counters_nested_ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> +<head> +<!-- Tests that `counters` works with nested counters. --> +<style> +h1, h2, h3 { + font-size: 24px; +} +</style> +</head> +<body> +<section> + <h1>1. Foo</h1> + <section> + <h2>1.1. Boo</h2> + <h2>1.2. Quux</h2> + <section> + <h3>1.2.1. Blah</h3> + </section> + </section> + <h1>1.3. Bar</h1> + <section></section> + <h2>1.1. Boo</h2> + <h2>1.2. Quux</h2> + <h1>1.3. Baz</h1> +</section> +</body> +</html> + |