JSValue jsHTMLAppletElementWidth(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLAppletElement* castedThis = static_cast<JSHTMLAppletElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLAppletElement* imp = static_cast<HTMLAppletElement*>(castedThis->impl()); JSValue result = jsString(exec, imp->getAttribute(WebCore::HTMLNames::widthAttr)); return result; }
void setJSHTMLAppletElementWidth(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLAppletElement* castedThis = static_cast<JSHTMLAppletElement*>(thisObject); HTMLAppletElement* imp = static_cast<HTMLAppletElement*>(castedThis->impl()); imp->setAttribute(WebCore::HTMLNames::widthAttr, valueToStringWithNullCheck(exec, value)); }
JSValue jsHTMLAppletElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLAppletElement* domObject = static_cast<JSHTMLAppletElement*>(asObject(slotBase)); return JSHTMLAppletElement::getConstructor(exec, domObject->globalObject()); }
void setJSHTMLAppletElementVspace(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLAppletElement* castedThisObj = static_cast<JSHTMLAppletElement*>(thisObject); HTMLAppletElement* imp = static_cast<HTMLAppletElement*>(castedThisObj->impl()); imp->setAttribute(HTMLNames::vspaceAttr, valueToStringWithNullCheck(exec, value)); }