Aside

Earlier, I had posted about how to create shadow roots in HTML5. But after trying it out myself a little bit, I have found that it wasn’t working in Chrome 35. Most probably Google hasn’t supported in it yet. It works though in Chrome Canary. Here’s a simple tip to make it work:

Just change the createShadowRoot() method to webkitCreateShadowRoot().

Advertisements

createShadowRoot() not working in Chrome

Your Thoughts -

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s