Closed Bug 5052 Opened 26 years ago Closed 26 years ago

[PP]problems with text selection when position:absolute is used

Categories

(Core :: DOM: Selection, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cpratt, Assigned: mjudge)

References

()

Details

if you look at http://schist/marmot1.html, you see the following html: <div id="Layer2" style="position:absolute; width:622px; height:463px; z-index:2; left: 45px; top: 65px"> <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000">Lots of text here...</font></p> </div> if you leave the position:absolute in the document, attempt to select text do some very strange things: * as you select text the document scrolls up and down, jumping around * if you select some text and then scroll the document by clicking in the part of the scrollbar the thumb is not currently occupying, moving the mouse back to the left will scroll the document back to where it was before
Summary: problems with text selection when position:absolute is used → [PP]problems with text selection when position:absolute is used
this appears to be busted on linux and windows, but not on mac os. the linux bustage is more severe.
actually, the position:absolute problem is limited to things jumping around while you try to select text using the mouse. the other problem is more general and a separate bug has been opened for that problem.
Assignee: peterl → mjudge
Component: Style System → Selection and Search
Status: NEW → ASSIGNED
will look into it thanks
Target Milestone: M7
most of this works now. there is some issue with the scrolling jumping initially and i think it has to do with scroll from into view call inside the pres shell. I will keep this as a reminder of that, but the horrible jerking should be fixed now.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
it seems fixed in todays build marking it fixed. I DID check in a fix to some scrolling wierdness to todays build so hold off until friday at least to check this to be sure.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I'm still seeing problems with scrolling using the 1999061409 build under NT. In order to get the problems to show up, try dragging the thumb down in the window, and THEN select some text. It should flick back up.
QA Contact: chrisd → claudius
THIS bug is for the position:absolute thing right? The thumb scrolling is a) a different issue and b) already exists as a bug elsewhere. ...much, much, much, later... THAT other bug is bug 5055 , I think that's where you want to track the scrolling issue
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
"actually, the position:absolute problem is limited to things jumping around while you try to select text using the mouse" - perhaps I should read my own comments? This is in fact fixed.
Per a request from Selection and Search component eng (mjudge) and qa (elig), moving all "Selection and Search" bugs to new "Selection" component. Original "Selection and Search" component will be retired.
You need to log in before you can comment on or make changes to this bug.