Wrap tiles in Shadow DOM
Closed this issue · 4 comments
tomalec commented
In some kind of <juicy-tile>
or just <div>
.
It should
- simplify code and concept,
- make our component way less intrusive,
- we will not modify CSS of content nodes,
- 3rd party tiles may use padding/margins etc. freely.
tomalec commented
We still does not came with any idea how to do it.
List of problems we have isolated:
- No way to programmatically distribute content in JS
- Lack of support for
:nth-child()
selectors in (native distribution)<content select>
attribute W3C Bugzilla issue - 26552 - Problems with supports for attribute selectors in Chrome Chromium issue - 402471
tomalec commented
tomalec commented
There is a hope with new Polymer 0.8.0 ShadyDOM feature
https://github.com/Polymer/polymer/blob/0.8-preview/PRIMER.md#dom-re-distribution
tomalec commented
Merged to gh-pages, will be released with new version