Comment 152 for bug 584632

Revision history for this message
In , Ehsan-mozilla (ehsan-mozilla) wrote :

I don't think it's reasonable to start traversing the DOM tree every time that we want to perform an editing operation to find the right styles/properties to use. It's a lot of unnecessary work. It should be a lot easier to normalize the selection in a sane way to prevent it from going into places where it would cause bugs like this, such as on a BR node when you click at the end of the line.

If this approach proves to be impossible because of Web compatibility we can always re-evaluate.