`view-source:` solely renders line numbers for `text/HTML`, excluding all other `text\/.*`s (like `/plain`).
Categories
(Toolkit :: View Source, enhancement, P3)
Tracking
()
People
(Reporter: zn7esutb, Unassigned)
References
()
Details
Attachments
(2 files)
Steps to reproduce
-
For
/plain, visithttps://raw.githubusercontent.com/whatwg/html/88c7d93d0f87e19beadead68f8d2eb28c503a8a8/source#line500. -
For
/Markdown, visitraw.githubusercontent.com/dazeb/markdown-downloader/532bfa37eab361413b0a7ddea2d959ec543b9831/README.md#line40.
Expected results
-
Line numbers should appear.
-
The user should be automatically scrolled to the relevant line.
Actual results
-
view-source:doesn't render line numbers fortext/plain(but does fortext/HTML). -
Appending
'#line' + $n(like#line10) doesn't scroll to a specific line intext/plain, but does intext/HTML.
| Reporter | ||
Updated•6 months ago
|
| Reporter | ||
Comment 1•6 months ago
|
||
| Reporter | ||
Comment 2•6 months ago
|
||
| Reporter | ||
Updated•6 months ago
|
| Reporter | ||
Updated•6 months ago
|
Comment 3•6 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•6 months ago
|
Comment 4•6 months ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit BugBot documentation.
Updated•6 months ago
|
Comment 5•6 months ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit BugBot documentation.
Comment 6•5 months ago
|
||
Could be improved, but this sounds like an enhancement.
Updated•5 months ago
|
Description
•