Open
Bug 144745
Opened 22 years ago
Updated 2 years ago
right clicking on a <link> element in non-HTML XML brings up the wrong context menu
Categories
(Core :: XUL, defect)
Tracking
()
NEW
Future
People
(Reporter: paul, Unassigned)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051009 The context menu for a link is brought up when right clicking on the text within a link element. This would be useful, but the items in the menu do not function. Reproducible: Always Steps to Reproduce: 1. Open an RSS feed 2. Right click on the text in one of the link elements
Comment 1•22 years ago
|
||
To blake. The context menu reacts to all <link> elements as links without checking the namespace! In this case that fails badly.
Assignee: hyatt → blaker
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•22 years ago
|
Target Milestone: --- → Future
Comment 2•22 years ago
|
||
As a note, this is an issue for any non-HTML XML document.
Summary: right clicking on a link element in RSS brings up the wrong context menu → right clicking on a <link> element in non-HTML XML brings up the wrong context menu
Comment 3•21 years ago
|
||
what is the expected behavior? when you say "context menu for a link", do you mean for a hyperlink? (e.g. <a href="http://www.mozilla.org">mozilla</a>) at http://www.mozilla.org/news.rdf i tried clicking (unselected) text between the <link> and </link> tags. it brings up a standard non-hyperlink context menu. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Comment 4•21 years ago
|
||
> when you say "context menu for a link", do you mean for a hyperlink? Yes. That's what a <xhtml:link> is. > at http://www.mozilla.org/news.rdf i tried It's pretty-printed, no? So you're not clicking on a <link>. You're clicking on some text in between two more bits of text that say <link>.
Comment 5•20 years ago
|
||
CTho, Callek, would you be interested in doing this? Needs doing for both Firefox and SeaMonkey.... Most likely, you want to check for "instanceof HTMLElement" before starting to do the tagname checks.
Comment 6•20 years ago
|
||
Or just skip the tagname checks and do (elem instanceof HTMLLinkElement) etc.
Comment 7•20 years ago
|
||
That would work too, yes.
Updated•18 years ago
|
Assignee: bross2 → nobody
QA Contact: shrir → xptoolkit.menus
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•