Reframing html tags don't get their children pruned
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: TYLin, Assigned: eeejay)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Per bug 1102175 comment 35, Bug 1102175 Part 1 makes a change that reframing <body>
is going to reframe <html>
(root element) as well. Thus with my WIP patch stack, accessible/tests/mochitest/treeupdate/test_delayed_removal.html
will fail.
However, I think this is an existing issue on m-c that can be reproduced via replacing
iframeDoc.body.style.display = "inline-block";
with iframeDoc.documentElement.style.display = "grid";
in test_delayed_removal.html, which force <html>
to reframe.
Reporter | ||
Comment 1•5 years ago
|
||
Eitan, I make an attempt to fix this issue with my limited understanding of the accessible tree. It does fix test_delayed_removal.html
, but fails another test. Would you mind taking a look?
This is a try run with my patch against m-c (It doesn't contain the patch stack in bug 1102175).
https://treeherder.mozilla.org/#/jobs?repo=try&author=aethanyc%40gmail.com&selectedJob=267582630
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (UTC-7) from comment #1)
Eitan, I make an attempt to fix this issue with my limited understanding of the accessible tree. It does fix
test_delayed_removal.html
, but fails another test. Would you mind taking a look?This is a try run with my patch against m-c (It doesn't contain the patch stack in bug 1102175).
https://treeherder.mozilla.org/#/jobs?repo=try&author=aethanyc%40gmail.com&selectedJob=267582630
No, I think you need to change GetAccessibleOrDescendant
to return the document's accessible if the doc's root element is passed.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Reporter | ||
Comment 4•5 years ago
|
||
Jamie, I notice that Eitan is on PTO though the end of December. Is the patch ready to land? It does fix the test failure I described in comment 0. Here a try run with Eitan's patch and my patches in bug 1102175 combined.
If you feel the patch is ready to land, I can rebase it and land it.
Comment 6•5 years ago
|
||
Sorry this slipped through the cracks. I've approved the patch, set deps correctly so it applies cleanly and triggered landing.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Description
•