Open Bug 1533044 Opened 6 years ago Updated 3 years ago

CSS border from thead renders unexpectedly when the table values change

Categories

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

66 Branch
defect

Tracking

()

Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fix-optional

People

(Reporter: xing.lichfrozen, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file mozilla_bug.html

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

Steps to reproduce:

This rendering 'bug' only happens in Firefox with a specific <table> setup in the document.
(I have recreated one of the tables with minimal setup and attached it.)

  1. Create a html document containing a table.
  2. The table must contain a thead with colspan='x'
  3. Add borderstyle to the thead with colspan.
  4. Use Javascript to trigger a change on the first row in the tbody.

Actual results:

The border from the <thead> got rendered into <tbody> and can't be overridden with css. It also doesn't appear in the Page Inspector.

Expected results:

Borderstyle that is applied to the thead should not render into the tbody.

Component: Untriaged → Layout: Tables
Product: Firefox → Core

Last Good: 2007-10-14-05-trunk
First Bad: 2007-10-15-04-trunk

Regressed by: Bug 244135 - table borders disappear occasionally with border-collapse and rowspan

Blocks: 244135
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Ever confirmed: true
Keywords: regression
Priority: -- → P3
Severity: normal → S3

I can still reproduce this in Firefox Nightly 110.

Similar to bug 1710005 comment 3: after I follow the STR here and get unexpected borders, I can make them go away by zooming in & out.

See Also: → 1710005
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: