Re: [editing] Legal caret positions – invisible text nodes (#75)

> There was a long discussion about invisible nodes. First I defined them as display:none. Then someone came along and said the fomulation should be more vague ("invisible") so it could cover other nodes as well. Now the recent most request is to define invisible as equal to display:none and handle all other cases of "invisibility" in JS.

I know – I saw the discussion. If it's OK to say that text nodes are elements, then the definition of invisible elements would be incomplete (as it'd say nothing about text nodes). Therefore, I think that it could be better to cover text nodes and elements separately. I think that browser people would need to make a decision which way is better. Based on that I could try to polish the legal caret positions section. E.g. I also noticed that it may be unclear how `<br>` elements are understood (there's that special case with `<br>` at the end of block or before a block).

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

Received on Saturday, 22 August 2015 16:43:38 UTC