зеркало из https://github.com/mozilla/pjs.git
Bug 11080 news "spoiler" feature p=mnyromyr@tprac.de r=ben.bucksch sr=bienvenu
This commit is contained in:
Родитель
ffc6008950
Коммит
5a595daa4f
|
@ -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,
|
||||
|
|
|
@ -129,6 +129,12 @@ span.moz-txt-underscore {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
span.moz-txt-formfeed {
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* ::::: signature ::::: */
|
||||
|
||||
.moz-txt-sig,
|
||||
|
|
|
@ -129,6 +129,12 @@ span.moz-txt-underscore {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
span.moz-txt-formfeed {
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* ::::: signature ::::: */
|
||||
|
||||
.moz-txt-sig,
|
||||
|
|
Загрузка…
Ссылка в новой задаче