void JSHTMLLegendElement::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case AccessKeyAttrNum: { HTMLLegendElement* imp = static_cast<HTMLLegendElement*>(impl()); imp->setAccessKey(valueToStringWithNullCheck(exec, value)); break; } case AlignAttrNum: { HTMLLegendElement* imp = static_cast<HTMLLegendElement*>(impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); break; } } }
void setJSHTMLLegendElementAlign(ExecState* exec, JSObject* thisObject, JSValue value) { HTMLLegendElement* imp = static_cast<HTMLLegendElement*>(static_cast<JSHTMLLegendElement*>(thisObject)->impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); }