Closed Bug 650643 Opened 14 years ago Closed 14 years ago

line break isn't shown when entered with 

Categories

(Core :: DOM: HTML Parser, defect)

2.0 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 565035

People

(Reporter: lumosimann, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

(deleted), text/html
Details
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0 If I want to get a line break inside a code (<pre>...</pre), the line break isn't shown, when it is entered with &#13; Till now this was the only posibility to post a code which is shown correct and can be copied correctly. Reproducible: Always Steps to Reproduce: Create a file with the code <pre>asdf&#13;asdf</pre> in FF4 Actual Results: Text is shown as "asdfasdf" and when I copy it, there is written "asdf asdf" Expected Results: Shown and copied as "asdf asdf"
Version: unspecified → 4.0 Branch
Attached file testcase (deleted) —
Workaround: Just use &#10; (breaks in any browser). This is a regression from Fx3.6 and a HTML5 parser issue and might be intended. "HTML5.parser.enable=false" gives the old behaviour. IE9, Opera 11.10, Fx3.6 break on &#13; Chrome 10 and Fx4 don't.
Component: General → HTML: Parser
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → parser
Version: 4.0 Branch → 2.0 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: