Add a `anchor` badge in the markup view to element with a valid `anchor-name`
Categories
(DevTools :: Inspector, task, P3)
Tracking
(relnote-firefox 147+, firefox147 fixed)
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Comment 1•7 months ago
|
||
Maybe there should also be an anchored badge for the elements that are anchored to an element. And clicking that badge would select the anchor element in the Node View.
Sebastian
Comment 2•7 months ago
|
||
Also, maybe the anchor badge should be clickable to toggle an Anchor Positioning highlighter (mentioned in bug 1895187).
Sebastian
| Assignee | ||
Comment 3•7 months ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #1)
Maybe there should also be an
anchoredbadge for the elements that are anchored to an element. And clicking that badge would select the anchor element in the Node View.
That's something we could do. One slight concerns is that we may be growing the number of badges we show in the markup view, this might not be ideal. Note that we plan to have such links in the rules view (e.g. Bug 1895183). Also maybe we could have a "Anchors" section in the layout panel, like we do for grid/flex containers, where we could show the anchor and the element anchored to it ? We could file another bug for this
Comment 4•7 months ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #3)
(In reply to Sebastian Zartner [:sebo] from comment #1)
Maybe there should also be an
anchoredbadge for the elements that are anchored to an element. And clicking that badge would select the anchor element in the Node View.That's something we could do. One slight concerns is that we may be growing the number of badges we show in the markup view, this might not be ideal.
Maybe it's time to introduce some settings for which badges to show.
Note that we plan to have such links in the rules view (e.g. Bug 1895183).
Yes, I saw that one. Though I still thought it would be worth showing them in the Node View.
Also maybe we could have a "Anchors" section in the layout panel, like we do for grid/flex containers, where we could show the anchor and the element anchored to it ? We could file another bug for this
I also thought of that already. I'll file one.
Sebastian
Updated•4 months ago
|
| Assignee | ||
Comment 5•3 months ago
|
||
Updated•3 months ago
|
Comment 7•3 months ago
|
||
| bugherder | ||
Updated•3 months ago
|
Updated•2 months ago
|
Description
•