Removes test from text/deco.typ

A test already exists for small caps; it now also tests HTML render.
This commit is contained in:
Lachlan Kermode 2025-07-16 22:46:37 +02:00
parent 4f6712e3b3
commit 99015efa66
4 changed files with 11 additions and 5 deletions

View File

@ -7,6 +7,5 @@
<body>
<p><s>Struck</s> <mark>Highlighted</mark> <span style="text-decoration: underline">Underlined</span> <span style="text-decoration: overline">Overlined</span></p>
<p><span style="text-decoration: overline"><span style="text-decoration: underline"><mark><s>Mixed</s></mark></span></span></p>
<p><span style="font-variant-caps: small-caps">Small Caps</span> <span style="font-variant-caps: all-small-caps">All Small Caps</span></p>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<p><span style="font-variant-caps: small-caps">Test 012</span><br><span style="font-variant-caps: all-small-caps">Test 012</span></p>
</body>
</html>

View File

@ -91,6 +91,3 @@ We can also specify a customized value
#overline[Overlined]
#(strike, highlight, underline, overline).fold([Mixed], (it, f) => f(it))
#smallcaps[Small Caps]
#smallcaps(all: true)[All Small Caps]

View File

@ -11,6 +11,6 @@
#show smallcaps: set text(fill: red)
#smallcaps[Smallcaps]
--- smallcaps-all ---
--- smallcaps-all render html ---
#smallcaps(all: false)[Test 012] \
#smallcaps(all: true)[Test 012]