[Bug 21711] New: Unclear statement regarding inclusion of newlines in <pre> and <textarea>

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

            Bug ID: 21711
           Summary: Unclear statement regarding inclusion of newlines in
                    <pre> and <textarea>
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec
          Assignee: robin@w3.org
          Reporter: robin@w3.org
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

"A single newline may be placed immediately after the start tag of pre and
textarea elements. This does not affect the processing of the element. The
otherwise optional newline must be included if the element's contents
themselves start with a newline (because otherwise the leading newline in the
contents would be treated like the optional newline, and ignored)."

http://www.w3.org/html/wg/drafts/html/master/syntax.html#element-restrictions

If it's in the content then it must be included because if it weren't included
it would be ignored? What is meant is that two newlines need be included.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 16 April 2013 08:58:22 UTC