Source Editor does not give visual indication of read-only mode

RESOLVED FIXED in Firefox 11

Status

()

Firefox
Developer Tools
P3
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: cedricv, Assigned: msucan)

Tracking

unspecified
Firefox 11
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [sourceeditor])

(Reporter)

Description

6 years ago
When switching SourceEditor.readOnly to true, key presses are not handled anymore (good) but the editor does not provide any visual indication.

It should probably change the background color to gray (or -moz-dialog) or something, so that the user knows that it is read-only and what to expect.

Updated

6 years ago
Priority: -- → P3
(Assignee)

Comment 1

6 years ago
This is probably not something for minotaur. (feel free to disagree!)

I am not sure if it's up to the editor to make any visual indication of the readonly mode.

We need to provide a visual indication of the editor being in read only mode, but consider the scenario of using the Source Editor inside the debugger or view source, where you set readonly=true but you don't want to have a gray background. So, really, we need a way to easily customize the styling of the editor iframe - so Style Editor can change the background to gray (for example) when the user switches to a readonly stylesheet.
Whiteboard: [minotaur] → [sourceeditor]
(Assignee)

Updated

6 years ago
Depends on: 702331
(Assignee)

Comment 2

6 years ago
This is now fixed by bug 702331.
Assignee: nobody → mihai.sucan
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 11
You need to log in before you can comment on or make changes to this bug.