kogmbh/WebODF — pull request #252 by peitschie (2013-12-10 04:05:51+00:00)
Title: Correct selection over bleed when selecting from the first step inside an annotation

Recent redefinitions of OdfUtils.isCharacterElement introduced an issue that caused the selection view to draw the client rect for the annotation wrapper.

Problem was introduced in 6c7b902.

Reproduction steps
1) Open http://ci.kogmbh.com/deploy/WebODF/webodf-ci-b119-g81f5e569/editor/localeditor.html
2) Click at the first cursor position in the first annotation (i.e., Just to the left of the "And it can do...")
3) Press shift+down arrow to extend the selection down a line
4) Observe that a big grey rectangle appears covering the whole distance of the line indicating the annotation anchor