Closed
Bug 705932
Opened 13 years ago
Closed 13 years ago
Inspector should allow copying the current element's id/classes
Categories
(DevTools :: Inspector, enhancement)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 11
People
(Reporter: pedro.alves, Assigned: paul)
Details
Attachments
(2 files)
4.20 KB,
patch
|
dao
:
review+
jwalker
:
feedback+
|
Details | Diff | Splinter Review |
4.20 KB,
patch
|
Details | Diff | Splinter Review |
Use case: I'm finding the elements I want to style with the inspector. I want to copy the selected element's id and class to my CSS code. The inspector doesn't allow me to do that and I need to manually type them Would be great to have the ability either to select the text or copy it to the clipboard somehow
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment on attachment 577515 [details] [diff] [review] patch v1 Review of attachment 577515 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/highlighter.css @@ +69,5 @@ > + > +#highlighter-nodeinfobar-id, > +.highlighter-nodeinfobar-class, > +#highlighter-nodeinfobar-tagname { > + -moz-user-select: text; My understanding is that this is the default. I can't see anywhere else in highlighter.css where moz-user-select would be set to something else, but I'll assume this is needed?
Attachment #577515 -
Flags: feedback?(jwalker) → feedback+
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Joe Walker from comment #2) > Comment on attachment 577515 [details] [diff] [review] [diff] [details] [review] > patch v1 > > Review of attachment 577515 [details] [diff] [review] [diff] [details] [review]: > ----------------------------------------------------------------- > > ::: browser/base/content/highlighter.css > @@ +69,5 @@ > > + > > +#highlighter-nodeinfobar-id, > > +.highlighter-nodeinfobar-class, > > +#highlighter-nodeinfobar-tagname { > > + -moz-user-select: text; > > My understanding is that this is the default. Not in XUL: http://mxr.mozilla.org/mozilla-central/source/toolkit/content/xul.css#15
Assignee | ||
Updated•13 years ago
|
Attachment #577515 -
Flags: review?(dao)
Comment 4•13 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #3) > (In reply to Joe Walker from comment #2) > > > + -moz-user-select: text; > > > > My understanding is that this is the default. > > Not in XUL: > http://mxr.mozilla.org/mozilla-central/source/toolkit/content/xul.css#15 Duh - I didn't think that this might be XUL. Thanks.
Comment 5•13 years ago
|
||
Comment on attachment 577515 [details] [diff] [review] patch v1 >+#highlighter-nodeinfobar-container[locked] #highlighter-nodeinfobar { #highlighter-nodeinfobar-container[locked] > #highlighter-nodeinfobar {
Attachment #577515 -
Flags: review?(dao) → review+
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Version: 11 Branch → Trunk
Updated•13 years ago
|
Severity: normal → enhancement
Assignee | ||
Updated•13 years ago
|
Whiteboard: [land-in-fx-team]
Comment 9•13 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/1e3f58d1bde7
Whiteboard: [fixed-in-fx-team]
Comment 10•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1e3f58d1bde7
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 11
Reporter | ||
Comment 11•13 years ago
|
||
Dunno if it's a regression or I just never tested it, but I can select the test (in OSX) but not copy to clipboard
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 12•13 years ago
|
||
Working in tonight's build, thanks!
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•