Open
Bug 1374018
Opened 8 years ago
Updated 4 years ago
Can we move the _moz_quote styles from html.css into some Thunderbird UA sheet?
Categories
(Core :: DOM: Editor, enhancement, P5)
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
Details
We end up doing getAttribute("_moz_quote") on every <span> and <pre> on web pages, because we have html.css styles for that attribute. Those seem to be there specifically for editing, and particularly for email. If those are unused outside Thunderbird, could we move the relevant rules to a Tbird UA stylesheet?
Comment 1•8 years ago
|
||
You mean these?
span[_moz_quote=true] {
color: blue;
}
pre[_moz_quote=true] {
color: blue;
}
Sure we can move them to some TB stylesheet, Richard, our theme man, can take care of that.
You can set pref middlemouse.paste and then paste as quotation with CTRL+MIDDLE-MOUSE. But that inserts <blockquote type="cite">, so unrelated to the <span> and <pre>.
So yes, I see no problem.
Flags: needinfo?(richard.marti)
Comment 2•8 years ago
|
||
I see no problem too. We can add this rules to messageQuotes.css.
Boris, there are also rules for "blockquote" and "blockquote[type=cite]", do you plan to remove them too?
Flags: needinfo?(richard.marti)
![]() |
Reporter | |
Comment 3•8 years ago
|
||
> You mean these?
Yes.
> Boris, there are also rules for "blockquote" and "blockquote[type=cite]", do you plan to remove them too?
The blockquote rule is not going anywhere; it's part of the HTML spec.
The "blockquote[type=cite]" would be nice to move as well, good catch. It's nonstandard and affects rendering of web pages, which is not really desirable, I think.
Updated•8 years ago
|
Priority: -- → P3
Comment 4•8 years ago
|
||
Adding frg for the SM side.
![]() |
||
Comment 5•8 years ago
|
||
I would just add messageQuotes.css to SeaMonkey in case this is done there for TB. Seems to be an easy task to add the CSS to SMs MsgComposeCommands.js.
Comment 6•4 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: P3 → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•