Closed
Bug 723048
Opened 13 years ago
Closed 13 years ago
CSS Class names for scopes shouldn't have spaces
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: past, Assigned: vporof)
References
Details
Attachments
(1 file)
1.53 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
In debugger-view.js we currently use the scope name as its class name, leading to classes like "Local-scope" and "With block-scope". It would be nice to use more regular class names for scopes.
Assignee | ||
Comment 2•13 years ago
|
||
Also fixed typos in DVP__addProperty documentation.
Attachment #599593 -
Flags: review?(past)
Reporter | ||
Comment 3•13 years ago
|
||
Comment on attachment 599593 [details] [diff] [review]
v1
Review of attachment 599593 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
Attachment #599593 -
Flags: review?(past) → review+
Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•13 years ago
|
||
Although I have to admit it bothers me that we are still using a localizable string as a class name, I hope that this won't create more problems in the future.
Status: ASSIGNED → NEW
Reporter | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #4)
> Although I have to admit it bothers me that we are still using a localizable
> string as a class name, I hope that this won't create more problems in the
> future.
I can easily change this. However, we're not using it as a class name (it's just "scope"). We're using it as an id, and I don't think we're (or will be) querying it anywhere (because every scope is cached in DebuggerView.Properties).
Reporter | ||
Comment 6•13 years ago
|
||
(In reply to Victor Porof from comment #5)
> (In reply to Panos Astithas [:past] from comment #4)
> > Although I have to admit it bothers me that we are still using a localizable
> > string as a class name, I hope that this won't create more problems in the
> > future.
>
> I can easily change this. However, we're not using it as a class name (it's
> just "scope"). We're using it as an id, and I don't think we're (or will be)
> querying it anywhere (because every scope is cached in
> DebuggerView.Properties).
I was mainly concerned with producing CSS errors in the console, but after reading the spec, I think it's fine:
http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
Reporter | ||
Updated•13 years ago
|
Whiteboard: [land-in-fx-team]
Comment 7•13 years ago
|
||
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 13
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•