Open
Bug 1847208
Opened 1 year ago
Updated 1 year ago
Rules view doesn't refresh when stylesheet is removed
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><style>body {background: tomato}</style><button>Remove style</button><script>document.querySelector("button").addEventListener("click", () => document.querySelector("style").remove())</script>
- Open the inspector, select the
<body>
element - Click on the "Remove style" button
Expected results
The body { background: tomato; }
rule that was displayed in the rule view disappears
Actual results
The rule is still visible
This depends on Bug 1771113 where we'll be able to listen for removed stylesheet resources.
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•