Open
Bug 1625931
Opened 5 years ago
Updated 2 years ago
Use Shadow DOM for popupnotification custom element
Categories
(Toolkit :: XUL Widgets, task, P3)
Toolkit
XUL Widgets
Tracking
()
NEW
People
(Reporter: ntim, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Bug 1487065 didn't use shadow DOM because the platform shadow DOM implementation wasn't mature enough.
Using shadow DOM would allow using:
- proper slotting
- shadow DOM stylesheet scoping
Reporter | ||
Comment 1•5 years ago
|
||
For reference, here was the original XBL implementation:
https://hg.mozilla.org/mozilla-central/file/de71a4462179bb6c014c5e11782aad68db7648e0/toolkit/content/widgets/notification.xml
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
This works pretty well, however, styling still needs to be ported to shadow parts. Some tests also need to be fixed.
Comment 4•5 years ago
|
||
Thanks Tim, this is a prime candidate for SD, with all the manual "slotting" going on.
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•