-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate innerText #465
Comments
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 |
Are there web-platform-tests? |
@rocallahan are you interested in upstreaming the innerText spec? |
Note that roc is no longer paid to work on the web platform. |
I'm interested in something else upstreaming it :-). |
From https://rocallahan.github.io/innerText-spec/ with no normative changes except adding [CEReactions] to the IDL. Fixes #465.
From https://rocallahan.github.io/innerText-spec/ with the following normative changes: * Defined behavior for non-CSS UAs. * The setter is better defined. * Added [CEReactions, TreatNullAs=EmptyString] to the IDL. Fixes #465. Remaining issues: #1679
From https://rocallahan.github.io/innerText-spec/ with the following normative changes: * Defined behavior for non-CSS UAs. * The setter is better defined. * Added [CEReactions, TreatNullAs=EmptyString] to the IDL. Fixes whatwg#465. Remaining issues: whatwg#1679
From https://rocallahan.github.io/innerText-spec/
The text was updated successfully, but these errors were encountered: