- From: <bugzilla@jessica.w3.org>
- Date: Thu, 01 Dec 2011 06:24:16 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=15002 Henri Sivonen <hsivonen@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsivonen@iki.fi --- Comment #1 from Henri Sivonen <hsivonen@iki.fi> 2011-12-01 06:24:15 UTC --- (In reply to comment #0) > In the Newlines in textarea and pre Elements section, please add something > clarifying that in order to begin the content of one of these elements with a > newline, a character reference, e.g. , should be used. A character reference is no different from a literal line feed character in this case. The character reference is expanded on the tokenizer level but the line feed is dropped on the tree builder level. The tree builder doesn't know if the character originated from a character reference, so immediately after <pre> gets dropped, too. See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1265 in a browser that implements the HTML parsing algorithm. -- Configure bugmail: http://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 Thursday, 1 December 2011 06:24:22 UTC