Closed
Bug 9951
Opened 25 years ago
Closed 25 years ago
Clicking on a named anchor does not scroll horizontally
Categories
(Core Graveyard :: Embedding: APIs, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M9
People
(Reporter: nisheeth_mozilla, Assigned: troy)
References
()
Details
Assigning this to myself for M9...
Reporter | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M9
Reporter | ||
Comment 1•25 years ago
|
||
Ccing troy and setting target milestone to M9... The problem is that when a named anchor target is located offscreen to the right, we go to the right vertical position but do not scroll horizontally. So, the target does not end up scrolling into the viewable region.
Reporter | ||
Updated•25 years ago
|
Summary: Clicking on a named anchor does not scroll horizontally → [Webshell] Clicking on a named anchor does not scroll horizontally
Reporter | ||
Comment 2•25 years ago
|
||
It seems like we need to change the way nsPresShell::ScrollFrameIntoView works. It always defaults the x coordinate to 0 in its call to the ScrollTo() method. But, the fix is not as simple as using "offset.x" for the x coordinate all the time because we only want to scroll horizontally when the target frame is not visible.
Yes, that's the kind of fix we need. Feel free to assign it to me if you want
Reporter | ||
Updated•25 years ago
|
Assignee: nisheeth → troy
Status: ASSIGNED → NEW
Summary: [Webshell] Clicking on a named anchor does not scroll horizontally → Clicking on a named anchor does not scroll horizontally
Reporter | ||
Comment 4•25 years ago
|
||
Reassigning to Troy and putting myself on the cc list.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•25 years ago
|
||
Using 8/5 Apprunner, verifying bug fixed - this was an offshoot of bug #3152 which I was assigned QA.
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•