Spec'ing innerText (Was Re: [Editing] Splitting Selection API Into a Separate Specification)

On Apr 11, 2014, at 7:09 AM, Domenic Denicola <domenic@domenicdenicola.com> wrote:

> From: Ryosuke Niwa [mailto:rniwa@apple.com] 
>> Given defining innerText is completely outside the scope of the selection API specification, we might need to defer this part to a level 2 specification since the only alternative is to wait for someone to write a innerText spec.
> I don't know all the history here, but this bug and proto-spec seems relevant:
> - https://www.w3.org/Bugs/Public/show_bug.cgi?id=13145
> - https://web.archive.org/web/20121127212525/http://aryeh.name/spec/innertext/innertext.html
> The work already done on this might make including innerText-dependent features more feasible.

Thanks for the pointer.

Unfortunately, we might need to take a slightly different approach more based on the CSS box tree because whitespace collapsing, etc... are defined in CSS2.1 and CSS level 3 specifications.

- R. Niwa

Received on Friday, 11 April 2014 18:06:00 UTC