static void compactAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.HTMLOListElement.compact._set"); HTMLOListElement* imp = V8HTMLOListElement::toNative(info.Holder()); bool v = value->BooleanValue(); imp->setBooleanAttribute(WebCore::HTMLNames::compactAttr, v); return; }
void setJSHTMLOListElementCompact(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLOListElement* castedThis = static_cast<JSHTMLOListElement*>(thisObject); HTMLOListElement* imp = static_cast<HTMLOListElement*>(castedThis->impl()); imp->setBooleanAttribute(WebCore::HTMLNames::compactAttr, value.toBoolean(exec)); }