Opened 11 years ago
Last modified 11 years ago
#10812 closed Bug
Range#createBookmark2 incorrectly normalize offsets when element is selected — at Version 2
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.2.2 |
Component: | General | Version: | 4.2.1 |
Keywords: | Cc: |
Description (last modified by )
Unit test can be found in t/10812.
Manual TCs:
TC1 (IE and sometimes FF)
- Load this HTML:
<h1>Apollo 11<img alt="Saturn V carrying Apollo 11" src="assets/sample.jpg" /></h1>
- Select image and press align right.
- Undo.
- Expected: image is selected after undoing (although selection may differ visually from the old one)
- Actual: selection is lost.
TC2 (all browsers)
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td>a</td> <td>b</td> </tr> <tr> <td>c</td> <td>d</td> </tr> </tbody> </table>
- Load the above HTML.
- Select table (using elements path).
- Apply bold.
- Try to undo.
- Expected: entire table is selected after undoing.
- Actual: selection is lost.
Change History (2)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Version: | → 4.2.1 (GitHub - master) |
Pushed t/10812 with a test.