style of width=max-content does not work expectedly if content text of first character is ideographic space
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox121 | --- | fixed |
firefox122 | --- | fixed |
firefox123 | --- | fixed |
People
(Reporter: yaruo.makaizou, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Steps to reproduce:
Open following html.
<!DOCTYPE html>
<meta charset="utf-8">
<title></title>
<div style="max-width:1000px">
<div style="width:max-content; background-color:#fee; white-space:nowrap"> this box width is insufficient.</div>
<div style="width:max-content; background-color:#efe; white-space:normal"> this content text is wrapped unexpectedly.</div>
<div style="width:max-content; background-color:#eef; white-space:normal">if ideographic space does not exists in first character of text line, max-content style works well.</div>
</div>
Actual results:
first character of ideographic space makes layout wrong when style="width:max-content" is used.
Expected results:
the layout is same to Firefox 120.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
This was backed out, see bug 1862249.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•