Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay.

This commit is contained in:
Henri Sivonen
2011-11-01 17:27:36 +02:00
parent 78d2c78078
commit 282d41d3e8
9 changed files with 63 additions and 11 deletions

View File

@@ -35,6 +35,12 @@
*
* ***** END LICENSE BLOCK ***** */
void
nsHtml5Tokenizer::StartPlainText()
{
stateSave = NS_HTML5TOKENIZER_PLAINTEXT;
}
void
nsHtml5Tokenizer::EnableViewSource(nsHtml5Highlighter* aHighlighter)
{