The 'beforeinput' event fires when the value of an <input>, <textarea>, or contenteditable element is about to be modified. Add an 'onbeforeinput' global content attribute to make it easier for developers to use.
This is shipped in both WebKit and Gecko, and the spec has landed. The only interop risk is thus Chromium *not* shipping it. It is the addition of a new content attribute starting with "on", so compat issues should be negligible.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
Content attributes can be seen in devtools.
No milestones specified
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
H Mason,
Do you have any patch pending to update wpt/interfaces/html.idl?
This is used in some generic tests for global event handlers e.g.
html/webappapis/scripting/events/event-handler-all-global-events.html
mathml/relations/html5-tree/math-global-event-handlers.tentative.html
-- Frédéric Wang
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDhHadE97vZtPrAEo6dt_YJbXv3Oq%2BHMHe4eHQp7Lc_Zug%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/62382594-e621-9a51-521d-694fbbbd9a78%40chromium.org.
On 07/07/2022 22:17, Mason Freed wrote:
H Mason,
Do you have any patch pending to update wpt/interfaces/html.idl?
On Thursday, July 7, 2022 at 6:58:53 PM UTC-7 fw...@igalia.com wrote:On 07/07/2022 22:17, Mason Freed wrote:
H Mason,
Do you have any patch pending to update wpt/interfaces/html.idl?
Thanks for the question. My understanding of html.idl (see the top of the file) is that it gets autogenerated based on landed specs. And I would have thought that since the spec now contains `beforeinput` in this section, that would be enough. However, since that landed about a month ago, seems like not. Let me know if you know the proper way to kick webref to do this, and I'm happy to do it.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2e4dafbd-3438-464e-8874-407e0b9651d7n%40chromium.org.
On Friday, July 8, 2022 at 9:25:25 AM UTC-7 Mason Freed wrote:
On Thursday, July 7, 2022 at 6:58:53 PM UTC-7 fw...@igalia.com wrote:
On 07/07/2022 22:17, Mason Freed wrote:
H Mason,
Do you have any patch pending to update wpt/interfaces/html.idl?
Thanks for the question. My understanding of html.idl (see the top of the file) is that it gets autogenerated based on landed specs. And I would have thought that since the spec now contains `beforeinput` in this section, that would be enough. However, since that landed about a month ago, seems like not. Let me know if you know the proper way to kick webref to do this, and I'm happy to do it.
Thanks to jarhar@ I found the answer to this question. Turns out there's something broken on that system, so no changes have landed for just over a month. Here's the latest PR which does include `beforeinput`. So seems like we just need a wait a bit for that to get resolved.
Thank you for checking Mason. I indeed was vaguely remembering that update was more-or-less automatic, great that you detected the issue.
-- Frédéric Wang