--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHXv1wnvY6j7HKpz4HXR8CayfbCF-_r9ZJFcS95rkjvvz4mNrA%40mail.gmail.com.
LGTM1. Have y'all thought about how you would determine breakages? Perhaps identify a class of bugs that would be reported and watch for them?:DG<
On Wed, Aug 9, 2017 at 7:25 AM Dave Tapuska <dtap...@chromium.org> wrote:
Highlight of current issues and proposals Mouse events (mouseenter/leave/out/over) are not sent when the node under the mouse changes during layout. This then represents an incorrect state in that the hover state of where the mouse actually doesn't match the current hover state of the document. To fix a variety of issues we will start dispatching mouse transitional events and update the hover state shortly after layout has been executed. This will match Firefox behavior. The current implementation causes an illogical representation of the world. After a layout the mouse may be over a different node but it still maintains the hover status of when the mouse last move. The next immediate mouse move will cause the hover state to be updated.We are proposing to update this state shortly after a layout. It will use the same machinery that is used to update the hover position after a scrolling event.Firefox: Shipped Edge: No public signals Safari: No public signals Web developers: No signals Minor compatibility risk. Currently Firefox generates these events after layout and in Chrome the events would have been generated after the first mouse move after the layout. So all we really are is changing the timing of the events.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHXv1wnvY6j7HKpz4HXR8CayfbCF-_r9ZJFcS95rkjvvz4mNrA%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOtFfx45jXeha5psBOBZK9hCWHTmY7JLgomp9G9dqEaPvL%2BdxA%40mail.gmail.com.
I find that input bugs tend to get routed quite correctly and per revision bisects are awesome. We will certainly watch for breakage reports but we have had this on as an experimental feature for about a month now and we haven't received any reports yet.I debated whether this feature required an intent to ship or not as it really is plumbing underneath. But I'm erring on the side of caution to communicate this change with a wider community as a we've had a number of people looking for these fixes.dave.On Wed, Aug 9, 2017 at 11:51 AM, Dimitri Glazkov <dgla...@chromium.org> wrote:
LGTM1. Have y'all thought about how you would determine breakages? Perhaps identify a class of bugs that would be reported and watch for them?:DG<
On Wed, Aug 9, 2017 at 7:25 AM Dave Tapuska <dtap...@chromium.org> wrote:
Highlight of current issues and proposals Mouse events (mouseenter/leave/out/over) are not sent when the node under the mouse changes during layout. This then represents an incorrect state in that the hover state of where the mouse actually doesn't match the current hover state of the document. To fix a variety of issues we will start dispatching mouse transitional events and update the hover state shortly after layout has been executed. This will match Firefox behavior. The current implementation causes an illogical representation of the world. After a layout the mouse may be over a different node but it still maintains the hover status of when the mouse last move. The next immediate mouse move will cause the hover state to be updated.We are proposing to update this state shortly after a layout. It will use the same machinery that is used to update the hover position after a scrolling event.Firefox: Shipped Edge: No public signals Safari: No public signals Web developers: No signals Minor compatibility risk. Currently Firefox generates these events after layout and in Chrome the events would have been generated after the first mouse move after the layout. So all we really are is changing the timing of the events.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHXv1wnvY6j7HKpz4HXR8CayfbCF-_r9ZJFcS95rkjvvz4mNrA%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+...@chromium.org.
SGTM.
On Wed, Aug 9, 2017 at 8:59 AM Dave Tapuska <dtap...@chromium.org> wrote:
I find that input bugs tend to get routed quite correctly and per revision bisects are awesome. We will certainly watch for breakage reports but we have had this on as an experimental feature for about a month now and we haven't received any reports yet.I debated whether this feature required an intent to ship or not as it really is plumbing underneath. But I'm erring on the side of caution to communicate this change with a wider community as a we've had a number of people looking for these fixes.dave.On Wed, Aug 9, 2017 at 11:51 AM, Dimitri Glazkov <dgla...@chromium.org> wrote:
LGTM1. Have y'all thought about how you would determine breakages? Perhaps identify a class of bugs that would be reported and watch for them?:DG<
On Wed, Aug 9, 2017 at 7:25 AM Dave Tapuska <dtap...@chromium.org> wrote:
Highlight of current issues and proposals Mouse events (mouseenter/leave/out/over) are not sent when the node under the mouse changes during layout. This then represents an incorrect state in that the hover state of where the mouse actually doesn't match the current hover state of the document. To fix a variety of issues we will start dispatching mouse transitional events and update the hover state shortly after layout has been executed. This will match Firefox behavior. The current implementation causes an illogical representation of the world. After a layout the mouse may be over a different node but it still maintains the hover status of when the mouse last move. The next immediate mouse move will cause the hover state to be updated.We are proposing to update this state shortly after a layout. It will use the same machinery that is used to update the hover position after a scrolling event.Firefox: Shipped Edge: No public signals Safari: No public signals Web developers: No signals Minor compatibility risk. Currently Firefox generates these events after layout and in Chrome the events would have been generated after the first mouse move after the layout. So all we really are is changing the timing of the events.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHXv1wnvY6j7HKpz4HXR8CayfbCF-_r9ZJFcS95rkjvvz4mNrA%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOtFfx45jXeha5psBOBZK9hCWHTmY7JLgomp9G9dqEaPvL%2BdxA%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOtFfx4mkyqa7h5s-wH%3DLEX1eOgaF0-cgfc4311Rq5H0fpnjBg%40mail.gmail.com.
a) There are some layout tests that I can move over to web platform tests
b) The lifecycle of events is largely unspecified in any spec though.Would it make sense to add it to the event loop explainer? The problem with doing it part of the eventloop explainer is that we do it after a timeout (20ms). For example this code exists in shipping Chrome but only executes if the hovered node was removed. Now we are essentially doing it all the time.
On Thu, Aug 10, 2017 at 2:18 PM, Dave Tapuska <dtap...@chromium.org> wrote:a) There are some layout tests that I can move over to web platform testsThat would be great, thanks.b) The lifecycle of events is largely unspecified in any spec though.Would it make sense to add it to the event loop explainer? The problem with doing it part of the eventloop explainer is that we do it after a timeout (20ms). For example this code exists in shipping Chrome but only executes if the hovered node was removed. Now we are essentially doing it all the time.Naively I would say yes it does make sense to put it there. Rather than a 20ms timeout, specify it happens in a subsequent async task?
--
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYeX0baRwzwyS4255022BYkemKWgGsmLkM221j60fpUxVw%40mail.gmail.com.
What is good is that our implementation actually matches firefox relatively closely. We both synthesize mousemove events in these cases now (but don't actually fire the mousemove to the DOM). In case of scroll events, Firefox uses a 100ms timer and then attaches the synthetic mousemove to the next refresh activity (I believe this is vsync). In the case of layouts the synthetic mousemove is attached to the next refresh activity.In Chrome's implementation the event is fired after scroll with 100ms delay, and after a layout 20ms. We will in the future align these to use the rAF signal because it will be more optimal. However this change is just building on machinery we've had in Chrome for quite some time.I've proposed some modification to the spec here:https://github.com/w3c/uievents/pull/155We do have a layout test for this that I can convert to a test in the uievents WPT test directory. I can move this test in the same CL when enabling by default.Do you require it to be merged into the spec in order for this intent-to-ship to be approved? Because I believe the editor is OOO this week and I'd like to get this in before Friday before the feature freeze.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfUeWdCA%2B2uaH%2BNhqmOUz-3_D3fob96y9iUay5OQnBfHA%40mail.gmail.com.