Open that page, select some text inside the bold contenteditable area, and start typing. Nothing happens.
The expected behavior is of course that the selected text would be replaced by the new input.
Can you provide a url?
I see a strange error in description.
(In reply to comment #1)
> Can you provide a url?
> I see a strange error in description.
That was the URL. I ran it through my URL shortener for your convenience: http://mths.be/bbg
WFM on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110630 Firefox/7.0a1
If I select only the text (blue color) works fine, but if i select also the margins of the text field, it doesn't work(still blue color).
If I select the hole text field, also with the margins (grey color), doesn't work but i dont't think it should.
Created attachment 546300 [details]
Additional test case
Additional test case attached.
This only seems to occur if element is focused after the selection is made.
This might be an interesting bug for you, I think.
Looking into it. Note that this bug doesn't occur on block-level elements: replace the <span> with a <p> and everything works as expected.
(In reply to comment #4)
> This only seems to occur if element is focused after the selection is made.
Created attachment 547841 [details] [diff] [review]
Comment on attachment 547841 [details] [diff] [review]
r=me. Can you please also file a followup bug for the issue with pressing Enter in the contenteditable span? We need both these bugs fixed in Firefox 8.
Sure! I have proposed a patch for that in bug 460740.
Note that the changeset has been pushed with the wrong commit message, it points to a not-yet existing bug, plus this bug is unconfirmed but has a patch that has also been pushed? Ok, enough for today :) please pay attention in future.
Sorry for the wrong bug number, I’ll be extra careful for the next ones.