The goog.dom.BrowserFeature Enum

goog.dom.BrowserFeature

Enum of browser capabilities.

@enum
{boolean}

.CAN_ADD_NAME_OR_TYPE_ATTRIBUTES

Whether attributes 'name' and 'type' can be added to an element after it's created. False in Internet Explorer prior to version 9.

.CAN_USE_CHILDREN_ATTRIBUTE

Whether we can use element.children to access an element's Element children. Available since Gecko 1.9.1, IE 9. (IE<9 also includes comment nodes in the collection.)

.CAN_USE_INNER_TEXT

Opera, Safari 3, and Internet Explorer 9 all support innerText but they include text nodes in script and style tags. Not document-mode-dependent.

.CAN_USE_PARENT_ELEMENT_PROPERTY

MSIE, Opera, and Safari>=4 support element.parentElement to access an element's parent if it is an Element.

.INNER_HTML_NEEDS_SCOPED_ELEMENT

Whether NoScope elements need a scoped element written before them in innerHTML. MSDN: http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspx#1