[As this appears parser related and not Layout (or DOM), x-posting
and setting follow-up to dev-platform.]

Using:

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b9pre) Gecko/20101217
Firefox/4.0b9pre

I notice all newlines immediately following a start <pre> tag get
ignored in HTML documents:

<pre>



Foo Bar</pre>

Shouldn't just the first newline following the start <pre> tag be
ignored?

<http://www.w3.org/TR/html5/grouping-content.html#the-pre-element>:

> In the HTML syntax, a leading newline character immediately 
> following the pre element start tag is stripped.

<http://www.w3.org/TR/html401/appendix/notes.html#notes-line-breaks>:

> SGML (see [ISO8879], section 7.6.1) specifies that a line break 
> immediately following a start tag must be ignored...

-- 
Stanimir
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to