Open Bug 1936929 Opened 2 months ago

[FxMS Docs] Document the feature callout anchor selector's ::%shadow% token

Categories

(Firefox :: Sidebar, enhancement)

enhancement

Tracking

()

People

(Reporter: aminomancer, Unassigned)

References

(Blocks 1 open bug)

Details

We have some limited documentation for the special token currently supported in feature callout anchor selectors (the %triggerTab% token).

With bug 1920235, we'll also support a ::%shadow% token that allows traversing into shadow roots. This will be required for some applications, like anchoring callouts to buttons in the new sidebar. So it would be good to also explain this new token in that note in the feature callout doc. It will allow using selectors like #sidebar-main > sidebar-main::%shadow% .tools-and-extensions::%shadow% moz-button[view='viewReviewCheckerSidebar'] to traverse through any number of shadow DOM layers.

You need to log in before you can comment on or make changes to this bug.