Enabling cols and rows attribute change for framesets. (1 of 3)

This commit is contained in:
pollmann@netscape.com
1999-05-19 00:34:56 +00:00
parent 83a2a4ccc7
commit fc13d3b4aa
2 changed files with 10 additions and 2 deletions
@@ -194,6 +194,10 @@ nsHTMLFrameSetElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
if ((nsHTMLAtoms::rows == aAttribute) || (nsHTMLAtoms::cols == aAttribute)) {
*aHint = NS_STYLE_HINT_REFLOW;
} else {
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
}
return NS_OK;
}