textDecorationLineThrough
Is there a bug intextDecorationLineThrough? My IE 6 and IE 7 shows the line if it is false and no strike through if it is true, opposite from what is described athttp://msdn2.microsoft.com/en-us/library/ms531167.aspx.
Would appreciate if someone could copy and paste the following code to a new html file and display it. If clicking the text in your browser alternately shows red+crossed out or black+uncrossed it means that the bug is almost certain. If it shows red+uncrossed and black+crossed then it's behaving different from my IEs.
<html><head><title>textDecorationLineThrough Test</title></head>
<style>
.crossed { textDecorationLineThrough:false; color:red; }
.clear { textDecorationLineThrough:true; color:black; }
</style>
<body style='font-family:Tahoma'>
<div onClick='clickme(this);'>Click to cross me out, click again to clear</div>
</body>
<script language='Javascript'>
function clickme(obj)
{ obj.className=obj.className!='crossed'?'crossed':'clear'; }
</script>
</html>
Thanks.

