Bug 1270459 - Limit td/th.scope to known values; r=bz

This commit is contained in:
Aryeh Gregor
2016-05-05 21:29:54 +03:00
parent 5874ef6ef3
commit de6b480b90
3 changed files with 7 additions and 184 deletions

View File

@@ -369,6 +369,12 @@ static const nsAttrValue::EnumTable kCellScopeTable[] = {
{ 0 }
};
void
HTMLTableCellElement::GetScope(DOMString& aScope)
{
GetEnumAttr(nsGkAtoms::scope, nullptr, aScope);
}
bool
HTMLTableCellElement::ParseAttribute(int32_t aNamespaceID,
nsIAtom* aAttribute,