Ticket #11715 (closed bug: duplicate)
Passing attributes on object creation is inconsistent / depends on casing
|Reported by:||frederik.ring@…||Owned by:|
I was recently encountering the "problem" described here: http://bugs.jquery.com/ticket/10125
Yet I found out that when you use 'Width' and 'Height' (upper-casing the first letter) the passed pairs will be interpreted as attributes, not as CSS.
See this demo jsfiddle: http://jsfiddle.net/Lfh9F/
Maybe this is desired behavior as well, yet I have to admit that I find it highly confusing.