Inspector erroneously displays CSS rules with escaped characters as invalid
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(Not tracked)
People
(Reporter: xlucas4956, Unassigned)
Details
Attachments
(1 file)
2.96 KB,
image/png
|
Details |
Steps to reproduce:
I added the inline style rule p\osition: f\ixed
to an element while testing a website frontend, and despite the rule being parsed as a valid CSS rule and setting the element to a fixed position, the DevTools inspector shows the rule as invalid.
Expected results:
I have seen some similar bugs before where there is a discrepancy between what the renderer considers valid CSS and what the inspector considers valid CSS, but this should be a relatively simple case to resolve.
Comment 1•8 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector: Rules' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•8 months ago
|
||
Maybe we double escape the character when returning the rule from the server?
Thanks for filing
Updated•8 months ago
|
Description
•