summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html')
-rw-r--r--testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html
new file mode 100644
index 0000000000..b53278900c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/overflow-not-scrollable-2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property">
+<link rel="match" href="overflow-not-scrollable-2-ref.html">
+<style>
+div {
+ height: 200px; width: 200px; overflow: auto;
+ text-shadow: 100px 100px 30px black;
+ font-size: 50px;
+ font-weight: bold;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+</style>
+<div>
+<span>text</span>
+</div>