[BUGFIX] dom/element

- fix FF bug introduced with 3.3.5
Merge branch 'development'
Merge branch 'master' into development