[Bug 15002] Clarify status of initial newline in <pre> and <textarea>

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15002

--- Comment #3 from Henri Sivonen <hsivonen@iki.fi> 2011-12-02 14:20:05 UTC ---
(In reply to comment #2)
> Thanks for the example, which is equivalent to what I did look at in both FF
> and Chrome, which I guess do not implement the HTML parsing algorithm (in the
> versions I'm using) . . .

Chrome seems to have a bug here.

Which version of Firefox did you use? Firefox should behave per spec here.

> What browser do you recommend at the moment for this kind of exploration?

The latest version of Firefox or Opera 11.60 or newer.

Chrome implemented a snapshot of the HTML parsing algorithm in 7 or 8 and
hasn't updated their implementation since, so Chrome doesn't reflect the more
recent spec changes. However, I think in this case Chrome is buggy even
according to the way the spec was at the time Chrome implemented.

> This does make it impossible to produce polyglot which begins a <pre> with a
> newline :-(

Yes.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 2 December 2011 14:20:12 UTC