User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
When an designmode field is still empty when you enter by clicking the mouse in
it, you don't see a cursor. The cursor will appear only after you start typing
Steps to Reproduce:
1. visit the site,
2. click 'view source'
3. delete everything
4. unclick 'view source' (remove check)
5. click with mouse in textfield
You don't see a focus or an blinking cursor. Or any cursor what so ever...
In a normal textfield or textarea, when you it gets the focus, you see a
Problem happens under Windows XP, but also under MacOSX (Tiger), with using
Firefox 1.5 beta 1 or Camino 1.0a1.
WFM, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908
Firefox/1.4 ID:2005090806 However, the cursor is very very small, making it hard
to see, still a bug, but not the same as decribed.
No it's not visible. That other one is when there is text, and you move the
cursor totally to the beginning, then I see a very small cursor.
Both are bugs I think that should be finished!
See this as well with 20050916 branch build
Reproducible (no cursor) with SeaMonkey/20050904/1.1a, I see a very small cursor
Oops, now I also see the very small cursor with SeaMonkey/20050904/1.1a so my
comment 4 is incorrect, sorry.
The DesignMode has been a big improvement in the 1.5beta2 over the 1.0.6 version
of firefox, but this small or invisible cursor is really something that should
get quickly fixed, to make it a perfect designmode....
Same on trunk/win xp --> trunk
The cursor is also invisible when a text-area or design mode is used above a transparent layer (see bug 343240).
Afaik it was fixed in 1.5 but is still not fixed in 2.0.
When will this be fixed? (please?)
This now works for me [Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a9pre) Gecko/2007102510 Minefield/3.0a9pre].
Under latest night build 3.0a9pre (1.Nov) it is visible. But it's very small...
Same when in there is text, and you go to the last line, it sometimes is small too. Still same behaviour as in 188.8.131.52.
Reopening per comment 10.
Oh I see, the problem is that when you delete everything in view source mode, there's *nothing* left in the iframe. When we draw the caret in an empty iframe, the caret is offset vertically, that's why we always add a <br> tag to an empty iframe.
We need to either:
1. Fix the caret drawing/positioning code when it's drawn in an *empty* iframe document.
2. Add a <br> to the iframe when all its content is deleted.
Created attachment 381760 [details]
*** Bug 395965 has been marked as a duplicate of this bug. ***
Created attachment 381763 [details] [diff] [review]
This caused bug 503531