[Bug 13653] For PRE element "In the HTML syntax, a leading newline character immediately following the pre element start tag is stripped." The same should hold true for code also, when use inside a pre (<pre><code> my code </code></pre>) If not in the spec, could you

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13653

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Simon Pieters <simonp@opera.com> 2011-08-05 14:50:28 UTC ---
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: The line stripping is done because it's what browsers did prior to
specifying the parsing rules. Browsers don't do it for <code>. Changing this
would affect existing sites that use <pre><code>\n and expect a leading
newline.

-- 
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 Friday, 5 August 2011 14:50:29 UTC