Closed Bug 671235 Opened 13 years ago Closed 13 years ago

Anchors in XHTML are not working in FF5

Categories

(Firefox :: General, defect)

5 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: myownmaster, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.10 (maverick) Firefox/3.6.18
Build ID: 20110628230543

Steps to reproduce:

Visiting a site in XHTML(created in OLAT to be precise), using FF5 under Windows XP SP3, and clicking a link which has an anchor as target.


Actual results:

Nothing.
The click was ignored.


Expected results:

The browser should've jumped to the bottom/top of the page.
Does the issue still occur if you start Firefox in Safe Mode?
https://support.mozilla.com/en-US/kb/Safe+Mode

Do you have a testcase or an URL where the problems is visible?
OS: Other → Windows XP
Hardware: All → x86
Unfortunatly I have no testcase, trying to provide a simple XHTML-Code to illustrate my problem, showed me that it works outside of OLAT.

I can not give you a link to our OLAT-Instance,since I doubt my boss will approve of it.
So I think the problem manifests with the anchor but is not caused by it.
Since OLAT inserts a lot of elements it will be a tedious  task to figure out which element-s/-combination  triggered it.

Following Code will yield the problem though.
CODE BEGIN
--------------------------------

<p><a href="#top">Back to top</a></p>
<ul>
<li>Part 1 XHTML MP Introduction</li>
<li>Part 2 Development of Wireless Markup Languages</li>
<li>Part 3 Advantages of XHTML MP</li>
<li>Part 4 WML Features Lost in XHTML MP</li>
</ul>
<p><br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2</p>
<p><br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2</p>
<p><br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2</p>
<p><br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2<br /> <br />2</p>
<p><a id="top">Table of Contents:</a></p>
----------------------------
CODE END

Anchor target and reference are interchangable, problem will still hold.

Ways to create Problem using OLAT(Version 7.x)
Create a new Course
Create HTML-File.
Open file with editor.
Click on HTML-View.
parse code into editor,sage and close, publish,exit editor, try out if anchor is working.
This bug is incomplete. We can reopen if we have a working testcase attached or online.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.