Fix setter so IE7/8 can set text of style element

Based on Arian's fix on his `fix-2265-text branch`
(could not cherry-pick the commit because file contents and directory
structure have changed too much since his last commit)
test code