Closed
Bug 686400
Opened 13 years ago
Closed 6 years ago
Figure out how to tell whether a reframe actually changes what's shown on the screen
Categories
(Core :: Disability Access APIs, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: eeejay)
References
(Blocks 2 open bugs)
Details
(Keywords: access)
Attachments
(3 files)
In layout, we reframe every time that something happens which could potentially change the rendering of an element on the screen. The reframe is performed by pretending that the node has been removed from the DOM, and inserted back into the same position. These reframes cause unneeded accessibility notifications in the cases where the rendered content doesn't change on the screen (for example, when the overflow style changes for most types of inline frames, see bug 606087), but is that change requires any visual change to any frame type on the screen, then we cannot avoid reframing (see bug 686247 as an example).
We need to figure out a way to allow layout to work correctly, but also let a11y figure out which content insertion/removal pairs it can ignore.
Updated•13 years ago
|
Blocks: treeupdatea11y
Comment 1•13 years ago
|
||
Another example of unnecessary accessible tree update due to frame recreation is bug 395900.
Blocks: 395900
Comment 2•12 years ago
|
||
one more example we've seen in bug 733848 where images were recreated after insertion into the tree (it seems they were recreated without any good reason). Logging didn't helped there, stacks weren't captured, debug builds never failed.
Comment 3•12 years ago
|
||
remove a workaround introduced in bug 733848 when this bug is fixed
Blocks: 733848
Comment 4•12 years ago
|
||
CC+ Trevor, because this could interest him.
Updated•10 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → eitan
Assignee | ||
Comment 5•6 years ago
|
||
We naively remove and then recreate accessibles when their content's
frame is reconstructed. By delaying the removal until we are certain the
content does not have a new layout frame, we can cut down on redundant
recreations.
Updated•6 years ago
|
Attachment #9078814 -
Attachment description: Bug 686400 - Delay accessible removal on frame reconstruction. r?Jamie! → Bug 686400 - Delay accessible removal on frame reconstruction. r?Jamie! r?emilio
Updated•6 years ago
|
Attachment #9078814 -
Attachment description: Bug 686400 - Delay accessible removal on frame reconstruction. r?Jamie! r?emilio → Bug 686400 - Delay accessible removal on frame reconstruction. r?Jamie!,emilio!
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
It seems a bit more sensible to me that if ny filtering needs to happen
from content insertions, it should happen in the doc and not the
notification controller.
Depends on D40131
Updated•6 years ago
|
Priority: -- → P2
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/749582be170c
Add function to nsCoreUtils for display: contents. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/9c430a684fe0
Filter content insertions in DocAccessible. r=Jamie
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/749582be170c
https://hg.mozilla.org/mozilla-central/rev/9c430a684fe0
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Comment 10•6 years ago
|
||
Not fixed yet; first two patches landed but third hasn't.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06d909e0de08
Delay accessible removal on frame reconstruction. r=Jamie,emilio
Comment 12•6 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•