Closed Bug 1115907 Opened 11 years ago Closed 11 years ago

Selected Text link issues

Categories

(Firefox :: Menus, enhancement)

37 Branch
x86_64
All
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mp3geek, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file test.html
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20141223193008 Steps to reproduce: Open text.html example Select/Highlight text and right click on link. Actual results: Send me to the <a href=link> and not the hightlighted text. Expected results: Selected text should ignore <a ref= if it involves a domain name or a sub menu to open the selected text.
If I click the link, the href (google) is used; if I click elsewhere, the text (yahoo) is used.
Severity: normal → enhancement
QA Whiteboard: [bugday-20141229]
OS: Windows 8.1 → All
(In reply to mdew from comment #0) > Select/Highlight text and right click on link. I think it's ok when selecting right click/open link to open the href (google).
Component: Untriaged → Selection
Product: Firefox → Core
This is an interesting issue. Jared, Philipp, what do you think we should do here? I think the current behaviour is actually fine - if the selected text is a web link, and it's inside a real link, the user expects the visible text to be what is opened, not the (invisible) link's "real" target. So I think this should be WONTFIX. But maybe you disagree?
Component: Selection → Menus
Flags: needinfo?(philipp)
Flags: needinfo?(jaws)
Keywords: testcase
Product: Core → Firefox
To me, selecting text is a pretty deliberate action, so I would expect that the highlighted text is what gets visited, not the embedded href attribute.
Flags: needinfo?(jaws)
I agree that this should be a wontfix, mostly to ensure consistent behavior. It would also create a whole new set of problems (what happens when more than one URL is in the selected text block?). If the link text is already selected, it is only marginally more work to copy it to the address bar.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(philipp)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: