Open
Bug 746165
Opened 12 years ago
Updated 3 years ago
Remove all vestiges of cmd_backgroundColor
Categories
(Core :: DOM: Editor, enhancement, P5)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: ayg, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
10.75 KB,
patch
|
ayg
:
review+
|
Details | Diff | Splinter Review |
We would like to remove cmd_backgroundColor completely, but comm-central is still using it. See bug 205485 comment 10. Once that's fixed (followup bug to be filed shortly), my earlier patch from that bug can be applied to remove all the remnants of the command, since it's no longer web-accessible.
Reporter | ||
Comment 1•12 years ago
|
||
Obviously, I won't land this till bug 746166 is fixed. Try run: https://tbpl.mozilla.org/?tree=Try&rev=c752e87c0c79
Attachment #624694 -
Flags: review?(ehsan)
Comment 2•12 years ago
|
||
Comment on attachment 624694 [details] [diff] [review] Patch v1 Review of attachment 624694 [details] [diff] [review]: ----------------------------------------------------------------- r=me with the below comment addressed. ::: editor/idl/nsIHTMLEditor.idl @@ -347,5 @@ > - * getFontColorState returns what font face is in the selection. > - * @param aMixed True if there is more than one font color > - * @return Color string. "" is returned for none. > - */ > - AString getBackgroundColorState(out boolean aMixed); Please revise the IID of nsIHTMLEditor.
Attachment #624694 -
Flags: review?(ehsan) → review+
Reporter | ||
Comment 3•12 years ago
|
||
Blech, I always forget that!
Comment 4•12 years ago
|
||
Comment on attachment 624694 [details] [diff] [review] Patch v1 >- NS_REGISTER_ONE_COMMAND(nsBackgroundColorStateCommand, "cmd_backgroundColor"); The patch in bug 746166 removes the use of cmd_backgroundColor... >- AString getBackgroundColorState(out boolean aMixed); ... which is the only consumer of getBackgroundColorState... >- void setBackgroundColor(in AString aColor); ... however it doesn't remove Composer's use of setBackgroundColor.
Reporter | ||
Comment 5•12 years ago
|
||
Sad -- only -119 lines now. Oh well, still an improvement. Does this work for you? (Carrying forward Ehsan's review.) New try run to be on the safe side: https://tbpl.mozilla.org/?tree=Try&rev=f72b65268967
Attachment #624694 -
Attachment is obsolete: true
Attachment #625462 -
Flags: review+
Comment 6•12 years ago
|
||
There's a bug in my patch for bug 746166, I'm not sure if it's fixable...
Updated•12 years ago
|
Comment 7•12 years ago
|
||
It turns out that I didn't properly replace GetCSSBackgroundColorState...
Reporter | ||
Updated•12 years ago
|
Assignee: ayg → nobody
Comment 8•3 years ago
|
||
Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.
If you have reason to believe, this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•