id summary reporter owner description type status priority milestone component version resolution keywords cc 12634 Impossible to place caret in an empty inline style that existed in an empty block Piotrek Koszuliński "1. Open any sample. 2. Clean the contents. 3. Press the bold button and type something. 4. Press enter multiple times. Notice that the bold style is preserved. 5. Start pressing up arrow or clicking in the empty paragraphs. 6. Notice that bold is gone. 7. Check the DOM - strong elements are still there. There are two solutions possible: 1. Put bogus
inside empty inline elements. Then, I think that browsers will place the caret inside empty blocks by themselves. 2. Handle this on keyup and mouseup events. Check whether collapsed selection was placed next to empty inline element in an empty line and fix the selection. BTW. Note that pressing the bold button again after navigating to the empty line will create another strong tag. This is due to #12633." Bug confirmed Normal Core : Selection 3.0 IBM satya_minnekanti@…