mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
10 lines
2.0 KiB
JavaScript
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');
|