Closed
Bug 1882485
Opened 1 year ago
Closed 1 year ago
<br> is ignored when inside a div with style: display:flex
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1547246
People
(Reporter: wolfi, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Steps to reproduce:
Place some <br> tags inside a <div>
style the div with display:flex;
https://jsfiddle.net/v4u96L07/
<div class="box">
Line1<br><br><br>Line4
</div>
.box {
display:flex;
}
Actual results:
line breaks are not reflected
Expected results:
line breaks should be reflected
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Updated•1 year ago
|
Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: CSS Parsing and Computation → Layout: Flexbox
Ever confirmed: true
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•