[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 57684] HTML body changes header font
From:       Marc Mutz <marc.mutz () uni-bielefeld ! de>
Date:       2003-10-02 23:24:09
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=57684     




------- Additional Comments From marc.mutz@uni-bielefeld.de  2003-10-03 01:24 -------
Subject: kdepim/kmail

CVS commit by mutz: 

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


  M +92 -92    csshelper.cpp   1.6


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic