void JSHTMLTableSectionElement::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case AlignAttrNum: { HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); break; } case ChAttrNum: { HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(impl()); imp->setCh(valueToStringWithNullCheck(exec, value)); break; } case ChOffAttrNum: { HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(impl()); imp->setChOff(valueToStringWithNullCheck(exec, value)); break; } case VAlignAttrNum: { HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(impl()); imp->setVAlign(valueToStringWithNullCheck(exec, value)); break; } } }
void setJSHTMLTableSectionElementAlign(ExecState* exec, JSObject* thisObject, JSValue value) { HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(static_cast<JSHTMLTableSectionElement*>(thisObject)->impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); }