Re: [editing-explainer] replaceText input event could span multiple Typing Nodes (#50)

Going a bit further with this. None of this has any influence on Safari's evaluation that MexicoMaus clearly is one word. Chrome is not much better, but at least it doesn't try to replace the two words together:

```
<html>
<head>
  <style>
    .citation {
      background-color: #9dbc7d;
      border: 1px solid black;
      padding-left: 5px;
      padding-right: 5px;
      margin-right: 5px;
      margin-left: 5px;
      display: inline-block;
      position: absolute;
      top: 5px;
    }
    .citation::before {
      content: ' (';
    }
    .citation::after {
      content: ')';
    }
  </style>
</head>
<body>
<h1>The headline</h1>
<div contentEditable=true>
  The question came from New Mexico<span class="citation">Maus 1998</span>.
</div>
<div>
  <h2>Citations</h2>
  <p>Maus, Meier. 1998: "The Road is long, the wind is fast." Pillmond Publishers, Boston.</p>
</div>
</body>
</html>
```

![mexico-maus-2-safari](https://cloud.githubusercontent.com/assets/595512/7803532/2e154f86-0320-11e5-870e-18619b667e0f.png)


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

Received on Tuesday, 26 May 2015 00:54:39 UTC