Bug 11080 news "spoiler" feature p=mnyromyr@tprac.de r=ben.bucksch sr=bienvenu

This commit is contained in:
neil%parkwaycc.co.uk 2004-03-04 17:00:00 +00:00
parent f8dfedcab5
commit e07ecdf170
3 changed files with 19 additions and 0 deletions

View File

@ -893,6 +893,13 @@ mozTXTToHTMLConv::GlyphHit(const PRUnichar * aInString, PRInt32 aInLength, PRBoo
}
i++;
}
if (text0 == '\f')
{
aOutputString.Append(NS_LITERAL_STRING("<span class='moz-txt-formfeed'></span>"));
glyphTextLen = 1;
MOZ_TIMER_STOP(mGlyphHitTimer);
return PR_TRUE;
}
if (text0 == '+' || text1 == '+')
{
if (ItMatchesDelimited(aInString, aInLength,

View File

@ -129,6 +129,12 @@ span.moz-txt-underscore {
text-decoration: underline;
}
span.moz-txt-formfeed {
display: block;
height: 100%;
}
/* ::::: signature ::::: */
.moz-txt-sig,

View File

@ -129,6 +129,12 @@ span.moz-txt-underscore {
text-decoration: underline;
}
span.moz-txt-formfeed {
display: block;
height: 100%;
}
/* ::::: signature ::::: */
.moz-txt-sig,