Open Bug 2074457 Opened 2 months ago Updated 2 months ago

Pretty printed styles sheets do not update to reflect changes from the Rule View

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: bomsy, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to Reproduce

  1. Go to https://nchevobbe.github.io/demo/console-test-app.html
  2. Open the debugger
  3. Open https://nchevobbe.github.io/demo/console-test-app.css and click to pretty print the style sheet
  4. Switch to the inspector
  5. Select the <body> node
  6. In the rule view update the background-image: to linear-gradient(120deg, #155799, red) (Note: The background colour of the page should change)
  7. Switch back to the debugger and check the content of console-test-app.css
Expected Result

Line 4 should be background-image: linear-gradient(120deg, #155799, red); (which reflects the changes made in the rule view)

Actual Result

Line 4 is background-image: linear-gradient(120deg, #155799, #159957); (which does not reflect the changes made in the rule view)

The work from :ochameau on CSSOM will handle pretty printing differently, and it might simplify this bug.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.