Re: [editing] What caret positions do we need to allow? (#51)

> 2. After any inline element that is not a text node.

If we allow this caret location, and cE=typing inserts characters by default on typing that means we have to allow cE=typing to insert DOM text nodes in our content as needed. Is that correct?

Also:
> The caret cannot be placed inside, before or after a `comment node` or a node that has it's display-value set to `none`.

Why can't you place the caret before or after something that is invisible?

` abc<span style="display:none">ghost content</span>def`

With that rule it means I can't place the caret between `c` and `d`.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/51#issuecomment-111739645

Received on Saturday, 13 June 2015 18:50:25 UTC