summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-clip-text-1d.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/backgrounds/background-clip-text-1d.html')
-rw-r--r--layout/reftests/backgrounds/background-clip-text-1d.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/backgrounds/background-clip-text-1d.html b/layout/reftests/backgrounds/background-clip-text-1d.html
new file mode 100644
index 0000000000..2510c55c2c
--- /dev/null
+++ b/layout/reftests/backgrounds/background-clip-text-1d.html
@@ -0,0 +1,24 @@
+<!doctype HTML>
+<html>
+ <head>
+ <title>background-clip: text</title>
+ <style>
+ div.out {
+ width: 500px;
+ height: 300px;
+ margin: 0px;
+ background: linear-gradient(green, green) padding-box text;
+ color: transparent;
+ font-size: 100px;
+ font-family: serif;
+ -moz-osx-font-smoothing: grayscale;
+ }
+ </style>
+ </head>
+ <body style="margin: 0px;">
+ <div class="out">
+ TEXT clip
+ <div style="display:inline-block; width:0px; height:200px;"/>
+ </div>
+ </body>
+</html>