Closed Bug 1799204 Opened 2 years ago Closed 2 years ago

[CtW] Layout table status fails to update for HTML attr changes

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: morgan, Assigned: morgan)

References

Details

(Whiteboard: [ctw-m3])

Attachments

(1 file)

In working on the mac test failures, I discovered this (accessible/tests/browser/mac/browser_tables.js is a good test for this)

Some HTML attributes (ie. summary, abbr, headers) affect whether we classify the table as a layout table or a data table. We queue a CacheDomain::Table update when a relevant attribute is modified or added, but we currently queue that update using this instead of the table this belongs to. Because we only push layout table status on tables the queued update doesn't actually change the status we cache in parent 😬

We already fixed this for style changed events :)

oh also, we don't currently queue a table cache update when the summary attribute on a table changes. we should do that too.

Blocks: 1782140
Whiteboard: [ctw-m3]
Pushed by mreschenberg@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/835a66221d99 Update cached layout_guess when relevant HTML attr changes are obseved r=Jamie

Backed out for causing mochitests failures on browser_table.js.

Flags: needinfo?(mreschenberg)
Flags: needinfo?(mreschenberg)
Pushed by mreschenberg@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/634dafa6f84b Update cached layout_guess when relevant HTML attr changes are obseved r=Jamie
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: