When looking up the style for an element Closure detects IE and uses runtimeStyle (unique to IE). However, elements created by createElementNS do not have this attribute and thus goog/style/style.js crashes. This change detects when we create an element with the NS variety and gives it this attribute. A better place for this fix would be style.js but this is easier.
When looking up the style for an element Closure detects IE and uses
runtimeStyle (unique to IE). However, elements created by createElementNS
do not have this attribute and thus goog/style/style.js crashes. This change
detects when we create an element with the NS variety and gives it this
attribute. A better place for this fix would be style.js but this is easier.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/10734044

git-svn-id: 2cf55447cea94972d775c94cce66c944ede0459c@1081 c400ca83-b69d-9dd7-9705-49c6b8615e23

tobyk100/blockly-trunk,tjpalmer/blockly,Khan/blockly,tobyk100/blockly-trunk,Khan/blockly,tobyk100/blockly-trunk,tobyk100/blockly-trunk,tjpalmer/blockly