Closed
Bug 1786086
Opened 2 years ago
Closed 2 years ago
Miscellaneous layout-table-status caching issues
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
106 Branch
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: morgan, Assigned: morgan)
References
Details
Attachments
(3 files, 1 obsolete file)
While working on bug 1726124, I noticed a few issues with our existing layout-table-status caching implementation. I'll fix them here as follow-up:
- When we queue a
CacheDomain::Table
cache update fromDocAccessible::PruneOrInsertSubtree
, we dispatch the update on the accessible that the function was called with. This could be a table or a table part. If it is a table part, when the CacheDomain::Table update is bundled, we won't update the layout table status (that only occurs on tables). We should dispatch this on the table instead. - We do not currently queue an update for
CacheDomain::Table
from nsAccessibilityService::TableLayoutGuessMaybeChanged. We should queue an update any time we fire the EVENT_TABLE_STYLING_CHANGED. - When a border changes on a table, it can affect the layout table status. Right now, we check for this style change in nsTableCellFrame, but the border the original code references is not stored in the cell's ComputedStyle(). Instead, borders set by
<table border=1">
are stored on the table frame (or maybe table wrapper frame? still TBD, discussing on matrix). We should relocate this code tonsTableFrame::DidSetComputedStyle
.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → mreschenberg
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D155131
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D155132
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D155133
Updated•2 years ago
|
Attachment #9290721 -
Attachment description: Bug 1786086▫️: Push table cache update when TableLayoutGuessMaybeChanged is called r?Jamie → Bug 1786086: Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie
Updated•2 years ago
|
Attachment #9290720 -
Attachment description: Bug 1786086: Add test to verify changing border style changes layout status r?Jamie → Bug 1786086: [Part 1] Add test to verify changing border style changes layout status r?Jamie
Updated•2 years ago
|
Attachment #9290721 -
Attachment description: Bug 1786086: Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie → Bug 1786086: [Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie
Updated•2 years ago
|
Attachment #9290722 -
Attachment description: Bug 1786086: Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie → Bug 1786086: [Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie
Updated•2 years ago
|
Attachment #9290723 -
Attachment description: Bug 1786086: Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie → Bug 1786086: [Part 4] Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie
Updated•2 years ago
|
Attachment #9290720 -
Attachment description: Bug 1786086: [Part 1] Add test to verify changing border style changes layout status r?Jamie → WIP: Bug 1786086: [Part 1] Add test to verify changing border style changes layout status r?Jamie
Updated•2 years ago
|
Attachment #9290721 -
Attachment description: Bug 1786086: [Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie → WIP: Bug 1786086: [Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie
Updated•2 years ago
|
Attachment #9290722 -
Attachment description: Bug 1786086: [Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie → WIP: Bug 1786086: [Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie
Updated•2 years ago
|
Attachment #9290723 -
Attachment description: Bug 1786086: [Part 4] Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie → WIP: Bug 1786086: [Part 4] Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie
Updated•2 years ago
|
Attachment #9290720 -
Attachment description: WIP: Bug 1786086: [Part 1] Add test to verify changing border style changes layout status r?Jamie → Bug 1786086: [Part 1] Add test to verify changing border style changes layout status r?Jamie
Updated•2 years ago
|
Attachment #9290721 -
Attachment description: WIP: Bug 1786086: [Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie → Bug 1786086: [Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r?Jamie
Updated•2 years ago
|
Attachment #9290722 -
Attachment description: WIP: Bug 1786086: [Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie → Bug 1786086: [Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r?Jamie
Updated•2 years ago
|
Attachment #9290723 -
Attachment description: WIP: Bug 1786086: [Part 4] Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie → Bug 1786086: [Part 4] Watch for border style changes in nsTableFrame instead of nsTableCellFrame r?Jamie
Updated•2 years ago
|
Attachment #9290723 -
Attachment is obsolete: true
Assignee | ||
Updated•2 years ago
|
Severity: -- → N/A
Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25a5c81eded3
[Part 1] Add test to verify changing border style changes layout status r=Jamie
https://hg.mozilla.org/integration/autoland/rev/76dd155c66b8
[Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r=Jamie
https://hg.mozilla.org/integration/autoland/rev/169c9576cb7b
[Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r=Jamie
Comment 6•2 years ago
|
||
Backed out for failures on browser_table.js.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=388801346&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/dfe1912f7a46889d7bfa088b8c2d3fa59930f8f0
Flags: needinfo?(mreschenberg)
Assignee | ||
Comment 7•2 years ago
|
||
Flags: needinfo?(mreschenberg)
Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e7c22a758e0e
[Part 1] Add test to verify changing border style changes layout status r=Jamie
https://hg.mozilla.org/integration/autoland/rev/3dd58ffe278d
[Part 2] Queue table cache update when TableLayoutGuessMaybeChanged is called r=Jamie
https://hg.mozilla.org/integration/autoland/rev/204e5f0247ee
[Part 3] Queue table cache update on table acc in PruneOrInsertSubtree r=Jamie
Comment 9•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e7c22a758e0e
https://hg.mozilla.org/mozilla-central/rev/3dd58ffe278d
https://hg.mozilla.org/mozilla-central/rev/204e5f0247ee
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox106:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•