Also please rename "isCharacterElement" to "isCharacterElementOrInlineRoot" or a better name, now that the semantics is changed.
And while doing so, also fix the API dox, which has been broken before already (copy&paste error it seems).