From a185f09943a2488cd4ea6dc99288da4cdd7d4cad Mon Sep 17 00:00:00 2001 From: Karpich Dmitry Date: Wed, 14 May 2014 10:33:38 +0400 Subject: [PATCH] Add classid property for tag This properties needed to work with ActiveX objects in IE, created by tag. Closes #1526 --- src/browser/ui/dom/HTMLDOMPropertyConfig.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/browser/ui/dom/HTMLDOMPropertyConfig.js b/src/browser/ui/dom/HTMLDOMPropertyConfig.js index 2c59d851a3..56e334bd0a 100644 --- a/src/browser/ui/dom/HTMLDOMPropertyConfig.js +++ b/src/browser/ui/dom/HTMLDOMPropertyConfig.js @@ -70,6 +70,7 @@ var HTMLDOMPropertyConfig = { cellSpacing: null, charSet: MUST_USE_ATTRIBUTE, checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + classID: MUST_USE_ATTRIBUTE, // To set className on SVG elements, it's necessary to use .setAttribute; // this works on HTML elements too in all browsers except IE8. Conveniently, // IE8 doesn't support SVG and so we can simply use the attribute in @@ -164,6 +165,7 @@ var HTMLDOMPropertyConfig = { property: null // Supports OG in meta tags }, DOMAttributeNames: { + classID: 'classid', className: 'class', htmlFor: 'for', httpEquiv: 'http-equiv'