mozilla-appmaker/appmaker — pull request #1189 by Pomax (2014-04-30 23:32:20+00:00)
Title: nestablestub

**do not merge, bad things live here**

Brick element acts as a super class to ceci-element and ceci-card, adding an "I can contain things" attribute (`compound`). The idea is that elements with this property check their children when they enter the DOM, and make them switch their broadcast model to an internal data notification, and hand their listeners off to the owning element, with internal wrappers to keep the container as a whole a functional element in the chain of app components.

The main problem is trying to get to those internal elements. the Shadow DOM concept is kicking my ass and is not yielding the elements I need to effect what needs to be done.

This code is missing a few hours of attempts, none of which yielded decent results.