[Webkit-unassigned] [Bug 59415] New: pre element does not strip a leading newline character
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 25 21:38:47 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59415
Summary: pre element does not strip a leading newline character
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: boostcpp at gmail.com
In the HTML5 specification.
pre element has this note.
Note: In the HTML syntax, a leading newline character immediately following the pre element start tag is stripped.
So for a following markup(including newline)
<pre>
a
</pre>
Webkit must strip a leading newline and behave as if it is written as
<pre>a
</pre>
Also, textContent for this pre element's node must be "a\n".
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list