[whatwg] Pre element question

Allan Sandfeld Jensen kde at carewolf.com
Sun Jan 21 03:00:51 PST 2007

On Saturday 20 January 2007 01:08, Ian Hickson wrote:
> In HTML5, we're dropping that requirement, since everyone ignores it.
> However, we will, as you point out, have to introduce a special behaviour
> for a newline at the start of a <pre> element. IE actually does it for
> more than just the <pre> element (e.g. it does it for <p>, though not
> <span>) but compatibility with the Web only seems to require it for <pre>
> since that's all that the other browsers do it for.
Would it be inconceivable to let <pre> parse like any other elements, and then 
somehow drop any initial newline during the rendering?


More information about the whatwg mailing list