Open
Bug 1849979
Opened 1 year ago
Updated 1 year ago
Invalid CSS properties in constructed stylesheet are not displayed in the rule view
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><style>h1 {colour: gold;}</style><h1>Hello</h1><script>const sheet = new CSSStyleSheet(); sheet.replaceSync("h1 { colour: red; }");document.adoptedStyleSheets = [sheet];</script>
- Open the inspector and select the
<h1>
node
Expected results
There's 2 rules (one inline, one constructed), and both are showing a (invalid) colour
property
Actual results
The rule from the constructed stylesheets does not show any property
This is an issue that was raised by the webcompat team. In this case (or CSSOM rules), they're not seeing unsupported properties, which makes the diagnosis harder
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P2
Updated•1 year ago
|
Blocks: devtools-webcompat-team
You need to log in
before you can comment on or make changes to this bug.
Description
•