BZ1167360: IE10: enumeration editor - ENTER removes first enum line

(cherry picked from commit 9eab5552de9aab21c58dfb4f1bb9850f0d83a788)