Tests for HTML5 attributes `contenteditable` and `draggable`
Follow function naming conventions for type(); performance optimization for Object.isXXX() methods