Open
Bug 1940930
Opened 1 month ago
Updated 1 month ago
Add new rule button does not work in shadow-root
Categories
(DevTools :: Inspector: Rules, defect, P3)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
Details
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><p><template shadowrootmode="open"><style>slot {color: red;}</style><slot name=one>slotted</slot></template><span slot="one">Slotted content</span></p>
- Open the inspector
- Expand
body,
pnode and its
#shadow-root` child - Select the
slot
node - Click on the
+
icon in the rules view to add a rule
Expected results
A new rule is added
Actual results
No rules are added. A <style>
tag is added after the </body>
Updated•1 month ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•