[LayoutNG] external/wpt/css/css-lists/list-and-block-textarea-001.html fails |
|
Issue descriptionThe list item marker contributes to the height of the list item somehow. Looks like we're trying to align the marker with the text inside the textarea (which has a smaller font).
,
Jan 8
Cathie, is this a test you moved to wpt? Any idea?
,
Jan 9
Strange...
This is somehow related with:
textarea {
border: 0px;
padding: 0px;
}
I'll look into this. :)
,
Jan 9
Without the border and padding, maybe the baseline of the text inside the textarea will be sufficiently far down so that we don't need to push the textarea down to align with that of the list item marker?
,
Jan 10
#4 Yes, that is exactly the reason. I tracked the changes: We pushed the textarea down because we want list marker effect the line-height. https://github.com/w3c/csswg-drafts/issues/2418 https://chromium-review.googlesource.com/c/chromium/src/+/994915/ This behavior isn't defined clearly yet. However, the behavior of list-and-block-textarea-001.html is clear enough. The height of li should be 45px. Maybe we could make a rule: when marker is taller than content, it could affect line-height of li and the baseline of content. Otherwise, it shouldn't. So what do you think about it?
,
Jan 10
IIRC, it was controversial in WG, fantasai wanted to keep the rhythm than to avoid possible overlap of markers. Maybe, if it's not defined, move it back to fast directory and file to csswg?
,
Jan 10
Yes, https://codepen.io/kojiishi/pen/vRBBNd is controversial. But I think list-and-block-textarea-001.html is not. Textarea is taller than marker. If it is taller there should be no overlap issue. |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Jan 8