Open Bug 469103 Opened 16 years ago Updated 2 years ago

Linkified links in View Source should respect fragment

Categories

(Toolkit :: View Source, enhancement)

enhancement

Tracking

()

People

(Reporter: chris, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2 FirePHP/0.1.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2 FirePHP/0.1.2

When clicking on a link in the source, and that link has a fragment, the viewport should focus at that element - i.e. following https://bugzilla.mozilla.org/#footer should scroll down to <div id="footer">. This should apply for relative links in a page as well.

Reproducible: Always

Steps to Reproduce:
1. Create an HTML page with an anchor to https://bugzilla.mozilla.org/#footer.
2. View the source of the page.
3. Click the linkified link.
Actual Results:  
Source code is viewed for bugzilla.mozilla.org

Expected Results:  
Source code is viewed for bugzilla, but with the source scrolled down to <div id="footer">
Version: unspecified → 3.1 Branch
Status: UNCONFIRMED → NEW
Component: General → View Source
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: general → view.source
Version: 3.1 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.