- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Thu, 03 Nov 2016 09:03:39 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 3 November 2016 16:04:45 UTC
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