Marc Mutz
96b34f185c
Make disabling "recycle quote colors" work again
...
svn path=/trunk/kdepim/; revision=256128
23 years ago
Marc Mutz
dbc6a9371e
Use KHTMLPart::setUserStyleSheet() to set out CSS defintions (instead of using <script>). Thanks to Dirk for the tip.
...
svn path=/trunk/kdepim/; revision=256107
23 years ago
Marc Mutz
a87bce914e
Crude attempt to make KMail more robust against "CSS injection" by HTML mail ( #57684 ) by adding "! important" to the declarations. The other part of the fix is to scan any <script></script> areas and remove all ! important found there. However, that potentially changes the appearance of the HTML mail, which is not desireable.
...
The ideal solution would be to scan the CSS rules in any <script> block in the to-be-embedded HTML and "escape" each selector there with "div.embeddedHTML >" and wrapping the included HTML into <div class="embeddedHTML">, but I don't see how that can be done with khtml instead of parsing css ourselves...
CCMAIL: 57684@bugs.kde.org
svn path=/trunk/kdepim/; revision=255814
23 years ago
Marc Mutz
a357330004
Remove Qt 3.1 compat #ifdefs as by Ingo's request.
...
svn path=/trunk/kdepim/; revision=255036
23 years ago
Marc Mutz
e47d5f6b31
make it valid CSS
...
svn path=/trunk/kdepim/; revision=238529
23 years ago
Marc Mutz
c46902a10d
add #include <config.h>
...
svn path=/trunk/kdepim/; revision=236538
23 years ago
Zack Rusin
77126f2016
And compile
...
svn path=/trunk/kdepim/; revision=236185
23 years ago
Marc Mutz
04433faba4
New class CSSHelper, to be used by KMReaderWin/ObjectTreeParser when creating HTML for message display. Notice how it tries to do away with the ugly mPrinting member of KMReaderWin (no, not there yet).
...
svn path=/trunk/kdepim/; revision=236165
23 years ago