Closed Bug 1826263 Opened 2 years ago Closed 2 years ago

Can't see style of ::backdrop pseudo-element

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox113 verified, firefox114 verified)

VERIFIED FIXED
113 Branch
Tracking Status
firefox113 --- verified
firefox114 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

(Keywords: parity-chrome)

Attachments

(2 files)

Steps to reproduce

  1. Navigate to data:text/html,<meta charset=utf8><style>dialog::backdrop { background: tomato } </style><dialog>Hello</dialog><script>document.querySelector("dialog").showModal()</script>
  2. Open the inspector

Expected results

There's a ::backdrop item inside/next to the <dialog> element that I can select to see the rule with the tomato background

Actual results

I can't access the ::backdrop in the rule view

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2252bdfaa446 [devtools] Display `::backdrop` rules for `:modal` elements (e.g. <dialog>). r=devtools-reviewers,jdescottes.
Severity: -- → S3
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
QA Whiteboard: [qa-113b-p2]

Reproducible on a 2023-04-03 Nightly build on macOS 12.
Verified as fixed on Firefox 113.0(build ID: 20230501151611) and Nightly 114.0a1(build ID: 20230502160708) on macOS 12, Windows 10, Ubuntu 22.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-113b-p2]
Blocks: 1911291
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: