env-js icon indicating copy to clipboard operation
env-js copied to clipboard

style attributes were not taken into account with innerHTML

Open dmcinnes opened this issue 15 years ago • 0 comments

Hi Guys, It appears CSS2Properties was only looking at cssText of the element passed in, which was only the case with style nodes. I've extended CSS2Properties to also check the style attribute of the passed in node (but default to cssText if available).

Thanks, Doug

dmcinnes avatar Sep 30 '10 20:09 dmcinnes