mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 11080 news "spoiler" feature p=mnyromyr@tprac.de r=ben.bucksch sr=bienvenu
This commit is contained in:
parent
f8dfedcab5
commit
e07ecdf170
@ -893,6 +893,13 @@ mozTXTToHTMLConv::GlyphHit(const PRUnichar * aInString, PRInt32 aInLength, PRBoo
|
|||||||
}
|
}
|
||||||
i++;
|
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 (text0 == '+' || text1 == '+')
|
||||||
{
|
{
|
||||||
if (ItMatchesDelimited(aInString, aInLength,
|
if (ItMatchesDelimited(aInString, aInLength,
|
||||||
|
@ -129,6 +129,12 @@ span.moz-txt-underscore {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.moz-txt-formfeed {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ::::: signature ::::: */
|
/* ::::: signature ::::: */
|
||||||
|
|
||||||
.moz-txt-sig,
|
.moz-txt-sig,
|
||||||
|
@ -129,6 +129,12 @@ span.moz-txt-underscore {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.moz-txt-formfeed {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ::::: signature ::::: */
|
/* ::::: signature ::::: */
|
||||||
|
|
||||||
.moz-txt-sig,
|
.moz-txt-sig,
|
||||||
|
Loading…
Reference in New Issue
Block a user