Open Bug 1720168 Opened 4 years ago Updated 3 years ago

column visual artefacts when breaking flex containers (styled by boostrap)

Categories

(Core :: Layout: Columns, defect)

Firefox 89
Unspecified
All
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox90 --- wontfix
firefox91 --- fix-optional
firefox92 --- fix-optional

People

(Reporter: cdalxndr, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

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

Steps to reproduce:

Using responsive column-count depending on device width.
column-count 2 and 3 show visual artifacts.
Original issue: https://github.com/twbs/bootstrap/issues/34473
Test case: https://codepen.io/cdalxndr/pen/xxdEPWP

Actual results:

Text is misaligned and row is split between columns.

Expected results:

Clear column separation and no misalignment.

Attached image column-count-3.png
Attached image column-count-2.png

Here's a simplified test case: https://codepen.io/cdalxndr/pen/LYybega
The text misalignment is not reproductible in this test, only the slippage into the second column when column-count=2.

Summary: column-count clipping → column-count visual artefacts

The simplified test case is reproductible also in Chrome and Edge browser, and they look visually the same.

Component: Untriaged → Layout: Columns
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All

Our flex container fragmentation isn't perfect, and there may be some chance to refine the break opportunities. The original testcase does look better in Chrome, but bootstrap adds a lot of style in nested DOM tree, so it may require more analysis to figure out what rendering is more reasonable.

Severity: -- → S3
Summary: column-count visual artefacts → column visual artefacts when breaking flex containers (styled by boostrap)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: