Fix col/colspan confusion (regression). b=107453 r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@165931 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org
2004-11-30 05:52:59 +00:00
parent c007c30f20
commit 2c77a0edc3

View File

@@ -247,17 +247,16 @@ nsHTMLTableColElement::IsAttributeMapped(const nsIAtom* aAttribute) const
static const MappedAttributeEntry* const col_map[] = {
attributes,
span_attribute,
sCommonAttributeMap,
};
static const MappedAttributeEntry* const colspan_map[] = {
attributes,
span_attribute,
sCommonAttributeMap,
};
// we don't match "span" if we're a <col>
// XXXldb Should this be reflected in the mapping function?
// we only match "span" if we're a <col>
if (mNodeInfo->Equals(nsHTMLAtoms::col))
return FindAttributeDependence(aAttribute, col_map,
NS_ARRAY_LENGTH(col_map));