Monotone-Parent: e4f673580688fbffc564757a9720e95b85813807

Monotone-Revision: b264aff5cf95695eb1004c058472fcab17cece68

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-07T15:44:51
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-09-07 15:44:51 +00:00
parent 4bdb33e7f6
commit d2e754a050
3 changed files with 20 additions and 6 deletions

View File

@@ -1,5 +1,15 @@
2007-09-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailPartViewers/UIxMailPartHTMLViewer.m
([_UIxHTMLMailContentHandler
-endElement:_localNamenamespace:_nsrawName:_rawName]): remove HTML
comments from the CSS code, do not add the CSS code to the body
content and remove references of body from the CSS declarations.
([UIxMailPartHTMLViewer -cssContent]): new accessor method.
([UIxMailPartHTMLViewer -flatContentAsString]): separated code
common with cssContent in a different method and invoke it only
once.
* UI/MainUI/SOGoRootPage.[hm]: made a subclass of UIxComponent
instead of UIxPageFrame.

View File

@@ -1,9 +1,12 @@
<?xml version="1.0" standalone="yes"?>
<div
<!DOCTYPE container>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
class="mailer_htmlcontent SOGoHTMLMail-CSS-Delimiter"
><var:string value="flatContentAsString" const:escapeHTML="NO" /></div>
xmlns:label="OGo:label">
<var:string value="cssContent" const:escapeHTML="NO" />
<div class="SOGoHTMLMail-CSS-Delimiter mailer_htmlcontent"
><var:string value="flatContentAsString" const:escapeHTML="NO" /></div>
</container>

View File

@@ -367,7 +367,8 @@ img.mailer_imagecontent
}
DIV.mailer_plaincontent
{
{
position: relative;
font-family: monospace, fixed;
white-space: normal;
font-size: inherit;
@@ -386,7 +387,7 @@ DIV.mailer_plaincontent P
DIV.mailer_htmlcontent P
{
white-space: normal;
font-family: serif;
font-family: sans-serif;
font-size: inherit;
margin: 0px;
padding: 0px;