http://www.w3.org/Bugs/Public/show_bug.cgi?id=14009
Summary: Consider treating linebreaks in <pre> specially for
formatBlock etc.
Product: WebAppsWG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: HTML Editing APIs
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected], [email protected]
Consider this formatBlock testcase:
['<p>', '{<pre> foo bar </pre>}'],
Chrome 15 dev produces
<p> foo<br> bar</p>
while the spec, IE9, and Firefox 8.0a2 produce
<p>{foo bar }</p>
Opera 11.50 is similar to IE/Firefox. Should we special-case this the way
WebKit does, or not? WebKit probably better matches user expectations, but it
might be annoying to handle. If we do special-case it, we likely want to just
replace all the newlines by <br> right before any time when we might plausibly
change the tag name.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.