Revert "[BUG #8240] Special treatment for IE8"

This reverts commit 52e69e8c293b6cfb8a223c5cc94983ccb650d5ad.
Revert "[BUG #8240] Fixed reading of attributes without values"

This reverts commit b738dbc857c057de915087e3f32143c6979d3570.