今越星礼
今越星礼
I change my code as follows: ```js window.addEventListener('load', () => { let color = window.getComputedStyle(document.querySelector('p'), null).getPropertyValue('color'); console.log(document.querySelector('p').textContent); console.log('p\'s color', color); }, false); ``` And I get the same result above.
@Zirro My system is macOS 10.12.6. I pass the absolute path to `url` option, it's not working and get an error: ``` /Users/pomy/git/tiny-dom-helpers/node_modules/whatwg-url/lib/URL-impl.js:21 throw new TypeError("Invalid URL"); ^ TypeError: Invalid...
@Zirro It works !!! but it should be noted that the path passed to `url` option must end with '/', otherwise will get an error as follows: ``` Error: Could...