- From: Johannes Wilm <notifications@github.com>
- Date: Sun, 07 Dec 2014 04:00:47 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
Received on Sunday, 7 December 2014 12:01:24 UTC
I wonder whether it would be easier to stay consistent if empty SVGs and empty cE=false as well as invisible elements were treated the same as single characters as it's hard to know when they are really empty. But I am not a browser developer. Maybe it's easy for them to distinguish.
Imagine for example this case (using webkit css version of cE):
```
<html>
<head>
<style>
.editor {
-webkit-user-modify: read-write;
}
.interrupter {
-webkit-user-modify: read-only;
display: inline-block;
width: 10px;
height: 10px;
background-color: blue;
}
</style>
</head>
<body>
<div class="editor">
Some text <span class="interrupter"></span>.
</div>.
</body>
</html>
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/27#issuecomment-65935102
Received on Sunday, 7 December 2014 12:01:24 UTC