Max length of Title Attribute

What is the length limitation of HTML title attribute?

<span title="some big long piece of text and is there any limit to its size?" />

Edit:

My question is specific to title attribute not general


Titles are limited to 512 total characters in internet explorer according to MSDN.

http://msdn.microsoft.com/en-us/library/ie/ms534683(v=vs.85).aspx


I just tried this out for Chrome, Safari, and Firefox with HTML5:

Chrome limits to 1024.

Safari had no limit (I tried up to 3250)

Firefox also had no limit up to 3250. As @jukka mentioned, though, Firefox does not automatically insert linebreaks.