Giter Site home page Giter Site logo

Comments (29)

annevk avatar annevk commented on June 27, 2024

That sentence is almost certainly wrong.

from input-events.

annevk avatar annevk commented on June 27, 2024

We don't want the timing of mutation events for any new events.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@annevk: What is your alternative proposal?
@garykac: I wonder if we actually need any sentence here? Given that the order of the events is in the UI Events spec, and this sentence also is there, we should likely not have anything here.

from input-events.

annevk avatar annevk commented on June 27, 2024

I don't know. But this is wrong. They need to come from their own task or maybe microtask. Definitely not dispatched with the mutation.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@annevk: Would you agree that this prose text should be in the spec where the event order is defined? If yes, I think this sentence should be deleted entirely here and the new model for how to describe when such events should be fired should go into the UI events spec.

from input-events.

annevk avatar annevk commented on June 27, 2024

This prose should be in the specification that defines the action that causes the event to be dispatched. (UI events is rather bad in that it doesn't actually define actions, it just defines some events, some ordering between them, but nothing that amounts to a model.)

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

Well the exact "action" is undefined for now as this will be user agent specific.

The UI Events spec says something about the order of events if the action happens to involve keyboard clicks. For other actions (drag/drop, etc. ) this still needs to be added to other specs.

So yes, maybe this should be here. But then it shouldn't additionally have a contradictory descrption in UI events. Or what do you think, @garykac?

from input-events.

annevk avatar annevk commented on June 27, 2024

Well the exact "action" is undefined for now as this will be user agent specific.

You will need to say something about it as otherwise you have nothing to queue a task from from which you can dispatch events and such.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

Closing as it was determined that these events cannot be reformulated in terms of task/microtasks, https://www.w3.org/2016/09/22-webapps-minutes.html#item14

from input-events.

domenic avatar domenic commented on June 27, 2024

That discussion did not contain anything that resolves this issue. Just because you can't use microtasks, that doesn't solve the problem that when these events are fired is not well-defined. This should be left open.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@domenic: right, but that discussion is to be taken in ui-events. Are you ok with that and can we close this?

from input-events.

annevk avatar annevk commented on June 27, 2024

If you still plan on defining the event in some form, it seems like UI events needs to provide you with a hook that you'd use to fix this issue, no?

from input-events.

domenic avatar domenic commented on June 27, 2024

No, I think it's important to have a tracking issue on what's wrong with this spec, since it is a separate spec from UI events.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

This point was discussed at the F2F and this seems to have been the conclusion. Do we need to put this on the schedule of another F2F? If so,could you please deliver more concrete input as what you want us to do with this spec on this point, @domenic?

from input-events.

domenic avatar domenic commented on June 27, 2024

I don't think F2F discussions are what's needed here. What's needed is actually fixing the model. Maybe that needs support from UI events, in which case this issue will remain open until UI events gets fixed and that support is in place. Or maybe it can be fixed independently---I am hopeful that since this spec is smaller, it can stand independently with its own smaller model. But regardless, this issue should remain open, not until more discussions are had, but until more work is done.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@domenic the event order and the entire discussion around that isin ui events, not here. This spec only defines some extra attributes on an event defined in ui events.

from input-events.

domenic avatar domenic commented on June 27, 2024

OK, if this spec has no intention of standing alone, then this issue needs to remain open until UI events provides the appropriate framework to fix the issue.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

Ok. I think there is some comfusion here. This spec is merely an extension on ui events explaining a few attributes of this event which is specced in ui events. This division is something three browsers came up with in January. Event order, etc. should not be here.

Or maybe I don't get what you are proposing. In that case, could you reformulate it as a concrete proposal so that we can agree on a resolution saying whether or not we want to do this (btw, I am planning on deleting the sentence in question here as it's a duplication from ui events, let me know if you are not ok with this).

from input-events.

annevk avatar annevk commented on June 27, 2024

Even if you only add some attributes, you still need to initialize those attributes before the event is dispatched. So that requires participation in an algorithm that UI events may or may not define at some point in the future. Either through some kind of hook, or through UI events taking over this space. Either way, I agree with @domenic that you cannot really resolve this without the larger issue being addressed.

from input-events.

domenic avatar domenic commented on June 27, 2024

I am proposing that this spec have an issue list that accurately reflects the problems with it, that make it impossible to faithfully implement. My concrete proposal is that this issue is left open until it becomes implementable in a compatible way across browsers. I understand from you that this will depend on work in UI events. That is fine.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

Ok, but can we move the issue to ui-events?

from input-events.

domenic avatar domenic commented on June 27, 2024

No! It is important to have an issue on this repository which reflects the outstanding issues with the spec! I am having a hard time understanding how I can make this clearer.

Having zero issues is not a virtue, if your spec is not actually implementable. It seems you are more concerned with the issue count reaching zero than with ensuring that the issue count accurately reflects the status of the spec.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@domenic: ok, but concretely, what sentences in this spec should be changed or what should be added or deleted, considering that the sentenve this issue was originallyabout only was here by mistake and the original really is in ui-events.

from input-events.

domenic avatar domenic commented on June 27, 2024

but concretely, what sentences in this spec should be changed or what should be added or deleted

From what you've said, it sounds like this issue will not be solvable by changing sentences in this spec, or at least, that's the direction the WG has chosen to go. That's fine. The spec still has an open issue that needs to be reflected in the issues list, even if that issue cannot be solved by changing sentences in this spec.

from input-events.

annevk avatar annevk commented on June 27, 2024

As I pointed out in #9 (comment), you likely do need to change this specification once UI events has figured out a model (or alternatively this specification becomes obsolete).

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

Ok. I don't get what you guys are saying nor do I see a concrete proposal here. So we keep it open and then you can present at the next F2F or other meeting of editing taskforce or ui events meeting what it is you are proposing for us to do.

from input-events.

annevk avatar annevk commented on June 27, 2024

https://lists.w3.org/Archives/Public/www-dom/2014JanMar/0064.html is a basic description of the problem. It requires adjustments to UI events (to start defining actions), but it also requires adjustments here (to take the input from those actions and translate to the correct attribute values). So you can't just move it, since it affects both specifications. There's no processing model that ties everything together.

from input-events.

johanneswilm avatar johanneswilm commented on June 27, 2024

@annevk Ok, how about opening an issue at ui-events additionally (if this hasn't been done yet), and then linking the two issues together? That way we can more easily track here if those changes in ui events have taken place, which would mean that we can start working on this here.

Also, how about closing this issue and replacing it with a new issue on this that is more specifically addressing what you mention. Otherwise new readers have to wade through a lot of initial comments that no longer seem relevant.

In the meantime I will add the tag "future" to signal that this is something that depends on other things to happen in other places and isn't something that will be fixed in the very near-term. Hope you guys are ok with that.

from input-events.

annevk avatar annevk commented on June 27, 2024

w3c/uievents#23 is that issue.

from input-events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.