I know that elements with display: inline-block
with display: value-other-than-visible
(can) make the baseline of their parent position at the bottom of the inline-block's hpbm (height, padding, border, margin).
Why does text-area
seem to produce the same effect? I know most user-agents make it inline-block
.
For example:
textarea {
height: 100px;
}
I am text.
<span>I am a span.</span>
<textarea></textarea>
div {
display: inline-block;
height: 100px;
}
I am text.
<span>I am a span.</span>
<div>I am an inline-block</div>