We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
老师好,在 dom/css.md 中的描述关于 window.getComputedStyle() 方法的描述”该方法返回的 CSSStyleDeclaration 实例的cssText属性无效,返回undefined“似乎有误,实际在浏览器中测试返回的应该是空字符串而不是 undefined。
cssText
undefined
在W3C中看到一处 change:CSSStyleDeclaration.cssText now returns the empty string for computed style.