Raynos/NodeComposite — Issue #3: `style` does not behave like DOM nodes
Author: DomenicDenicola
Created: 2012-01-13 20:31:08+00:00
State: open

For example, DOM nodes have `node.style.backgroundColor`, whereas from what I can see reading your source, we have `nodeComposite.style["background-color"]`.

The current setup also doesn't seem to handle proprietary vendor extensions or be forward compatible.

---

This seems like a hard one to solve. I tried playing around in the console to somehow get `style` to list its properties, but somehow

"backgroundColor" in document.createElement("div").style

is true while it doesn't show up in `Object.keys`, `Object.getOwnPropertyNames` (even composed with any number of `Object.getPrototypeOf` climbs), or even a `for`-`in` loop.

We can use this bug to brainstorm... interesting problem.