Remove last vestiges of <plaintext>. Followup to bug 88987, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@163971 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -225,7 +225,6 @@ HTML_ATOM(pagex, "pagex")
|
||||
HTML_ATOM(pagey, "pagey")
|
||||
HTML_ATOM(param, "param")
|
||||
HTML_ATOM(phase, "phase") //XML Events
|
||||
HTML_ATOM(plaintext, "plaintext")
|
||||
HTML_ATOM(pointSize, "point-size")
|
||||
HTML_ATOM(pre, "pre")
|
||||
HTML_ATOM(profile, "profile")
|
||||
|
||||
@@ -122,8 +122,7 @@ nsHTMLSpanElement::GetAttributeMappingFunction(nsMapRuleToAttributesFunc& aMapRu
|
||||
nsresult
|
||||
nsHTMLSpanElement::GetInnerHTML(nsAString& aInnerHTML)
|
||||
{
|
||||
if (mNodeInfo->Equals(nsHTMLAtoms::xmp) ||
|
||||
mNodeInfo->Equals(nsHTMLAtoms::plaintext)) {
|
||||
if (mNodeInfo->Equals(nsHTMLAtoms::xmp)) {
|
||||
GetContentsAsText(aInnerHTML);
|
||||
return NS_OK;
|
||||
}
|
||||
@@ -134,8 +133,7 @@ nsHTMLSpanElement::GetInnerHTML(nsAString& aInnerHTML)
|
||||
nsresult
|
||||
nsHTMLSpanElement::SetInnerHTML(const nsAString& aInnerHTML)
|
||||
{
|
||||
if (mNodeInfo->Equals(nsHTMLAtoms::xmp) ||
|
||||
mNodeInfo->Equals(nsHTMLAtoms::plaintext)) {
|
||||
if (mNodeInfo->Equals(nsHTMLAtoms::xmp)) {
|
||||
return ReplaceContentsWithText(aInnerHTML, PR_TRUE);
|
||||
}
|
||||
|
||||
|
||||
@@ -225,7 +225,6 @@ HTML_ATOM(pagex, "pagex")
|
||||
HTML_ATOM(pagey, "pagey")
|
||||
HTML_ATOM(param, "param")
|
||||
HTML_ATOM(phase, "phase") //XML Events
|
||||
HTML_ATOM(plaintext, "plaintext")
|
||||
HTML_ATOM(pointSize, "point-size")
|
||||
HTML_ATOM(pre, "pre")
|
||||
HTML_ATOM(profile, "profile")
|
||||
|
||||
Reference in New Issue
Block a user