Closed Bug 270349 Opened 20 years ago Closed 20 years ago

Link to div's id acts crazy

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 258514

People

(Reporter: sadiklis, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Let's say we have a web page like this:

<a href="#history">History</a>
Plenty of content here...
<div id="history">
    ...and here.
    <a href="address">Enclosed link</a>
</div>

When History link is clicked, the browser scrolls all the way down to the
enclosed link (it gets focused), instead of just scrolling to the beginning of
the content in the div.

If the enclosed link is removed - everything works as expected.

Go to the specified URL to see this annoyance in action.


Reproducible: Always
Steps to Reproduce:
Reproduced with AVIARY build, worksforme with trunk build.
see bug 217366.

*** This bug has been marked as a duplicate of 217366 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
reopening.  duping this bug to an open bug didn't make sense, since it's fixed
in the trunk--or else I'd have done it myself :-)
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---

*** This bug has been marked as a duplicate of 258514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Component: General → Layout
Product: Firefox → Browser
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.