slightlyoff / cassowary.js

Cassowary/JS, better, faster, future-ready
Other
1.69k stars 107 forks source link

[DEMO: Panels] Fix element subclassing in c.inherit() to work in Gecko #25

Open slightlyoff opened 12 years ago

slightlyoff commented 12 years ago

We currently rely on some proto magic with regards to existing DOM elements to provide the illusion of subclassing HTML elements. Combined with Mutation Observers, this allows us to fake HTML subclassing in the panels demo. We need a way to do the imperative part of this in Gecko (perhaps by routing through the parser first?)