View Full Version : Hilarious JavaScript case bug
Tails
05-16-2003, 12:31 AM
document.getElementById('out').style.textTransform="uppercase"
the div tag with the text inside it will appear to be uppercase...
But it is really lowercase. Just try to copy and paste and see what happens! ^_^.
mordred
05-16-2003, 01:26 AM
Huh? Why bug? That's just plain CSS 1.0:
http://www.w3.org/TR/REC-CSS1#text-transform
BrainJar
05-16-2003, 06:23 AM
I noticed a similar bug with Opera 7 and the TEXTAREA element. It shouldn't translate the actual field value but it does. Other fields types seem to be OK though.
liorean
05-16-2003, 06:28 AM
I remember op6, using text-transform: capitalise on a text-transform: uppercase text, leading to tHIS nICE eFFECT...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.