xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

10 lines
2.0 KiB
JavaScript

// HTMLStyleElement对象
bodavm.memory.globalobj['HTMLStyleElement'] = function HTMLStyleElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLStyleElement'], "HTMLStyleElement");
bodavm.memory.globalobj['HTMLStyleElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLElement'].prototype;
bodavm.memory.globalobj['HTMLStyleElement'].__proto__=bodavm.memory.globalobj['HTMLElement'];
bodavm.toolsFunc.defineProperty('HTMLStyleElement', "disabled", {configurable:true, enumerable:true, get:function disabled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "disabled_get", arguments)}, set:function disabled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "disabled_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('HTMLStyleElement', "media", {configurable:true, enumerable:true, get:function media (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "media_get", arguments)}, set:function media (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "media_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('HTMLStyleElement', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "type_get", arguments)}, set:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "type_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('HTMLStyleElement', "sheet", {configurable:true, enumerable:true, get:function sheet (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLStyleElement'].prototype, "HTMLStyleElement", "sheet_get", arguments)}, set:undefined},'prototype');