boda_jsEnv/env_xbb_lastest_jsdom/env/CSSStyleDeclaration.js
xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

13 lines
3.3 KiB
JavaScript

// CSSStyleDeclaration对象
bodavm.memory.globalobj['CSSStyleDeclaration'] = function CSSStyleDeclaration(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSStyleDeclaration'], "CSSStyleDeclaration");
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "cssText", {configurable:true, enumerable:true, get:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_get", arguments)}, set:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "parentRule", {configurable:true, enumerable:true, get:function parentRule (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "parentRule_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "cssFloat", {configurable:true, enumerable:true, get:function cssFloat (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssFloat_get", arguments)}, set:function cssFloat (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssFloat_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "getPropertyPriority", {configurable:true, enumerable:true, writable:true, value:function getPropertyPriority (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "getPropertyPriority", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "getPropertyValue", {configurable:true, enumerable:true, writable:true, value:function getPropertyValue (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "getPropertyValue", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "item", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "removeProperty", {configurable:true, enumerable:true, writable:true, value:function removeProperty (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "removeProperty", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "setProperty", {configurable:true, enumerable:true, writable:true, value:function setProperty (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "setProperty", arguments)}},'prototype');