Closed
Bug 1840872
Opened 1 year ago
Closed 1 year ago
Show ::highlight pseudo element in "Pseudo-elements" section
Categories
(DevTools :: Inspector: Rules, enhancement)
DevTools
Inspector: Rules
Tracking
(firefox118 fixed)
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(3 files)
This doesn't work for now because we don't get the actual highlight rule (see Bug 1840870)
Assignee | ||
Comment 1•1 year ago
|
||
Something to be aware of: we need a special case for overridden properties, as you might have the same property set for different highlighter id.
Looks like we might already have something in place for that (e.g. setting a color on both ::before
/::after
does not result in overridden properties)
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D182445
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Updated•1 year ago
|
Attachment #9345723 -
Attachment description: Bug 1840872 - [devtools] Show ::highlight pseudo element in rules view. r=#devtools-reviewers. → Bug 1840872 - [devtools] Show `::highlight` pseudo element in rules view. r=#devtools-reviewers.
Assignee | ||
Comment 3•1 year ago
|
||
This will be used by DevTools to retrieve the name of registered, active, highlights,
in order to display the CSS rules for the ::highlight
pseudo element rules.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e45bf4fabe57
Add InspectorUtils.getRegisteredCssHighlights method. r=jjaschke.
https://hg.mozilla.org/integration/autoland/rev/bfa55e7d709b
[devtools] Show `::highlight` pseudo element in rules view. r=devtools-reviewers,ochameau.
https://hg.mozilla.org/integration/autoland/rev/035f5b772455
apply code formatting via Lando
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e45bf4fabe57
https://hg.mozilla.org/mozilla-central/rev/bfa55e7d709b
https://hg.mozilla.org/mozilla-central/rev/035f5b772455
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•