W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

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

From: Ryosuke Niwa <rniwa@apple.com>
Date: Fri, 11 Apr 2014 11:05:30 -0700
Cc: public-webapps <public-webapps@w3.org>, Jonas Sicking <jonas@sicking.cc>, Ted O'Connor <eoconnor@apple.com>, Ehsan Akhgari <ehsan@mozilla.com>, Aryeh Gregor <ayg@aryeh.name>, Yoshifumi Inoue <yosin@chromium.org>, Ben Peters <Ben.Peters@microsoft.com>, Johannes Wilm <johannes@fiduswriter.com>, Arthur Barstow <art.barstow@nokia.com>
Message-id: <8EEB606D-319A-4EA6-8C8D-95C241ABD210@apple.com>
To: Domenic Denicola <domenic@domenicdenicola.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC