summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/3700-deformed-stroke.pngbin0 -> 144 bytes
-rw-r--r--tests/typ/bugs/3700-deformed-stroke.typ11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/bugs/3700-deformed-stroke.png b/tests/ref/bugs/3700-deformed-stroke.png
new file mode 100644
index 00000000..f1db2836
--- /dev/null
+++ b/tests/ref/bugs/3700-deformed-stroke.png
Binary files differ
diff --git a/tests/typ/bugs/3700-deformed-stroke.typ b/tests/typ/bugs/3700-deformed-stroke.typ
new file mode 100644
index 00000000..7ca6ba6b
--- /dev/null
+++ b/tests/typ/bugs/3700-deformed-stroke.typ
@@ -0,0 +1,11 @@
+// Test shape fill & stroke for specific values that used to make the stroke
+// deformed.
+// https://github.com/typst/typst/issues/3700
+
+---
+#rect(
+ radius: 1mm,
+ width: 100%,
+ height: 10pt,
+ stroke: (left: rgb("46b3c2") + 16.0mm),
+) \ No newline at end of file