This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
6.5.1 says that pre (and textarea) should not begin with whitespace. this seems both under-defined (whitespace is defined to be different sets of names in xml and html5 and it isn't clear which is meant here) and over restrictive, html5 only specifies that a single leading newline is removed. http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-pre-element So I believe for example <pre> xxx </pre> should be allowed in a polyglot document, even though it begins with spaces. David
Hi David. In the editor's draft, dated 5 January, section 6.5.1 now says the following: 6.5.1 Newlines in <textarea> and <pre> Elements When polyglot markup uses either a <textarea> or <pre> element, the text within the element does not begin with a newline. I believe this satisfies what this bug requested. If there's additional information about whitespace that needs to be inserted, please let me know. Thanks, Eliot
mass-move component to LC1