Closed
Bug 1500416
Opened 5 years ago
Closed 5 years ago
Dynamic insertion of display: contents elements doesn't work.
Categories
(Core :: Disability Access APIs, enhancement, P2)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
The check in here: https://searchfox.org/mozilla-central/rev/c56977420df7a1b692ce0f7e499ddb364d9fd7b2/accessible/base/NotificationController.cpp#432 Doesn't work for display: contents elements, which don't have a frame. So that check probably needs to be extended to handle display: contents as well. Should be reproducible inserting something like <ul style="display: contents"> dynamically.
Comment 1•5 years ago
|
||
Thanks for catching. Confirmed: data:text/html,<div id="div"></div><button onClick="div.innerHTML = `<ul style='display: contents;'><li>1</li></ul>`;">Add</button> When the Add button is pressed, you see the "1" text in the accessibility tree, but no accessible for the list.
Priority: -- → P2
Updated•5 years ago
|
Summary: Dynamic insertion of display: contents elements probably doesn't work. → Dynamic insertion of display: contents elements doesn't work.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → emilio
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/mozilla-inbound/rev/d15bcd82f19d Account for display: contents in ScheduleContentInsertion. r=Jamie
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/mozilla-inbound/rev/fd985440b6e2 Fixup to avoid triggering the trailing commas lint on a CLOSED TREE.
![]() |
||
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d15bcd82f19d https://hg.mozilla.org/mozilla-central/rev/fd985440b6e2
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•