[w3c/webcomponents] Overwrites geter/seter in class CustomElement (#598)

Is bug?

```HTML
<!DOCTYPE html>
<html lang="ru"><head>
    <meta charset="UTF-8">
</head>
<body>

<my-custom-tag></my-custom-tag>

<script>

    'use strict';

    document.querySelector('my-custom-tag').data = 'BUG'

    class MyCustomTag extends HTMLElement {
        constructor(...args) {
            super(...args);

            alert(this.data)
        }

        get data() {
            return 'OK';
        }

        set data(value) {
            this.data = value;
        }
    }

    customElements.define('my-custom-tag', MyCustomTag);

</script>

</body>
</html>
```

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

Received on Thursday, 27 October 2016 13:33:30 UTC