summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html b/testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html
new file mode 100644
index 0000000000..dc5718164c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-pseudo/placeholder-excluded-properties.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<title>::placeholder should not support 'writing-mode', 'direction', and 'text-orientation'</title>
+<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#placeholder-pseudo">
+<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-styling">
+<link rel="match" href="reference/placeholder-excluded-properties-ref.html">
+<style>
+.horizontal::placeholder {
+ writing-mode: vertical-rl;
+ direction: rtl;
+}
+
+.vertical {
+ writing-mode: vertical-rl;
+}
+.vertical::placeholder {
+ text-orientation: upright;
+}
+</style>
+<body>
+<input class="horizontal" placeholder="placeholder">
+<input class="vertical" placeholder="placeholder">
+</body>