Open Bug 706394 Opened 13 years ago Updated 2 years ago

Implement plain text view source separately from viewing plain text

Categories

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

defect

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

Details

View Source line numbering needs selectable nodes within the huge pre element that HTML5 says to generate when loading text/plain. Since the DOM for normal text/plain viewing is part of the interoperable platform but we need something different for product-specific View Source DOM when viewing the source of plain text, implement a separate code path for that. As a first step, the plain text View Source mode should generate a span with a line number id next to each line break within the huge pre.
Assignee: hsivonen → nobody
Status: ASSIGNED → NEW
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.