blob: dc5718164ce23a6cb35ba85644e6bc5f2f0dcc69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>
|