[html5] PRE element

For example in HTML4 <pre> can contain <input> elements but not <img> or 
<object> [1]. It appears that HTML5 is far less restrictive in this 
respect [2], <pre> there can contain <img> and <object>.

Is this an intention or probably I missed something?

[1] http://www.w3.org/TR/html401/struct/text.html#h-9.3.4
[2] http://www.whatwg.org/specs/web-apps/current-work/#preformatted

-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Friday, 12 October 2007 03:07:21 UTC