Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 15674 by jeff.allen: <pre> in CONTENTEDITABLE differs from  
Firefox behavior
http://code.google.com/p/chromium/issues/detail?id=15674

Chrome Version       : 3.0.190.2, Ubuntu 8.10
URLs (if applicable) : Any Wordpress website
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x: OK
          IE 7:
          IE 8:

What steps will reproduce the problem?
1. Use the Wordpress HTML editor to type in "visual" mode
2. Choose "preformatted"
3. Type "foo", return, "bar".
4. Go to HTML mode and notice you have "<pre>foo</pre>\n<pre>bar</pre>"

You can see it happen at http://cutesoft.net/example/General.aspx also,
though there the results differ between Firefox and Chrome a slightly
different way there (Firefox adds <br/>, Chrome does not).

What is the expected result?

Firefox gives you "<pre>foo\nbar</pre>"

What happens instead?

Each newline closes the current <pre> and starts a new <pre>.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to