[heycam/webidl] Browsers do not consistently seem to check this? (#958)

```js
var x = Object.create(getComputedStyle(document.documentElement));
document.write('display: ' + x.display);
```
In Firefox `x.display` throws, but it does not in Chrome/Safari (it yields "block"). For a similar test with `Location` all browsers throw.

I thought that per 1.1.2.3.2 of https://heycam.github.io/webidl/#dfn-attribute-getter this throws, but perhaps I'm holding it wrong? Or maybe it's some magic with CSS2Properties that ends up violating IDL?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/958

Received on Tuesday, 23 February 2021 13:42:11 UTC