1 // DOM-Level-1-compliant structure
2 var NodePrototype = require('./node');
3 var ElementPrototype = module.exports = Object.create(NodePrototype);
9 Object.keys(domLvl1).forEach(function(key) {
10 var shorthand = domLvl1[key];
11 Object.defineProperty(ElementPrototype, key, {
13 return this[shorthand] || null;
16 this[shorthand] = val;