Closed
Bug 330471
Opened 19 years ago
Closed 19 years ago
Relatively positioned elements make the Midas caret disappear in scrolled viewport
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: nils, Assigned: mozeditor)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Enabling DesignMode on a HTML document which contains elements with a "position:relative" style causes the caret to disappear under certain conditions. These conditions are:
- There is a distance between the relatively positioned div and the top of the document (e.g. using a margin-top)
- The caret is located in the relatively positioned div
- The user scrolls the document in such a way that the caret gets shifted into an area which was not part of the relatively positioned div at the time the scroll position was at the top of the document
Reproducible: Always
Steps to Reproduce:
1. Go to http://www.applion.de/midastest/ This page contains an iframe in design mode which contains essentially the following html:
<div style="margin:20px;background:silver;position:relative;">bla [...] bla</div>
2. Click into the *first* line of the iframe. The caret appears.
3. Use the scrollbar of the iframe to scroll *slowly* downwards until about the half of the white space above the grey space is scrolled away.
4. You should now see a caret in the first line, that is cropped in the middle. Its upper part has disappeared.
5. Scroll further till the white margin above the grey box is scrolled away.
Actual Results:
The caret has disappeared entierely. Editing is still possible, though.
Expected Results:
The caret should stay visible.
Apparently, the caret is only shown in the area which is occupied by the relatively positioned element when the scroll position is at 0/0.
This bug happens with Firefox 1.5.x and 1.0.x on Linux and on Windows.
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•19 years ago
|
||
No problem anymore with 2006-04-18 trunk build on windows. Testcase is worksforme now. Fixed by bug 287813.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 2•19 years ago
|
||
*** Bug 319566 has been marked as a duplicate of this bug. ***
Comment 3•19 years ago
|
||
Verified FIXED with build 2006-04-25-18 of SeaMonkey trunk on Windows XP.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•