diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-01-24 13:11:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 12:11:26 +0000 |
| commit | 26e65bfef5b1da7f6c72e1409237cf03fb5d6069 (patch) | |
| tree | dae6f71efead43736202dd6aea933b95b1bc7a14 /tests/ref | |
| parent | 467968af0788a3059e1bed47f9daee846f5b3904 (diff) | |
Semantic paragraphs (#5746)
Diffstat (limited to 'tests/ref')
28 files changed, 133 insertions, 3 deletions
diff --git a/tests/ref/bibliography-grid-par.png b/tests/ref/bibliography-grid-par.png Binary files differnew file mode 100644 index 00000000..5befbcc5 --- /dev/null +++ b/tests/ref/bibliography-grid-par.png diff --git a/tests/ref/bibliography-indent-par.png b/tests/ref/bibliography-indent-par.png Binary files differnew file mode 100644 index 00000000..98a3c4d0 --- /dev/null +++ b/tests/ref/bibliography-indent-par.png diff --git a/tests/ref/enum-par.png b/tests/ref/enum-par.png Binary files differnew file mode 100644 index 00000000..ca923a52 --- /dev/null +++ b/tests/ref/enum-par.png diff --git a/tests/ref/figure-par.png b/tests/ref/figure-par.png Binary files differnew file mode 100644 index 00000000..d70bbcb1 --- /dev/null +++ b/tests/ref/figure-par.png diff --git a/tests/ref/heading-par.png b/tests/ref/heading-par.png Binary files differnew file mode 100644 index 00000000..affc0df4 --- /dev/null +++ b/tests/ref/heading-par.png diff --git a/tests/ref/html/enum-par.html b/tests/ref/html/enum-par.html new file mode 100644 index 00000000..60d4592b --- /dev/null +++ b/tests/ref/html/enum-par.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + </head> + <body> + <div> + <ol> + <li>Hello</li> + <li>World</li> + </ol> + </div> + <div> + <ol> + <li> + <p>Hello</p> + <p>From</p> + </li> + <li>World</li> + </ol> + </div> + <div> + <ol> + <li> + <p>Hello</p> + <p>From</p> + <p>The</p> + </li> + <li> + <p>World</p> + </li> + </ol> + </div> + </body> +</html> diff --git a/tests/ref/html/list-par.html b/tests/ref/html/list-par.html new file mode 100644 index 00000000..7c747ff4 --- /dev/null +++ b/tests/ref/html/list-par.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + </head> + <body> + <div> + <ul> + <li>Hello</li> + <li>World</li> + </ul> + </div> + <div> + <ul> + <li> + <p>Hello</p> + <p>From</p> + </li> + <li>World</li> + </ul> + </div> + <div> + <ul> + <li> + <p>Hello</p> + <p>From</p> + <p>The</p> + </li> + <li> + <p>World</p> + </li> + </ul> + </div> + </body> +</html> diff --git a/tests/ref/html/par-semantic-html.html b/tests/ref/html/par-semantic-html.html new file mode 100644 index 00000000..09c7d2fd --- /dev/null +++ b/tests/ref/html/par-semantic-html.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + </head> + <body> + <h2>Heading is no paragraph</h2> + <p>I'm a paragraph.</p> + <div>I'm not.</div> + <div> + <p>We are two.</p> + <p>So we are paragraphs.</p> + </div> + </body> +</html> diff --git a/tests/ref/html/quote-attribution-link.html b/tests/ref/html/quote-attribution-link.html index 753807db..c12d2ae2 100644 --- a/tests/ref/html/quote-attribution-link.html +++ b/tests/ref/html/quote-attribution-link.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> - <blockquote cite="https://typst.app/home"> Compose papers faster </blockquote> + <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-plato.html b/tests/ref/html/quote-plato.html index f516adc2..03983508 100644 --- a/tests/ref/html/quote-plato.html +++ b/tests/ref/html/quote-plato.html @@ -5,9 +5,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> - <blockquote> … ἔοικα γοῦν τούτου γε σμικρῷ τινι αὐτῷ τούτῳ σοφώτερος εἶναι, ὅτι ἃ μὴ οἶδα οὐδὲ οἴομαι εἰδέναι. </blockquote> + <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> + <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> diff --git a/tests/ref/html/terms-par.html b/tests/ref/html/terms-par.html new file mode 100644 index 00000000..78bc5df1 --- /dev/null +++ b/tests/ref/html/terms-par.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + </head> + <body> + <div> + <dl> + <dt>Hello</dt> + <dd>A</dd> + <dt>World</dt> + <dd>B</dd> + </dl> + </div> + <div> + <dl> + <dt>Hello</dt> + <dd> + <p>A</p> + <p>From</p> + </dd> + <dt>World</dt> + <dd>B</dd> + </dl> + </div> + <div> + <dl> + <dt>Hello</dt> + <dd> + <p>A</p> + <p>From</p> + <p>The</p> + </dd> + <dt>World</dt> + <dd> + <p>B</p> + </dd> + </dl> + </div> + </body> +</html> diff --git a/tests/ref/issue-5503-enum-in-align.png b/tests/ref/issue-5503-enum-in-align.png Binary files differnew file mode 100644 index 00000000..4857e731 --- /dev/null +++ b/tests/ref/issue-5503-enum-in-align.png diff --git a/tests/ref/issue-5503-enum-interrupted-by-par-align.png b/tests/ref/issue-5503-enum-interrupted-by-par-align.png Binary files differdeleted file mode 100644 index 9cc942b4..00000000 --- a/tests/ref/issue-5503-enum-interrupted-by-par-align.png +++ /dev/null diff --git a/tests/ref/issue-5503-list-interrupted-by-par-align.png b/tests/ref/issue-5503-list-in-align.png Binary files differindex 2b785c4b..2b785c4b 100644 --- a/tests/ref/issue-5503-list-interrupted-by-par-align.png +++ b/tests/ref/issue-5503-list-in-align.png diff --git a/tests/ref/issue-5503-terms-interrupted-by-par-align.png b/tests/ref/issue-5503-terms-in-align.png Binary files differindex 1bdacd94..1bdacd94 100644 --- a/tests/ref/issue-5503-terms-interrupted-by-par-align.png +++ b/tests/ref/issue-5503-terms-in-align.png diff --git a/tests/ref/list-par.png b/tests/ref/list-par.png Binary files differnew file mode 100644 index 00000000..5f0003d1 --- /dev/null +++ b/tests/ref/list-par.png diff --git a/tests/ref/math-par.png b/tests/ref/math-par.png Binary files differnew file mode 100644 index 00000000..30d64794 --- /dev/null +++ b/tests/ref/math-par.png diff --git a/tests/ref/outline-par.png b/tests/ref/outline-par.png Binary files differnew file mode 100644 index 00000000..04c63f62 --- /dev/null +++ b/tests/ref/outline-par.png diff --git a/tests/ref/par-contains-block.png b/tests/ref/par-contains-block.png Binary files differnew file mode 100644 index 00000000..f4bd071f --- /dev/null +++ b/tests/ref/par-contains-block.png diff --git a/tests/ref/par-contains-parbreak.png b/tests/ref/par-contains-parbreak.png Binary files differnew file mode 100644 index 00000000..f4bd071f --- /dev/null +++ b/tests/ref/par-contains-parbreak.png diff --git a/tests/ref/par-hanging-indent-semantic.png b/tests/ref/par-hanging-indent-semantic.png Binary files differnew file mode 100644 index 00000000..e05795c7 --- /dev/null +++ b/tests/ref/par-hanging-indent-semantic.png diff --git a/tests/ref/par-semantic-align.png b/tests/ref/par-semantic-align.png Binary files differnew file mode 100644 index 00000000..eda49641 --- /dev/null +++ b/tests/ref/par-semantic-align.png diff --git a/tests/ref/par-semantic-tag.png b/tests/ref/par-semantic-tag.png Binary files differnew file mode 100644 index 00000000..2b26e5ae --- /dev/null +++ b/tests/ref/par-semantic-tag.png diff --git a/tests/ref/par-semantic.png b/tests/ref/par-semantic.png Binary files differnew file mode 100644 index 00000000..c2eca74d --- /dev/null +++ b/tests/ref/par-semantic.png diff --git a/tests/ref/par-show.png b/tests/ref/par-show.png Binary files differnew file mode 100644 index 00000000..1ceb26f7 --- /dev/null +++ b/tests/ref/par-show.png diff --git a/tests/ref/quote-par.png b/tests/ref/quote-par.png Binary files differnew file mode 100644 index 00000000..89d15ddf --- /dev/null +++ b/tests/ref/quote-par.png diff --git a/tests/ref/table-cell-par.png b/tests/ref/table-cell-par.png Binary files differnew file mode 100644 index 00000000..24a2a55f --- /dev/null +++ b/tests/ref/table-cell-par.png diff --git a/tests/ref/terms-par.png b/tests/ref/terms-par.png Binary files differnew file mode 100644 index 00000000..910b5e5d --- /dev/null +++ b/tests/ref/terms-par.png |
