# How come HTMLbars chooses not to use Shadow Dom?

**URL:** <https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148>\
**Category:** Uncategorized\
**Created:** [January 23, 2015, 10:13pm UTC](https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148 "2015-01-23T22:13:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgenev](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mgenev/32/5208_2.png) [@mgenev](https://discuss.emberjs.com/u/mgenev)\
**Post date:** [January 23, 2015, 10:13pm UTC](https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148/1 "2015-01-23T22:13:11Z")

</div>

I’ve been playing with HTMLbars and what I’m getting is that it’s going to a pretty close direction with Web Components the way Polymer does them with Shadow Dom, but HTMLbars doesn’t use shadow dom instead it appears to be building actual dom.

I am really curious why it was chosen to do this instead of using what Google is trying to make into a standard for web components? What are the gains, losses, differences etc…

---

<div class="post-metadata">

**Author:** ![adriaaaaan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/adriaaaaan/32/15254_2.png) [@adriaaaaan](https://discuss.emberjs.com/u/adriaaaaan)\
**Post date:** [January 28, 2015, 12:20pm UTC](https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148/2 "2015-01-28T12:20:55Z")

</div>

I think its only supported by gecko and blink at the moment, its not even in webkit yet

---

<div class="post-metadata">

**Author:** ![knownasilya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/knownasilya/32/12912_2.png) [@knownasilya](https://discuss.emberjs.com/u/knownasilya)\
**Post date:** [July 19, 2016, 5:20pm UTC](https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148/3 "2016-07-19T17:20:19Z")

</div>

There are polyfills for shadowdom, that’s how Polymer does it now as well.

---

<div class="post-metadata">

**Author:** ![jasonmit](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jasonmit/32/182_2.png) [@jasonmit](https://discuss.emberjs.com/u/jasonmit)\
**Post date:** [July 20, 2016, 8:07am UTC](https://discuss.emberjs.com/t/how-come-htmlbars-chooses-not-to-use-shadow-dom/7148/4 "2016-07-20T08:07:07Z")

</div>

[![](https://img.youtube.com/vi/fFbns_4YR28/hqdefault.jpg "EmberConf 2016: Interoperable Component Patterns by Matthew Beale") ](https://www.youtube.com/watch?v=fFbns_4YR28)
