When I use this CSS code to style the first letter of my text, something strange happens in Chrome:
main p::first-letter { font-size: 300%; }
<main> <p> This is some sample text </p> </main>
When I now, for example, highlight the word "is", the letters "pl" of the word "sample" are highlighted instead. You can check it out here: jsfiddle
To make this clearer, here's what happens:

As you can see, the selected text is in the wrong place.
Is this my mistake or is it a bug in Chrome? How to fix it?
source share