ghcjs / ghcjs-dom-hello

GHCJS DOM Hello World, an example package
MIT License
10 stars 11 forks source link

Inserted <p> is empty #3

Closed fgrsnau closed 9 years ago

fgrsnau commented 9 years ago

Hi,

this is my first try to get my hands on ghcjs. So I compiled ghcjs from github with the following configuration (using improved-base branch like the ghcjs wiki suggests):

Compiling and building ghc-dom-hello works flawlessly. The only problem is that all the inserted <p> elements are empty. It seems like setInnerText is not working.

Are there some changes necessary to make it work with the recent version of ghcjs, ghc-js or the runtime?

fgrsnau commented 9 years ago

I found an explanation: Firefox does not support the node.innerText property.

More information: