Test-case:
<!DOCTYPE html>
<title>::first-line on input / textarea</title>
<link rel="match" href="first-line-input-textarea-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-text-line">
<style>
input::first-line,
textarea::first-line {
color: red;
}
input::first-letter,
textarea::first-letter {
font-size: 100px;
}
</style>
<input value="Some text">
<textarea>
Some more text
</textarea>
Behavior:
- Blink supports
::first-line but not ::first-letter, which seems off (I think either both should be supported or none).
- WebKit and Gecko don't support either (I almost make gecko support
::first-line accidentally).
My intuition is that they shouldn't be supported, because these elements are replaced and opaque-ish, but...
Test-case:
Behavior:
::first-linebut not::first-letter, which seems off (I think either both should be supported or none).::first-lineaccidentally).My intuition is that they shouldn't be supported, because these elements are replaced and opaque-ish, but...