Closed Bug 1529599 Opened 6 months ago Closed 6 months ago

Export Changes - copy a single declaration

Categories

(DevTools :: Inspector: Changes, enhancement, P3)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: rcaliman, Assigned: rcaliman)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(2 files)

Add context menu option to copy a single declaration from the Changes panel.

Blocks: track-changes
No longer blocks: 1515875
Assignee: nobody → rcaliman
Status: NEW → ASSIGNED

Adds a new option to the context menu which is visible only when it's invoked on a CSS declaration.
Builds a string with the property name and value and copies to the clipboard.
If the declaration is marked as removed, the string is wrapped in a comment block.

Depends on D21526
This is a request from @mbalfanz in order to keep the naming of the option consistent.
This patch just replaces the l10n string and renames all the places where copyPropertyDeclaration is used in order to avoid confusion.

No functional changes are introduced.

Pushed by rcaliman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/357281e408cf
(Part 1) Add Copy Declaration to Changes panel context menu; r=gl
https://hg.mozilla.org/integration/autoland/rev/e6ff2537e53c
(Part 2) Rename Copy Property Declaration to Copy Declaration in Rules panel context menu; r=gl
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.