summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-shadow/overflow-clip.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-shadow/overflow-clip.html')
-rw-r--r--layout/reftests/text-shadow/overflow-clip.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/text-shadow/overflow-clip.html b/layout/reftests/text-shadow/overflow-clip.html
new file mode 100644
index 0000000000..399bc4311f
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-clip.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<!--
+checks that unblurred text-shadows are
+actually clipped by text-overflow: clip
+-->
+<html>
+<head></head>
+<body>
+ <div style="
+ width: 3em;
+ text-overflow: clip;
+ overflow: hidden;
+ text-shadow: 3em 0px black;
+ white-space: nowrap;
+ color: red;">MMMMMM
+ </div>
+</body>
+</html>