NS_IMPL_BOOL_ATTR(nsHTMLInputElement, DefaultChecked, defaultchecked)
nsHTMLInputElement::SetDefaultChecked(PRBool aDefaultChecked) { nsAutoString empty; if (aDefaultChecked) { return mInner.SetAttribute(nsHTMLAtoms::checked, empty, PR_TRUE); } else { mInner.UnsetAttribute(nsHTMLAtoms::checked, PR_TRUE); return NS_OK; } }
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, DefaultChecked, defaultchecked)