Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-11 Thread Frédéric Wang

On 08/07/2022 18:28, Mason Freed wrote:



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:



Is this feature fully tested by web-platform-tests

?

Yes


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

--
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/37c37389-00af-9814-fa30-892eb5f993d7%40igalia.com.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-11 Thread 'Mason Freed' via blink-dev
Thank you all!

On Monday, July 11, 2022 at 5:12:27 AM UTC-7 mk...@chromium.org wrote:

> LGTM3.
>
> +Daniel Vogelheim to make sure any implications for Trusted Types and/or 
> the Sanitizer API are taken care of.
>
> -mike
>
>
> On Fri, Jul 8, 2022 at 6:28 PM Mason Freed  wrote:
>
>>
>>
>> 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:


 Is this feature fully tested by web-platform-tests 
 
 ? Yes

 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.
>>  
>>
>>> Thanks,
>>> Mason
>>>
>>>
>>>  
>>>

 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/2e4dafbd-3438-464e-8874-407e0b9651d7n%40chromium.org
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/cb39a0ef-48bc-4a58-97ce-327f6d766f35n%40chromium.org.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-11 Thread Mike West
LGTM3.

+Daniel Vogelheim  to make sure any implications
for Trusted Types and/or the Sanitizer API are taken care of.

-mike


On Fri, Jul 8, 2022 at 6:28 PM Mason Freed  wrote:

>
>
> 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:
>>>
>>>
>>> Is this feature fully tested by web-platform-tests
>>> 
>>> ? Yes
>>>
>>> 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.
>
>
>> Thanks,
>> Mason
>>
>>
>>
>>
>>>
>>> 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+unsubscr...@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
> 
> .
>

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3Dcjz5f_PaYDRW0dEoSB-P0hWPWnuJff2iHR4Mp_pVrysg%40mail.gmail.com.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-08 Thread Mason Freed


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:
>>
>>
>> Is this feature fully tested by web-platform-tests 
>> 
>> ? Yes
>>
>> 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.
 

> Thanks,
> Mason
>
>
>  
>
>>
>> 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+unsubscr...@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.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-08 Thread Mason Freed


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:
>
>
> Is this feature fully tested by web-platform-tests 
> 
> ? Yes
>
> 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,
Mason


 

>
> 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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/73dcfde9-2c9c-4807-9746-3c048ff3f7d1n%40chromium.org.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-08 Thread Yoav Weiss
LGTM2 % an answer to fwang@'s question

On Fri, Jul 8, 2022 at 3:20 PM Mike Taylor  wrote:

> LGTM1.
>
> On 7/7/22 4:17 PM, Mason Freed wrote:
>
> Contact emails mas...@chromium.org
>
> Explainer https://github.com/whatwg/html/pull/7992
>
> Specification https://html.spec.whatwg.org/#handler-onbeforeinput
>
> Summary
>
> The 'beforeinput' event fires when the value of an , , or
> contenteditable element is about to be modified. Add an 'onbeforeinput'
> global content attribute to make it easier for developers to use.
>
>
> Blink component Blink>DOM
> 
>
> Search tags beforeinput
> 
>
> TAG review
>
> TAG review status Not applicable
>
> Risks
>
>
> Interoperability and Compatibility
>
> 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.
>
>
> *Gecko*: Shipped/Shipping (
> https://bugzilla.mozilla.org/show_bug.cgi?id=970802)
>
> *WebKit*: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=163021
> )
>
> *Web developers*: Positive
>
> *Other signals*:
>
> WebView application risks
>
> Does this intent deprecate or change behavior of existing APIs, such that
> it has potentially high risk for Android WebView-based applications?
>
>
> Debuggability
>
> Content attributes can be seen in devtools.
>
>
> Will this feature be supported on all six Blink platforms (Windows, Mac,
> Linux, Chrome OS, Android, and Android WebView)? Yes
>
> Is this feature fully tested by web-platform-tests
> 
> ? Yes
>
> Flag name
>
> Requires code in //chrome? False
>
> Tracking bug https://crbug.com/947408
>
> Estimated milestones
>
> No milestones specified
>
>
> Anticipated spec changes
>
> 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).
>
>
> Link to entry on the Chrome Platform Status
> https://chromestatus.com/feature/6627326972919808
>
> This intent message was generated by Chrome Platform Status
> .
> --
> 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+unsubscr...@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
> 
> .
>
>
> --
> 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+unsubscr...@chromium.org.
> 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
> 
> .
>

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfVdV%2Bd%3DUU9%3D9vgOfah1fjv4tCeqg8zJJZXZMfZ5buQy3w%40mail.gmail.com.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-08 Thread Mike Taylor

LGTM1.

On 7/7/22 4:17 PM, Mason Freed wrote:



Contact emails

mas...@chromium.org


Explainer

https://github.com/whatwg/html/pull/7992


Specification

https://html.spec.whatwg.org/#handler-onbeforeinput


Summary

The 'beforeinput' event fires when the value of an , 
, or contenteditable element is about to be modified. Add an 
'onbeforeinput' global content attribute to make it easier for 
developers to use.




Blink component

Blink>DOM 




Search tags

beforeinput 


TAG review



TAG review status

Not applicable


Risks



Interoperability and Compatibility

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.




/Gecko/: Shipped/Shipping 
(https://bugzilla.mozilla.org/show_bug.cgi?id=970802)


/WebKit/: Shipped/Shipping 
(https://bugs.webkit.org/show_bug.cgi?id=163021)


/Web developers/: Positive

/Other signals/:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such 
that it has potentially high risk for Android WebView-based applications?




Debuggability

Content attributes can be seen in devtools.



Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes


Is this feature fully tested by web-platform-tests

?

Yes


Flag name



Requires code in //chrome?

False


Tracking bug

https://crbug.com/947408


Estimated milestones

No milestones specified



Anticipated spec changes

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).




Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6627326972919808

This intent message was generated by Chrome Platform Status 
.

--
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+unsubscr...@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 
.


--
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+unsubscr...@chromium.org.
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.


Re: [blink-dev] Intent to Ship: Add onbeforeinput global event handler content attribute

2022-07-07 Thread Frédéric Wang

On 07/07/2022 22:17, Mason Freed wrote:



Is this feature fully tested by web-platform-tests

?

Yes


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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/55a342a3-c1cb-6a0e-75a6-309f0c409e02%40igalia.com.