Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v63.0 text in <ul> flexbox is wrapping unexpectedly #2312

Open
endaxi opened this issue Nov 25, 2024 · 1 comment
Open

v63.0 text in <ul> flexbox is wrapping unexpectedly #2312

endaxi opened this issue Nov 25, 2024 · 1 comment
Labels
bug Existing features not working as expected

Comments

@endaxi
Copy link

endaxi commented Nov 25, 2024

In v62.x, the output from ticket.html looks like ticket.pdf, but in v63.0 it looks like this:

Image

The highlighted text is wrapping as it is not being given enough room to fit on one line.

@liZe
Copy link
Member

liZe commented Dec 7, 2024

Thanks a lot for the report.

The bug has been introduced by bfeefa4.

To be honest, fixing this regression will either break the new cases handled by #2231 or introduce new regressions. Let’s keep it the code this way, with the regression, until we rewrite the whole flex layout code.

For the record: here’s the most simple sample I’ve found to reproduce the problem. It includes 3 levels of nested flex items, mixing row and column directions, and a nice box-sizing: border-box property.

<style>
body {
  display: flex;
}
section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding-left: 100px;
}
div {
  display: flex;
}
</style>
<section>
  <div>
    <span>a b</span>
  </div>
</section>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants