Re: [w3c/selection-api] Add Selection/Range methods based on anchestor element (#102)

> Character count should mimic the behaviour of the `Element.innerText` property, i.e. considering `<br/>` elements, `<p>` elements and block elements following inline elements as new-line characters (= `\n`).

Does this mean that the interpretation of the offset could change based on the computed styles of some of the elements in the range (e.g. if elements are inline or block)?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/102#issuecomment-468485700

Received on Thursday, 28 February 2019 23:48:12 UTC