Closed Bug 1832110 Opened 3 years ago Closed 3 years ago

Inner Borders of a Border-Collapsed Table Does not Join at the Bottom when Zoomed

Categories

(Core :: Layout: Tables, defect)

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- wontfix
firefox114 --- fixed
firefox115 --- fixed

People

(Reporter: dshin, Assigned: dshin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files, 1 external file)

Severity: -- → S3
Assignee: nobody → dshin

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

Attached file testcase 1 —

(Attaching a testcase that David and I were looking at together)

Here's a testcase (slightly modified from the original bug) where we have 3px wide borders on the td elements.

This shows two issues:
(1) the interior borders don't quite reach the bottom of the table
(2) the exterior borders have weird gaps in them (presumably where they're expecting to "dodge" intersections with the horizontal borders, but we're miscalculating where those intersections will happen)

Both issues get worse if the number of rows increases, as you can see in my next attachment.

Pushed by dshin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d98e2f95d9a Fix and simplify handling of empty rows when drawing border-collapsed tables. r=emilio
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(dshin)

Requesting uplift:

  • User impact if declined: bug 1819266 comment 0, bug 1832110 comment 2, bug 1832110 comment 3 - border-collapsed tables with empty rows (Without any cell) can have borders that do not join.
  • Is this code covered by automated tests?: Yes, added in landed patch
  • Has the fix been verified in Nightly?: reproducible with above testcases on Ubuntu 20.04 on mozregression --launch 2022-05-15, resolved on mozregression --launch 2022-05-16
  • Needs manual test from QE? No, automated test exists & code path only activates on border-collapsed table with empty rows (i.e. no cells)
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): See "Needs manual test from QE?"
  • String changes made/needed: None
  • Is Android affected?: Yes
Flags: needinfo?(dshin)

Comment on attachment 9333724 [details]
Bug 1832110: Fix and simplify handling of empty rows when drawing border-collapsed tables. r=#layout-reviewers

For future reference, setting the approval-mozilla-beta? flag on the attachment is the correct way to get an approval request on our team's radar. Setting it for you this time since I happened to notice it!

Flags: needinfo?(dshin)
Attachment #9333724 - Flags: approval-mozilla-beta?

:RyanVM - thanks!

Flags: needinfo?(dshin)
Flags: in-testsuite+

Comment on attachment 9333724 [details]
Bug 1832110: Fix and simplify handling of empty rows when drawing border-collapsed tables. r=#layout-reviewers

Approved for 114.0b6.

Attachment #9333724 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: