Re: [csswg-drafts] [cssom-1] circular imports and CSSImportRule (#4287)

Edge does a third thing:

```js
document.styleSheets[0].cssRules[0].styleSheet.cssRules[0].styleSheet.cssRules[0].styleSheet.cssRules[0].styleSheet; // CSSImportRule

document.styleSheets[0].cssRules[0].styleSheet.cssRules[0].styleSheet.cssRules[0].styleSheet.cssRules[0].styleSheet; // undefined```

It looks like the infinite graph at first, but at a depth of five the styleSheet property returns undefined. :)

-- 
GitHub Notification of comment by bathos
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4287#issuecomment-529695106 using your GitHub account

Received on Monday, 9 September 2019 22:42:24 UTC