From 1d00bfe175d51e663d0bae88b6dbd10a266a71f1 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Wed, 14 Jul 2021 21:07:39 +0800 Subject: [PATCH] test: add test cases for text-stroke and textarea from (#1540 and #2132) (#2585) --- tests/reftests/text/stroke.html | 73 +++++++++++++++++++++++++++++++ tests/reftests/text/textarea.html | 67 ++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 tests/reftests/text/stroke.html create mode 100644 tests/reftests/text/textarea.html diff --git a/tests/reftests/text/stroke.html b/tests/reftests/text/stroke.html new file mode 100644 index 0000000..171a67a --- /dev/null +++ b/tests/reftests/text/stroke.html @@ -0,0 +1,73 @@ + + + + Text stroke tests + + + + + +
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have a stroke + Bolder stroke that makes things pretty +
+
+ Some text with bigger text that should have no stroke + Bolder text that makes things pretty +
+ + diff --git a/tests/reftests/text/textarea.html b/tests/reftests/text/textarea.html new file mode 100644 index 0000000..05b3799 --- /dev/null +++ b/tests/reftests/text/textarea.html @@ -0,0 +1,67 @@ + + + + textarea + + + + + + +
+

1. word wrap

+ + +

2. padding

+ + +

3. line height

+ + +

4. letter spacing

+ +
+
+

5. multiple spaces

+ + +

6. newlines

+ + +

7. long word

+ + +

8. hyphen

+ +
+
+

9. kerning

+ + +

10. kerning with letter spacing

+ + +

11. kerning with letter spacing

+ + +
+ +