summaryrefslogtreecommitdiff
path: root/tests/ref/html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ref/html')
-rw-r--r--tests/ref/html/basic-table.html22
-rw-r--r--tests/ref/html/block-html.html8
-rw-r--r--tests/ref/html/box-html.html4
-rw-r--r--tests/ref/html/enum-start.html3
-rw-r--r--tests/ref/html/heading-html-basic.html28
-rw-r--r--tests/ref/html/link-basic.html16
-rw-r--r--tests/ref/html/quote-attribution-link.html8
-rw-r--r--tests/ref/html/quote-nesting-html.html4
-rw-r--r--tests/ref/html/quote-plato.html16
9 files changed, 39 insertions, 70 deletions
diff --git a/tests/ref/html/basic-table.html b/tests/ref/html/basic-table.html
index 6ba1864e..189a5b31 100644
--- a/tests/ref/html/basic-table.html
+++ b/tests/ref/html/basic-table.html
@@ -8,26 +8,36 @@
<table>
<thead>
<tr>
- <th>The</th><th>first</th><th>and</th>
+ <th>The</th>
+ <th>first</th>
+ <th>and</th>
</tr>
<tr>
- <th>the</th><th>second</th><th>row</th>
+ <th>the</th>
+ <th>second</th>
+ <th>row</th>
</tr>
</thead>
<tbody>
<tr>
- <td>Foo</td><td rowspan="2">Baz</td><td>Bar</td>
+ <td>Foo</td>
+ <td rowspan="2">Baz</td>
+ <td>Bar</td>
</tr>
<tr>
- <td>1</td><td>2</td>
+ <td>1</td>
+ <td>2</td>
</tr>
<tr>
- <td colspan="2">3</td><td>4</td>
+ <td colspan="2">3</td>
+ <td>4</td>
</tr>
</tbody>
<tfoot>
<tr>
- <td>The</td><td>last</td><td>row</td>
+ <td>The</td>
+ <td>last</td>
+ <td>row</td>
</tr>
</tfoot>
</table>
diff --git a/tests/ref/html/block-html.html b/tests/ref/html/block-html.html
index 98d971b8..d1716c6d 100644
--- a/tests/ref/html/block-html.html
+++ b/tests/ref/html/block-html.html
@@ -5,11 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <p>
- Paragraph
- </p>
- <div>
- Div
- </div>
+ <p>Paragraph</p>
+ <div>Div</div>
</body>
</html>
diff --git a/tests/ref/html/box-html.html b/tests/ref/html/box-html.html
index 5c970a6b..b2a26533 100644
--- a/tests/ref/html/box-html.html
+++ b/tests/ref/html/box-html.html
@@ -5,8 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <p>
- Text <span style="display: inline-block;">Span</span>.
- </p>
+ <p>Text <span style="display: inline-block;">Span</span>.</p>
</body>
</html>
diff --git a/tests/ref/html/enum-start.html b/tests/ref/html/enum-start.html
index 8a4ff37f..fc9b3c06 100644
--- a/tests/ref/html/enum-start.html
+++ b/tests/ref/html/enum-start.html
@@ -6,7 +6,8 @@
</head>
<body>
<ol start="3">
- <li>Skipping</li><li>Ahead</li>
+ <li>Skipping</li>
+ <li>Ahead</li>
</ol>
</body>
</html>
diff --git a/tests/ref/html/heading-html-basic.html b/tests/ref/html/heading-html-basic.html
index 56b1e32b..54a22faf 100644
--- a/tests/ref/html/heading-html-basic.html
+++ b/tests/ref/html/heading-html-basic.html
@@ -5,26 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <h2>
- Level 1
- </h2>
- <h3>
- Level 2
- </h3>
- <h4>
- Level 3
- </h4>
- <h5>
- Level 4
- </h5>
- <h6>
- Level 5
- </h6>
- <div role="heading" aria-level="7">
- Level 6
- </div>
- <div role="heading" aria-level="8">
- Level 7
- </div>
+ <h2>Level 1</h2>
+ <h3>Level 2</h3>
+ <h4>Level 3</h4>
+ <h5>Level 4</h5>
+ <h6>Level 5</h6>
+ <div role="heading" aria-level="7">Level 6</div>
+ <div role="heading" aria-level="8">Level 7</div>
</body>
</html>
diff --git a/tests/ref/html/link-basic.html b/tests/ref/html/link-basic.html
index 5d998667..89cb54db 100644
--- a/tests/ref/html/link-basic.html
+++ b/tests/ref/html/link-basic.html
@@ -5,17 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <p>
- <a href="https://example.com/">https://example.com/</a>
- </p>
- <p>
- <a href="https://typst.org/">Some text text text</a>
- </p>
- <p>
- This link appears <a href="https://google.com/">in the middle of</a> a paragraph.
- </p>
- <p>
- Contact <a href="mailto:hi@typst.app">hi@typst.app</a> or call <a href="tel:123">123</a> for more information.
- </p>
+ <p><a href="https://example.com/">https://example.com/</a></p>
+ <p><a href="https://typst.org/">Some text text text</a></p>
+ <p>This link appears <a href="https://google.com/">in the middle of</a> a paragraph.</p>
+ <p>Contact <a href="mailto:hi@typst.app">hi@typst.app</a> or call <a href="tel:123">123</a> for more information.</p>
</body>
</html>
diff --git a/tests/ref/html/quote-attribution-link.html b/tests/ref/html/quote-attribution-link.html
index 4da8b47f..753807db 100644
--- a/tests/ref/html/quote-attribution-link.html
+++ b/tests/ref/html/quote-attribution-link.html
@@ -5,11 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <blockquote cite="https://typst.app/home">
- Compose papers faster
- </blockquote>
- <p>
- — <a href="https://typst.app/home">typst.com</a>
- </p>
+ <blockquote cite="https://typst.app/home"> Compose papers faster </blockquote>
+ <p>— <a href="https://typst.app/home">typst.com</a></p>
</body>
</html>
diff --git a/tests/ref/html/quote-nesting-html.html b/tests/ref/html/quote-nesting-html.html
index c652bd97..6b05a94a 100644
--- a/tests/ref/html/quote-nesting-html.html
+++ b/tests/ref/html/quote-nesting-html.html
@@ -5,8 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <p>
- When you said that “he surely meant that ‘she intended to say “I'm sorry”’”, I was quite confused.
- </p>
+ <p>When you said that “he surely meant that ‘she intended to say “I'm sorry”’”, I was quite confused.</p>
</body>
</html>
diff --git a/tests/ref/html/quote-plato.html b/tests/ref/html/quote-plato.html
index fc052d10..f516adc2 100644
--- a/tests/ref/html/quote-plato.html
+++ b/tests/ref/html/quote-plato.html
@@ -5,17 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <blockquote>
- … ἔοικα γοῦν τούτου γε σμικρῷ τινι αὐτῷ τούτῳ σοφώτερος εἶναι, ὅτι ἃ μὴ οἶδα οὐδὲ οἴομαι εἰδέναι.
- </blockquote>
- <p>
- — Plato
- </p>
- <blockquote>
- … I seem, then, in just this little thing to be wiser than this man at any rate, that what I do not know I do not think I know either.
- </blockquote>
- <p>
- — from the Henry Cary literal translation of 1897
- </p>
+ <blockquote> … ἔοικα γοῦν τούτου γε σμικρῷ τινι αὐτῷ τούτῳ σοφώτερος εἶναι, ὅτι ἃ μὴ οἶδα οὐδὲ οἴομαι εἰδέναι. </blockquote>
+ <p>— Plato</p>
+ <blockquote> … I seem, then, in just this little thing to be wiser than this man at any rate, that what I do not know I do not think I know either. </blockquote>
+ <p>— from the Henry Cary literal translation of 1897</p>
</body>
</html>