You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I guess one of the reasons I wasn't enthusiastic about progressing this was the lack of multi-vendor interest in the approach specced there (of re-using CSS primitives).
However, we should be pragmatic about this. innerText is definitely part of the web and definitely needs a spec. That one is certainly better than nothing, and is in fact pretty good. IMO we should just incorporate it.
In doing so we should probably add some minor guidance to authors on why this is a bad thing to use and that there are better alternatives. We should also give it a dedicated sentence in the acknowledgments (as is done for other things previously developed elsewhere, like custom elements). And we'll need to make sure the non-normative parts of the text are converted into notes.
We should probably define a somewhat-generic algorithm that the innerText getter delegates to, and then we can update the spec that defines Selection to have Selection.prototype.toString() delegate to that algorithm also.
Activity
domenic commentedon Jul 26, 2016
So I guess one of the reasons I wasn't enthusiastic about progressing this was the lack of multi-vendor interest in the approach specced there (of re-using CSS primitives).
However, we should be pragmatic about this. innerText is definitely part of the web and definitely needs a spec. That one is certainly better than nothing, and is in fact pretty good. IMO we should just incorporate it.
In doing so we should probably add some minor guidance to authors on why this is a bad thing to use and that there are better alternatives. We should also give it a dedicated sentence in the acknowledgments (as is done for other things previously developed elsewhere, like custom elements). And we'll need to make sure the non-normative parts of the text are converted into notes.
We should probably define a somewhat-generic algorithm that the innerText getter delegates to, and then we can update the spec that defines
Selectionto haveSelection.prototype.toString()delegate to that algorithm also.annevk commentedon Jul 27, 2016
Are there web-platform-tests?
Ms2ger commentedon Jul 27, 2016
https://github.com/w3c/web-platform-tests/tree/e078010b4a0dc252fccac8ce7436403d66ff31de/innerText
zcorpan commentedon Aug 15, 2016
@rocallahan are you interested in upstreaming the innerText spec?
Ms2ger commentedon Aug 15, 2016
Note that roc is no longer paid to work on the web platform.
rocallahan commentedon Aug 15, 2016
I'm interested in something else upstreaming it :-).
Upstream the innerText spec
Upstream the innerText spec
Upstream the innerText spec