Closed Bug 40809 Opened 26 years ago Closed 26 years ago

View Source ignores 0x0D inside <STYLE> tags

Categories

(Core :: DOM: HTML Parser, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pierre, Assigned: harishd)

Details

(Whiteboard: [nsbeta2+][dogfood-] Added fix in hand comment.)

Attachments

(3 files)

Reproduced with a fresh tree on the Mac. - Create a html page that contains some <STYLE>. - Save a copy of that page with LF line breaks and another copy with CR line breaks. - Open the copy with LFs and do View Source: it works correctly - Open the copy with CRs and do View Source ==> The text between the <STYLE> tags is all on a single line.
Attached file Page with LFs
Attached file Page with CRs
People rely upon view-source, and this bug is trivial (fix in hand).
Keywords: dogfood
Trivial issue; 1 line fix in my tree, awaiting approval to land.
Status: NEW → ASSIGNED
Keywords: nsbeta2
Marking nsbeta2+ as agreed in PDT team meeting.
Whiteboard: nsbeta2+
Putting on [dogfood-] radar since alread [nsbeta2+]
Whiteboard: nsbeta2+ → [nsbeta2+][dogfood-]
Whiteboard: [nsbeta2+][dogfood-] → [nsbeta2+][dogfood-] Added fix in hand comment.
Trival fix to replace 0x0d with newlines.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Not fixed on Mac build: 2000-06-29-14-M17
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Rickg is on sabbatical: reassigned to harishd.
Assignee: rickg → harishd
Status: REOPENED → NEW
Attached patch Proposed patchSplinter Review
Replace "\r\n"w ith "\n" abd CR with LF instead of stripping off CRs altogether. FIXED.
Status: NEW → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Verified 2000-07-18-10-M17 : Mac
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: