summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html b/testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html
new file mode 100644
index 0000000000..0a867e541a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-pseudo/first-letter-opacity-001.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>CSS Test: ::first-letter supports opacity.</title>
+<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1639664">
+<link rel="match" href="first-letter-opacity-001-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-styling">
+ <style>
+ p::first-letter {
+ opacity: 0;
+ }
+ </style>
+</head>
+<body>
+ <p>First</p>
+</body>
+</html>