Closed Bug 1907789 Opened 8 months ago Closed 7 months ago

Firefox does not display collapsible mediawiki tables

Categories

(Core :: Layout: Tables, defect, P2)

Firefox 128
defect

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
relnote-firefox --- 128+
firefox-esr115 --- unaffected
firefox-esr128 129+ verified
firefox128 + verified
firefox129 + verified
firefox130 + verified

People

(Reporter: tirerim, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Steps to reproduce:

View the page https://fallenlondon.wiki/wiki/User:Tirerim/sandbox/Firefox_Bug . Attempt to expand either of the collapsible tables.

Actual results:

The tables do not expand. Neither table is visible, nor can be made visible.

Expected results:

One of the tables should have been visible when the page loaded. Either of them should have become visible when its "Expand" link was clicked. This works correctly in Firefox 127, but fails in Firefox 128 and 129 (beta). Inspecting one of the td elements shows that it has a negative size in the box model calculation, cancelling out the padding and border; this normally occurs when a table is collapsed, which applies "display: none" to all of the tr elements, but should not happen for an expanded table.

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 reproduce the bug with the latest Nightly. The table is not visible.
Additional observation: Sometimes while the page loads the table is visible for a moment but becomes invisible when the page finishes loading.

Bisection:

Bug 1850834 - Don't reframe containing block on insertion when empty. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D212373

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 1850834
Attached file about:support
Flags: needinfo?(emilio)

Set release status flags based on info from the regressing bug 1850834

Attached file Reduced test-case.
Assignee: nobody → emilio
Flags: needinfo?(emilio)

Being the last caption is not enough to remove an anonymous table (and
table wrapper).

Severity: -- → S2
Priority: -- → P2

Too late for today's planned dot release. Let's aim to ship this in 129.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96acf0534436 Fix some edge cases when handling removal / reconstruction of table captions and col groups. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47238 for changes under testing/web-platform/tests
See Also: → 1909381
Duplicate of this bug: 1909381
See Also: 1909381
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9412816 [details]
Bug 1907789 - Fix some edge cases when handling removal / reconstruction of table captions and col groups. r=#layout!

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively well tested code-paths, and scoped change.
  • String changes made/needed: none
  • Is Android affected?: Yes
Flags: needinfo?(emilio)
Attachment #9412816 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Attachment #9412816 - Flags: approval-mozilla-release?
Attachment #9412816 - Flags: approval-mozilla-esr128?

Comment on attachment 9412816 [details]
Bug 1907789 - Fix some edge cases when handling removal / reconstruction of table captions and col groups. r=#layout!

Approved for 129.0b8

Attachment #9412816 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9412816 [details]
Bug 1907789 - Fix some edge cases when handling removal / reconstruction of table captions and col groups. r=#layout!

Approved for 128.1esr.

Attachment #9412816 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
QA Whiteboard: [qa-triaged]

Reproduced this issue following the STR from in comment 0 and using the reduced test case on an old Nightly build from 2024-07-14.
Verified as fixed using latest Nightly build 130.0a1 (20240725093133), Firefox 129.0b8 (20240724091519) and Firefox 128.1.0esr (20240724131306 - treeherder build) across platforms (Windows 11, WIndows 10, macOS 11 and Ubuntu 22.04).

Status: RESOLVED → VERIFIED
Flags: qe-verify+

Comment on attachment 9412816 [details]
Bug 1907789 - Fix some edge cases when handling removal / reconstruction of table captions and col groups. r=#layout!

Approved for 128.0.3.

Attachment #9412816 - Flags: approval-mozilla-release? → approval-mozilla-release+

Added to the 128.0.3 relnotes.

Fixed collapsed table rows not appearing when expected in some situations.

Verified as fixed using Firefox 128.0.3 (20240725162350) on Windows 11, WIndows 10, macOS 11 and Ubuntu 22.04.

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

Attachment

General

Creator:
Created:
Updated:
Size: