Use revised DivAlignValue methods

This commit is contained in:
kipp%netscape.com 1999-08-27 21:42:31 +00:00
Родитель f24657d4ec
Коммит e0750a5070
6 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -133,7 +133,7 @@ nsHTMLDivElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -163,7 +163,7 @@ nsHTMLDivElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}

Просмотреть файл

@ -131,7 +131,7 @@ nsHTMLHeadingElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -145,7 +145,7 @@ nsHTMLHeadingElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}

Просмотреть файл

@ -138,7 +138,7 @@ nsHTMLParagraphElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -152,7 +152,7 @@ nsHTMLParagraphElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}

Просмотреть файл

@ -133,7 +133,7 @@ nsHTMLDivElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -163,7 +163,7 @@ nsHTMLDivElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}

Просмотреть файл

@ -131,7 +131,7 @@ nsHTMLHeadingElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -145,7 +145,7 @@ nsHTMLHeadingElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}

Просмотреть файл

@ -138,7 +138,7 @@ nsHTMLParagraphElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::align) {
if (nsGenericHTMLElement::ParseDivAlignValue(aValue, aResult)) {
if (mInner.ParseDivAlignValue(aValue, aResult)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
}
@ -152,7 +152,7 @@ nsHTMLParagraphElement::AttributeToString(nsIAtom* aAttribute,
{
if (aAttribute == nsHTMLAtoms::align) {
if (eHTMLUnit_Enumerated == aValue.GetUnit()) {
nsGenericHTMLElement::DivAlignValueToString(aValue, aResult);
mInner.DivAlignValueToString(aValue, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
}