Closed Bug 1803816 Opened 3 years ago Closed 3 years ago

Fragmentation not working for non-printed table (table not breaking inside multicol)

Categories

(Core :: Layout: Tables, defect)

Firefox 107
defect

Tracking

()

RESOLVED DUPLICATE of bug 888257

People

(Reporter: bugzil.la, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

Run this website. https://plnkr.co/edit/kdZN8xRdskrKgcLKDO1W?p=preview&preview

Actual results:

The table is not divided into 3 columns.

Expected results:

The content (including table) should be divided into 3 columns. Looks like table-row style (on <tr/>) prevent breaking. Check chromium results.

Is there workaround to enable breaking after each <tr/>?

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Tables' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Tables
Product: Firefox → Core
Summary: columns and table-row → column-count ignored for table
Summary: column-count ignored for table → Fragmentation not working for non-printed table (table not breaking inside multicol)

This is an old bug -- bug 888257. Firefox never supports table fragmentation in multi-column layout, so there's no workaround. However, you might want to achieve the same result by using modern layout such as flex or grid that support breaking in multi-column.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Duplicate of bug: 888257
Resolution: --- → DUPLICATE

@:(In reply to Ting-Yu Lin [:TYLin] (UTC-8) from comment #2)

This is an old bug -- bug 888257. Firefox never supports table fragmentation in multi-column layout, so there's no workaround. However, you might want to achieve the same result by using modern layout such as flex or grid that support breaking in multi-column.

*** This bug has been marked as a duplicate of bug 888257 ***

Never? Due to Caniuse.com the fragmentation of tables doesn't work in Firefox 37- for table-caption. After version 51 is full support (including tables). https://caniuse.com/?search=columns

I use table for typical data (thus the correct use is table/tbody/tr/td - not for layout). I will check can I use grid. The table has variable width of all columns, multiple width and I use visible:collapse. The "visible:collapse" probably will not work in grid.

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