Open
Bug 1847208
Opened 2 years ago
Updated 8 months 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
(Blocks 1 open bug)
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•2 years ago
|
Severity: -- → S3
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•