Closed
Bug 668618
Opened 14 years ago
Closed 14 years ago
ContentAreaClick doesn't handle MathML 3 links with just the href attribute
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 534968
People
(Reporter: mak, Assigned: mak)
References
Details
MathML 3 allows to set href attribute on any element, but this is not an XLink nor namespaces. We support XLinks but not these direct attributes, we never did.
| Assignee | ||
Updated•14 years ago
|
Summary: ContentAreaClick doesn't hangle MathML 3 links with just the href attribute → ContentAreaClick doesn't handle MathML 3 links with just the href attribute
| Assignee | ||
Comment 1•14 years ago
|
||
A couple tests to add:
<math id="mathhref" xmlns="http://www.w3.org/1998/Math/MathML" href="http://mochi.test/moz/"><mtext>MathML href</mtext></math>
<math id="mathhref" xmlns="http://www.w3.org/1998/Math/MathML"><mtext href="http://mochi.test/moz/">MathML href</mtext></math>
Updated•14 years ago
|
Blocks: mathml-href
Comment 2•14 years ago
|
||
Actually, we do have some support for the MathML3 href now, the only thing missing is the menu items when you right click on a link.
See bug 534968 comment 4
| Assignee | ||
Comment 3•14 years ago
|
||
yep, I know, but browser does not, yet.
Comment 4•14 years ago
|
||
(In reply to comment #3)
> yep, I know, but browser does not, yet.
But the point is that there is a pending patch on bug 534968 that fixes both the ctrl-click and the right click context menu issues. It has bit-rotted a bit, but Fred has an updated version in his patch queue at https://raw.github.com/fred-wang/MozillaCentralPatches/master/mathml-href.diff
It might not be the ideal solution, but it does work, so should be a good point of reference to look at for the patch you are trying to develop here.
Comment 5•14 years ago
|
||
Oh and i do have Linux and windows builds including Fred's patch available at http://www.wg9s.com/mozilla/firefox/
| Assignee | ||
Comment 6•14 years ago
|
||
oh cool, I'm going to dupe this there, and will provide the tests!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 7•14 years ago
|
||
fwiw, my patch was pretty much similar (Apart that I used isDefaultNamespace), so no reason to conflict :)
You need to log in
before you can comment on or make changes to this bug.
Description
•