[w3c/webcomponents] [BUG?] Setting visibility:hidden on a Custom Element causes callbacks not to be executed (not upgraded?). (#601)

I found a strange behavior. I have some elements on the page, f.e.

```html
<script src="./path/to/infamous.js"></script>
<motor-scene>
  <motor-node>
    Hello 3D
  <motor-node />
</motor-scene>
```

It works just fine. If I add the following style:

```css
motor-scene {
  visibility: hidden
}
```

then it breaks, and the custom elements don't work. It appears that the `attachedCallback` is never fired, which is very unexpected because CSS should not have any effect on JS logic; CSS is only styling.

-- 
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/601

Received on Thursday, 3 November 2016 16:04:45 UTC