Opened 14 years ago
Last modified 14 years ago
#8134 confirmed Bug
[IE8] line selection / following elements issue
Reported by: | Patrick Schmiedel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | 3.0 |
Keywords: | Cc: |
Description
Start with an empty page. Create a heading, a text paragraph, and another heading. Source code should look like this:
<h1>heading</h1>
<p>text</p>
<h1>heading2</h1>
Now select the text paragraph (select the whole line from left to right). Then start typing.
Outcome: The text is replaced, the heading is converted to text and moved next to the cursor
Expected outcome: the text is replaced, the heading below remains a heading (in its own line)
Found in IE8, found to work correctly in FF and IE6. Other browsers not tested.
Change History (1)
comment:1 Changed 14 years ago by
Keywords: | IE8 removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.1 → 3.0 |
First of all this issue reminds me the comment from @fredck about how some browsers let user leave element boundaries and some not - https://dev.ckeditor.com/ticket/7796#comment:4.
Having this comment in mind I have made some additional tests with selecting text using SHIFT+ARROW and have found some inconsistencies.
If you place the cursor at the beginning of the text (text), select all four letters (text) and press the ARROW (still holding SHIFT) one more time you will probably get out of element boundaries. Now if you start typing the results are as follows:
Back to original request still having @fredck comment in mind
When selecting text with mouse, browsers like Firefox, Webkit, Opera and IE9 don’t let cursor from element boundaries (anyway it looks like it) thus when typing new text the result is as used expects it.
In IE8 no matter how hard you try, selecting text with a mouse always ends up leaving element boundaries.
Possible bug no.3 The behavior of IE6 – IE8 should be adjusted to other browsers. But I’m not sure if anything can be done here.