Open Bug 1913900 Opened 6 months ago Updated 6 months ago

Item overflow to second column (using "columns" CSS property)

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 130
defect

Tracking

()

UNCONFIRMED

People

(Reporter: juraj.masiar, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Attached image padding_overflow.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Steps to reproduce:

  1. open page:
    https://codesandbox.io/p/sandbox/broken-columns-padding-9gnpj5?file=%2Findex.html
  2. observe top of the second column

Actual results:

The last item in the first column is overflowing to the second column.
See also attached screenshot for example.

Expected results:

It should not overflow.
Open the page in Chromium where it works fine.

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
Severity: -- → S3
Depends on: 549114

Thanks David!
I've read the thread (somewhat) and by adding break-inside: avoid-column I've managed to fix the issue.
Although I have no idea what it does :D, even after reading MDN: Avoids any column break within the principal box. (I see, the principal box... LOL!)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: