Closed Bug 1974395 Opened 11 months ago Closed 11 months ago

Pretty print button should be disabled / hidden for read only stylesheets

Categories

(DevTools :: Style Editor, defect)

defect

Tracking

(firefox142 fixed)

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(2 files)

Steps to reproduce

  1. Open DevTools on any page
  2. In the settings panel, make sure "Show Browser Styles" is checked
  3. Go to the inspector (that will make UA stylesheet resources visible)
  4. Go to the style editor and select on UA stylesheet

Expected results

The pretty print button should either be disabled, or not visible at all, since the stylesheet is read only

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dba4f16e38fe https://hg.mozilla.org/integration/autoland/rev/fa4d5097e908 [devtools] Disable Style Editor pretty print button for read-only stylesheets. r=devtools-reviewers,fluent-reviewers,jdescottes,bolsson https://github.com/mozilla-firefox/firefox/commit/84cb4bdc1a8c https://hg.mozilla.org/integration/autoland/rev/c776dd6b05ee [devtools] Hide StyleEditor status bar when there's no selected stylesheet. r=devtools-reviewers,jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: