Status: New Owner: ---- Labels: Type-Defect Priority-High YUI
New issue 1131 by lucas.e.smith: constructClone in bridal.js doesn't account for IE's setAttribute bugs
http://code.google.com/p/google-caja/issues/detail?id=1131 In IE node.setAttribute('class', 'foo') will set a property named 'class' on the node, but will not update its className. Similarly with setAttribute('for', 'foo') not translating to node.htmlFor. IE requires setAttribute('className', 'foo') and setAttribute('htmlFor', 'foo'). var x = document.createElement('div'); x.innerHTML = '<p class="foo">Lorem ipsum</p>'; var y = x.cloneNode(true); This affects a number of widgets in YUI when viewed in IE. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
