DescriptionFixes <https://code.google.com/p/google-caja/issues/detail?id=1850>.
bridal.setAttribute used setAttributeNode to work around IE 6/7 quirks,
but (empirically) setAttributeNode cannot be used on IE 10 to set
<input type=>, so with IE 10 (and 9, per MSDN) no longer having
featureExtendedCreateElement, all such attributes are lost in ES5 mode.
Therefore, only use setAttributeNode if featureExtendedCreateElement
is present (even though that's technically unrelated).
This is a quick fix. More correct would be to detect the specific
misbehaviors which require us to use setAttributeNode.
@r5608
Patch Set 1 #
MessagesTotal messages: 3
|
|||||||||||||||||||