From 1dcd17b4080663e2893e388c327c805707a09f78 Mon Sep 17 00:00:00 2001
From: ysk2014 <1181102772@qq.com>
Date: Mon, 14 Sep 2020 12:21:30 +0800
Subject: [PATCH] add test files
---
examples/demo3.html | 54 -----------------------
examples/demo4.html | 72 -------------------------------
tests/reftests/images/filter.html | 33 ++++++++++++++
tests/reftests/text/stroke.html | 33 ++++++++++++++
4 files changed, 66 insertions(+), 126 deletions(-)
delete mode 100644 examples/demo3.html
delete mode 100644 examples/demo4.html
create mode 100644 tests/reftests/images/filter.html
create mode 100644 tests/reftests/text/stroke.html
diff --git a/examples/demo3.html b/examples/demo3.html
deleted file mode 100644
index 8bc02dc..0000000
--- a/examples/demo3.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- Text stroke tests
-
-
-
-
-
-
- Some text with bigger text that should have a stroke
- Bolder stroke that makes things pretty
-
-
-
-
-
\ No newline at end of file
diff --git a/examples/demo4.html b/examples/demo4.html
deleted file mode 100644
index bd805c4..0000000
--- a/examples/demo4.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
- Nested transform tests
-
-
-
-
-
-
-

-
-
-
-
-
diff --git a/tests/reftests/images/filter.html b/tests/reftests/images/filter.html
new file mode 100644
index 0000000..3dbf502
--- /dev/null
+++ b/tests/reftests/images/filter.html
@@ -0,0 +1,33 @@
+
+
+
+ External content tests
+
+
+
+
+
+
+ Original image
+
+
+ filter: blur(5px);
+
+
+ filter: contrast(200%);
+
+
+ filter: grayscale(80%);
+
+
+ filter: hue-rotate(90deg);
+
+
+ filter: invert(75%);
+
+
+
diff --git a/tests/reftests/text/stroke.html b/tests/reftests/text/stroke.html
new file mode 100644
index 0000000..aee2bd0
--- /dev/null
+++ b/tests/reftests/text/stroke.html
@@ -0,0 +1,33 @@
+
+
+
+ Text stroke
+
+
+
+
+
+ <h1> text-stroke
+
+ Some text with bigger text that should have a stroke Bolder stroke that
+ makes things pretty
+
+
+