Open
Bug 1847158
Opened 1 year ago
Updated 1 year ago
Rule view doesn't refresh on stylesheet added
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><button>Add stylesheet</button><script>document.addEventListener("click", () => { s = document.createElement("style"); s.textContent = 'body{ background: tomato }'; document.head.append(s); })</script>
- Open the inspector, select the
<body>
node - Click on the "Add stylesheet" button in the page
Expected results
The body background is set to tomato, and in the rules view I can see the following rule:
body {
background: tomato;
}
Actual results
The body background is set to tomato, but the rules view isn't refreshed and remains empty
Updated•1 year ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•