Closed Bug 1909381 Opened 7 months ago Closed 7 months ago

The table row disappear together with table caption if caption is removed

Categories

(Core :: Layout: Tables, defect)

Firefox 128
defect

Tracking

()

RESOLVED DUPLICATE of bug 1907789

People

(Reporter: miao.zhang, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file bug demo.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Steps to reproduce:

  1. add a div and define a class as display: table-row;
  2. add a div and define a class as display: table-cell; inside the table row
  3. add a div and define a class as display: table-caption; below the table row
  4. add a button and when click on it, set display: none to the caption

Actual results:

The table row disappear together with the table caption

Expected results:

The table row shall still show on the page

Please use the bug demo.html file in the attachment, you can reproduce this easily by open it on Firefox 128

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

Can repro on the latest Nightly.

Bisection:
Bug 1850834 - Don't reframe containing block on insertion when empty. r=jwatt

This is also actually needed to avoid the perf cliff in Perf-Dashboard.

Differential Revision: https://phabricator.services.mozilla.com/D212373

Status: UNCONFIRMED → NEW
Ever confirmed: true
Regressions: 1850834
Keywords: regression
Regressed by: 1850834
No longer regressions: 1850834
Flags: needinfo?(emilio)
See Also: → 1907789

Autoland build in bug 1907789 fixes this. Once landed, the fix will be in the upcoming Nightly and eventually in release version.

Marking as duplicate of bug 1907789

Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 1907789
Resolution: --- → DUPLICATE
See Also: 1907789
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: