/irc-logs / w3c / #webapps / 2015-08-24 / end
Options:
Previous day, Next day
- # Session Start: Mon Aug 24 00:00:00 2015
- # Session Ident: #webapps
- # [00:01] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [00:03] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [00:36] * Quits: Florian_ (~Florian@public.cloak) (Client closed connection)
- # [00:36] * Joins: Florian (~Florian@public.cloak)
- # [00:43] * Quits: Florian (~Florian@public.cloak) (Ping timeout: 180 seconds)
- # [00:58] * Joins: Florian (~Florian@public.cloak)
- # [01:38] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [01:38] * Joins: Florian (~Florian@public.cloak)
- # [01:45] * Quits: Florian (~Florian@public.cloak) (Ping timeout: 180 seconds)
- # [02:06] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
- # [02:40] * Joins: jyasskin (~textual@public.cloak)
- # [03:37] * xiaoqian RRSAgent, draft minutes
- # [03:37] <RRSAgent> I have made the request to generate http://www.w3.org/2015/08/24-webapps-minutes.html xiaoqian
- # [04:06] <MikeSmith> meeting seems to have ended sorta abruptly
- # [04:07] <MikeSmith> in medias res
- # [04:46] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [05:56] * Joins: Florian (~Florian@public.cloak)
- # [06:04] * Quits: Florian (~Florian@public.cloak) ("Leaving...")
- # [06:30] * Joins: grisha (~grisha@public.cloak)
- # [06:41] * Quits: grisha (~grisha@public.cloak) (Ping timeout: 180 seconds)
- # [08:14] * heycam|away is now known as heycam
- # [08:34] * Joins: grisha (~grisha@public.cloak)
- # [08:35] * grisha slaps grisha around a bit with a large fishbot
- # [08:35] * Quits: grisha (~grisha@public.cloak) ("Page closed")
- # [08:35] * Joins: grisha (~grisha@public.cloak)
- # [08:39] * heycam is now known as heycam|away
- # [08:43] * heycam|away is now known as heycam
- # [09:06] * heycam is now known as heycam|away
- # [09:16] * Joins: johanneswilm (~johannes@public.cloak)
- # [09:23] * Joins: dom (dom@public.cloak)
- # [09:26] * heycam|away is now known as heycam
- # [09:34] * Quits: grisha (~grisha@public.cloak) (Ping timeout: 180 seconds)
- # [09:37] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [09:46] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [09:50] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [10:01] * Joins: enrica (~enrica@public.cloak)
- # [10:03] * Joins: weinig (~weinig@public.cloak)
- # [10:06] * Joins: chaals (~Adium@public.cloak)
- # [10:07] * Joins: Florian (~Florian@public.cloak)
- # [10:07] * chaals will be late ;( Feel free to appoint a scribe and start the next topic...
- # [10:08] * chaals will be about another 20 minutes if I am lucky...
- # [10:08] * Florian chaals: we're still gathering / having breakfast for now
- # [10:08] * Florian chaals: how late do you expect to be? Minutes or hours?
- # [10:10] * chaals with any luck I will be there by 10.30...
- # [10:18] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [10:18] * Joins: weinig (~weinig@public.cloak)
- # [10:18] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
- # [10:18] * Joins: grisha (~grisha@public.cloak)
- # [10:21] <Florian> rssagent, pointer
- # [10:21] <Florian> rssagent, help
- # [10:23] * Joins: rniwa (~textual@public.cloak)
- # [10:27] <Florian> Present: Ryosuke, SamW, Enrica, SimonS, Grisha, Piotr, Florian, Johannes, Johan
- # [10:30] * Joins: johanneswilm (~johannes@public.cloak)
- # [10:30] <Florian> trackbot, start meeting
- # [10:30] * trackbot is preparing a teleconference.
- # [10:30] <trackbot> RRSAgent, make logs public
- # [10:30] <RRSAgent> I have made the request, trackbot
- # [10:30] <trackbot> Zakim, this will be DOM3
- # [10:30] <trackbot> Meeting: Web Applications Working Group Teleconference
- # [10:30] <trackbot> Date: 24 August 2015
- # [10:31] <Florian> trackbot, point
- # [10:31] <trackbot> Sorry, Florian, I don't understand 'trackbot, point'. Please refer to <http://www.w3.org/2005/06/tracker/irc> for help.
- # [10:31] <Florian> trackbot, pointer
- # [10:31] <trackbot> Sorry, Florian, I don't understand 'trackbot, pointer'. Please refer to <http://www.w3.org/2005/06/tracker/irc> for help.
- # [10:31] <Florian> rssagent, point
- # [10:31] <Florian> rssagent, pointer
- # [10:31] <Florian> Meeting: Editing TF face to face
- # [10:32] <Florian> rssagent, log
- # [10:33] <rniwa> https://github.com/w3c/editing/issues/77#
- # [10:33] <Florian> rrsagent, pointer
- # [10:33] <RRSAgent> See http://www.w3.org/2015/08/24-webapps-irc#T08-33-14
- # [10:34] <Florian> Present: Ryosuke, SamW, Enrica, SimonS, Grisha, Piotr, Florian, Johannes, Johan
- # [10:34] <Florian> Scribe: Florian
- # [10:34] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [10:35] * Joins: tantek (~tantek@public.cloak)
- # [10:36] <Florian> Agenda: https://www.w3.org/wiki/Fall_2015_Editing_Taskforce_F2F_meeting
- # [10:36] <Florian> Present: Ryosuke, SamW, Enrica, SimonS, Grisha, Piotr, Florian, Johannes, Johan, tantek
- # [10:36] <tantek> hello
- # [10:37] * Joins: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak)
- # [10:40] <Florian> Enrica: Should we keep talking about multirange selections?
- # [10:40] <Florian> Florian: let's do that when we have mozilla on the phone later today
- # [10:41] <Florian> Chair: chaals
- # [10:42] * Joins: chaals (~Adium@public.cloak)
- # [10:42] <Florian> Johannes: Ehsan will call at 2pm. We will talk about selection normalization then as well.
- # [10:43] <Florian> Present: Ryosuke, SamW, Enrica, SimonS, Grisha, Piotr, Florian, Johannes, Johan, tantek, chaals
- # [10:44] * Joins: chaals1 (~Adium@public.cloak)
- # [10:44] <chaals1> rrsagent, draft minutes
- # [10:44] <RRSAgent> I have made the request to generate http://www.w3.org/2015/08/24-webapps-minutes.html chaals1
- # [10:45] <chaals1> scribe: chaals
- # [10:45] <chaals1> agenda?
- # [10:46] <chaals1> zakim, agenda?
- # [10:46] <Florian> Agenda: https://www.w3.org/wiki/Fall_2015_Editing_Taskforce_F2F_meeting
- # [10:46] * chaals1 changes topic to 'Editing TF f2f. Ping us for remote connection. minutes: http://www.w3.org/2015/08/24-webapps-minutes.html'
- # [10:48] <chaals1> Topic: input events
- # [10:48] <Florian> https://github.com/w3c/editing/issues/72
- # [10:48] <chaals1> JW: looking at issues 71 and 72, wonder if we should change the name of events, or keep it but make it clear that this is only for cE, or deal with input/textarea events (later?)
- # [10:49] <chaals1> … stuff do deal with selection should be in the selection API.
- # [10:49] <chaals1> … but they need the intention of what the user wanted to do…
- # [10:49] <Florian> s/71 and 72/72 and 73/
- # [10:49] <chaals1> RN: Fine to spec in selection.
- # [10:49] * Quits: chaals (~Adium@public.cloak) (Ping timeout: 180 seconds)
- # [10:50] * chaals1 is now known as chaals
- # [10:50] <chaals> … caret is a type of selection…
- # [10:50] <chaals> JW: What about name - does it apply to input fields as well?
- # [10:51] <chaals> RN: interesting question - what happens in a multi-range selection. Do we fire beforeinput events with multiple ranges, or multiple single events one per range?
- # [10:51] <chaals> JW: don't mind
- # [10:51] <chaals> FR: Think it is better to have a single event with all the data to eenable doing smart things
- # [10:51] <chaals> SW: so targetRanges?
- # [10:51] <chaals> Johan: then we need an array for the ranges.
- # [10:52] <chaals> … you can delete at multiple locations
- # [10:52] <chaals> RN: There isn't a way to insert different characters in different locations
- # [10:52] <chaals> FR: You can put the same data in multiple places at once...
- # [10:52] <chaals> SW: But it is the same data and three targetRanges
- # [10:53] <chaals> JW: So we need targetranges?
- # [10:53] <chaals> [yes]
- # [10:54] <chaals> JW: Input on what to do with input?
- # [10:54] <chaals> FR: This is pretty different, making it apply is odd. The name is confusing.
- # [10:54] <chaals> EC: Call it the editing event?
- # [10:54] <chaals> JW: beforeEditing?
- # [10:54] <chaals> EC: yeah, beforeEdit …
- # [10:55] <chaals> JW: Only applies to contenteditable, right?
- # [10:55] <chaals> PK: We have beforeinput on ce=true
- # [10:55] <chaals> s/beforeinput/input/
- # [10:55] <chaals> JW: Input events have change and input. ce has input and what we call this...
- # [10:56] <chaals> SW: Problem?
- # [10:56] <chaals> FR: beforeinput doesn't work on input elements
- # [10:56] <chaals> [what the input event does]
- # [10:58] <Florian> https://developer.mozilla.org/en-US/docs/Web/Events/input
- # [11:00] <chaals> FR: There is already a beforeinput event
- # [11:00] <chaals> JW: This spec has different fields for the event
- # [11:01] <chaals> … so can we override the other event, or should we call ours something else - beforeEdit?
- # [11:01] <chaals> … don't mind which.
- # [11:02] <chaals> FR: Ours is supposed to be the same as the general one, no?
- # [11:02] <johanneswilm> http://w3c.github.io/editing/input-events.html
- # [11:02] <chaals> JW: Thought so, but seems not.
- # [11:03] <chaals> EC: In webkit we fire input events for input/textarea events...
- # [11:03] <chaals> … so they seem to be disjoint.
- # [11:03] <chaals> … Why don't we go completely disjoint?
- # [11:05] <chaals> JW: Think it is a good idea to have a different name.
- # [11:06] <chaals> PK: We should check other browsers too...
- # [11:08] <chaals> [should we use the input event? no, having multiple events of the same name leads to confusion]
- # [11:08] <chaals> PK: There is apparently input n ce in firefox but seems broken
- # [11:08] <PiotrekKoszulinski> http://jsfiddle.net/hxh4ybsf/
- # [11:09] * Joins: Johan_S_rlin (~Johan_S_rlin@public.cloak)
- # [11:14] <chaals> [does pgup pgdn move the caret? Sometimes, but not others]
- # [11:15] <chaals> SW: We could spec it, but it would never fire in Safari
- # [11:15] <chaals> RN: it needs to fire in selection...
- # [11:15] <chaals> … so if we spec it that means we would need to support it
- # [11:16] <chaals> EC: Moving caret by a page isn't deterministic…
- # [11:17] <chaals> CMN: Not unusual for a user to do that though
- # [11:17] <chaals> SW: Wonder if we should be linking up everything that platforms can do.
- # [11:18] <chaals> … we *could* implement this - but think we're ratholing something that isn't that important.
- # [11:18] <chaals> RN: We wouldn't trigger this from user actions
- # [11:19] <chaals> SW: But if authors want to make something, good luck to them.
- # [11:20] <chaals> RESOLUTION: remove caret, and put it in beforeselectionchange in selection API
- # [11:21] <chaals> RESOLUTION: We call the relevant events edit and beforeedit (instead of overloading input)
- # [11:21] <chaals> EC: If we do this let's have home, start/end of doc, etc etc
- # [11:22] <chaals> RN: Home is line boundary, ctrl-home is document boundary
- # [11:24] <chaals> EC: So we are left with the things that are not selection… insert/replace char/text/content, un/do
- # [11:24] <chaals> RN: Why do we need different things for replacing text or content?
- # [11:25] <chaals> JW: Don't suppose we do. Lets get rid of replaceText and make it content.
- # [11:26] <chaals> RN: Might want to add another boolean for spellchecking
- # [11:27] <chaals> CMN: Does it matter?
- # [11:27] <chaals> EC: If you want to do visualisation ...
- # [11:27] <chaals> RN: IME will also do replacecontent
- # [11:28] <chaals> FR: The boundary between typing and spellchecking is fluid
- # [11:28] <chaals> EC: So this comes from the browser saying it wants to autocorrect something?
- # [11:30] <chaals> [is there a fingerprinting issue with noting something is autocorrected?]
- # [11:32] <chaals> [probably - you can see the dictionary, and how often people are making mistakes. But what's the real problem?]
- # [11:32] <chaals> SW: Don't think there is a real problem here
- # [11:32] <chaals> FR: What's the value in doing this?
- # [11:33] <chaals> PK: e.g. so you don't move the selection there
- # [11:33] <chaals> JW: That's why replacecontent should not move the caret.
- # [11:33] <chaals> SW: This would also happen on dictation, where words that were put there are updated later.
- # [11:34] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [11:35] <chaals> [When you replace content, the offset for the cursor is probably different…]
- # [11:36] * Joins: weinig (~weinig@public.cloak)
- # [11:37] <chaals> JW: Whatever the common behaviour is when content is replaced, keep doing that…
- # [11:38] <johanneswilm> https://github.com/w3c/editing/issues/25
- # [11:38] <chaals> JW: MS Office team want to know the source for the edit event… #25
- # [11:39] <chaals> lya: if you have a floatingUI that comes up when you select something, you need to know how the selection happens
- # [11:39] * wilsonpage is now known as wilsonpage-away
- # [11:39] <chaals> FR: so you get different behaviour depending on whether you used keyboard or mouse?
- # [11:39] * wilsonpage-away is now known as wilsonpage
- # [11:39] <chaals> Ilya: Are they asking for this to be specified
- # [11:40] <chaals> JW: yes…
- # [11:43] <chaals> [do they need to know what they are actually asking here - what a given keyboard event will actually fire…]
- # [11:44] <chaals> SW: issue is that we don't support progressive enhancement and we need a viable way for that to happen…
- # [11:45] <chaals> FR: A browser may have an event type, but not actually fire it ever…
- # [11:47] <chaals> CMN: feature detection breaks…
- # [11:48] <chaals> SW: This is hard because our events fire after the old event, so you don't know if it will trigger the new event…
- # [11:48] <chaals> EC: Why not do something similar with execcommand - would that be crazy?
- # [11:49] <chaals> SW: Not for knowing the source of the event, but that is a different problem.
- # [11:49] <chaals> … hard part is knowing the set of sources
- # [11:49] <chaals> EC: We could have an enum that we can extend.
- # [11:54] * Quits: grisha (~grisha@public.cloak) (Ping timeout: 180 seconds)
- # [11:54] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [11:55] * Quits: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak) (Ping timeout: 180 seconds)
- # [11:57] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [12:07] * Joins: johanneswilm (~johannes@public.cloak)
- # [12:08] * Joins: weinig (~weinig@public.cloak)
- # [12:10] <chaals> Topic: can we do progressive enhancement…
- # [12:10] <chaals> SW: remains an open issue.
- # [12:10] * Joins: grisha (~grisha@public.cloak)
- # [12:10] <chaals> CMN: there are a lot of gotchas, too
- # [12:10] <chaals> s/Ilya/Grisha/G
- # [12:11] <chaals> Topic: Can we put the source?
- # [12:11] <chaals> JW: That's not so hard, right?
- # [12:11] <chaals> FR: listing things isn't a great idea
- # [12:11] * Joins: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak)
- # [12:11] <chaals> Grisha: So we need a table of accelerators to fire a function… who maintains that?
- # [12:11] <chaals> JW: Your browser.
- # [12:12] <chaals> FR: That's the problem with the list - you don't know what to do with a source you didn't know about in advance
- # [12:15] <chaals> CMN: see also Brian Kardell's input-modality proposal in WICG
- # [12:15] <chaals> RN: Can we have a relatedEvent?
- # [12:15] <chaals> SW: Sometimes. But not if find causes a selection.
- # [12:17] <chaals> CMN: We don't really want authors listening to device-specific events, because they make a mess of it…
- # [12:17] <chaals> FR: Authors should not have to care about dev-specific events, but they should be able to care…
- # [12:19] <chaals> SW: Don't think supporting this is high priority
- # [12:19] <chaals> CMN: Maybe not, and it will probably be misused more than well used, but authors really really want it all the time :(
- # [12:21] <chaals> RN: If you have a timer to check whether an intention is for a particular keydown, we cannot guarantee the association.
- # [12:21] <chaals> SW: Having a pointer to the event that caused something, or null, might be enough.
- # [12:22] <chaals> RN: That would more or less address the use case.
- # [12:22] <chaals> FR: There is a risk that people will make assumptions about why they get null…
- # [12:22] <chaals> SW: Don't think it is a huge issue
- # [12:23] <chaals> RN: What if a combination of events were the cause of a single DI event?
- # [12:23] <chaals> SW: last one? Still don't think this is an important problem to solve.
- # [12:24] <chaals> RN: You want to prollyfill, so if there is a ctrl-C you set a timer to see if it fired a copy… and if it didn't, you fire one.
- # [12:25] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [12:27] <chaals> JW: you want to know what things are working...
- # [12:28] * Joins: weinig (~weinig@public.cloak)
- # [12:29] <chaals> SW: So #19 and #25 are the same thing?
- # [12:30] <chaals> CMN: similar…
- # [12:31] <chaals> FR: So the relatedEvent thing is probably not that bad...
- # [12:34] <chaals> TC: Maybe you really should record a use case of supporting polyfills
- # [12:35] <chaals> RESOLUTION: have a relatedEvent to point to the UI event that caused a DI event to be fired.
- # [12:38] <rniwa> Filed https://github.com/w3c/editing/issues/78
- # [12:39] <chaals> Topic: Deleting content
- # [12:39] <chaals> Grisha: is there a reason to have the 3 different delete events?
- # [12:40] <chaals> JW: If people click delete button or backspace, you have different things happen.
- # [12:40] <chaals> … if you build track changes you get the intent to delete forward, move the caret
- # [12:40] <chaals> EC: can we have one delete event and use attributes? Ditto for insertCharacter/Line
- # [12:41] <chaals> RN: There is a difference between line break and paragraph break.
- # [12:42] <chaals> … don't think we want to collapse lines and characters - and would like to have a way of inserting a paragraph. Agree that we should have forward/backward as an attribute on the delete event.
- # [12:43] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [12:43] * Joins: weinig (~weinig@public.cloak)
- # [12:45] <chaals> [A use case for delete backwards - tracking changes means that the delete thing doesn't remove the content, but marks it and moves the caret backwards]
- # [12:52] <chaals> EC: When do we fire deleteContent?
- # [12:52] <chaals> RN: A default of keypress
- # [12:52] <chaals> FR: The default will be forward or backward
- # [12:53] <chaals> … we don't need deleteContent if it is only for an edge case
- # [12:53] <chaals> EC: So if someone presses an "h", what do I fire?
- # [12:55] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [12:56] <chaals> [insertcharacter, or replacecharacter]
- # [12:57] * Joins: weinig (~weinig@public.cloak)
- # [12:57] <chaals> CMN: with a delete event that has forward/backward, if it has neither then it is basically replace with nothing
- # [12:57] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [12:59] <chaals> FR: The problem is if you are listening for delete, when sometimes what is fired is a replace with empty, then you get complexity.
- # [13:00] * Joins: weinig (~weinig@public.cloak)
- # [13:01] <chaals> RESOLUTION: one delete event with data for forward/backward
- # [13:02] <chaals> FR: Typing/replacing at caret/selection uses insert, doing it elsewhere uses replace
- # [13:02] <chaals> RESOLUTION: We want to be able to insert newline or new paragraph
- # [13:03] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [13:03] <chaals> [lunch]
- # [13:03] * Quits: enrica (~enrica@public.cloak) (enrica)
- # [13:03] * heycam is now known as heycam|away
- # [13:07] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [13:10] * Quits: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak) (Ping timeout: 180 seconds)
- # [13:25] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
- # [13:32] * wilsonpage is now known as wilsonpage-away
- # [13:49] * heycam|away is now known as heycam
- # [13:55] * Joins: weinig (~weinig@public.cloak)
- # [13:56] * Joins: enrica (~enrica@public.cloak)
- # [13:56] * Joins: chaals (~Adium@public.cloak)
- # [14:04] <chaals> Present+ Ehsan(videconf)
- # [14:04] * Joins: Florian (~Florian@public.cloak)
- # [14:04] <chaals> Present+ Johannes, Johan, Chaals, Ryosuke, Grisha, Piotr, SamW, Enrica, SimonS, Tantek
- # [14:04] <chaals> Topic: selections
- # [14:05] <chaals> Ryosuke: If we allow JS to set selection, can we always render a selection caret?
- # [14:06] <chaals> … we currently do normalisation of selection endpoints, but going forward we want to change that.
- # [14:07] <chaals> EA: Gecko tries to be permissive, ask where the selection goes and try to get a caret there.
- # [14:07] <chaals> … there are edge case bugs, but we restructured this a few years ago which helped in a bunch of situations for getting carets where we couldn't.
- # [14:07] <chaals> … So things are better, but it isn't perfect yet. It is impossible to predict every possible place to put the caret.
- # [14:08] <chaals> RN: Would you be OK with not doing normalisation?
- # [14:09] * Joins: ehsan (~ehsan@public.cloak)
- # [14:09] <ehsan> the audio feed stopped
- # [14:09] <rniwa> Is Gecko okay with not normalizing selection when JavaScript modifies it
- # [14:09] <ehsan> rniwa: ^
- # [14:09] * chaals we stopped talking
- # [14:09] <ehsan> yes, in the abstract sense :)
- # [14:09] <chaals> rrsagent, draft minutes
- # [14:09] <RRSAgent> I have made the request to generate http://www.w3.org/2015/08/24-webapps-minutes.html chaals
- # [14:10] * Joins: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak)
- # [14:10] <chaals> RN: Current proposal is not to normalise selection when JS modifies it.
- # [14:10] <chaals> … do we need to specify a guarantee of wher the caret can be?
- # [14:10] * Joins: smaug (~chatzilla@public.cloak)
- # [14:10] <chaals> … e.g. we cannot render a caret in an element with display none.
- # [14:11] <chaals> … also in a japanese IME in composition there is often no caret.
- # [14:11] <chaals> … Can these be specified?
- # [14:11] <chaals> EA: Harder cases are where selection goes into part ofthe DOM that is obscured by another element.
- # [14:11] * wilsonpage-away is now known as wilsonpage
- # [14:11] <johanneswilm> examples of where the caret doesn't go or doesn't render: https://bug873883.bmoattachments.org/attachment.cgi?id=751510
- # [14:12] * Quits: Florian (~Florian@public.cloak) (Ping timeout: 180 seconds)
- # [14:12] <chaals> … Or where user places caret next to an image. Should we render it on the border of the image?
- # [14:12] <chaals> … How does it combine with background colour of image…
- # [14:12] <chaals> … There are some other tricky cases. The button element - should it go inside it or not?
- # [14:13] <chaals> … there is a text node underneath it, so it makes sense to be able to edit that, or it is a form control and it makes no sense to allow editing it…
- # [14:13] <chaals> … there is value in specifying how the browser deals with these situations. We can normalise things, or list the possible cases…
- # [14:13] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [14:14] <chaals> JW: e.g. can't get between two canvas elements immediately adjacent in Firefox, can go between SVGs, but cannot in Chrome, etc...
- # [14:15] <chaals> … do we want a guarantee of where things will go?
- # [14:16] <chaals> EA: 2 cases to consider - caret when you are using keyboard to navigate, and when JS moves it. There are many places where you cannot get a caret with user navigation keys, but can do it wiith script.
- # [14:16] <chaals> … There are 2 classes of problems, some putting the caret there and some painting it.
- # [14:16] <chaals> RN: yes, we have those 2 kinds of issues.
- # [14:17] <chaals> EA: 3rd question - whether we should do caret navigation through the DOM or the rendered page.
- # [14:17] <chaals> … Gecko does screen-based navigation - sometimes weird but often better.
- # [14:18] * Joins: tantek (~tantek@public.cloak)
- # [14:18] <chaals> JW: We left how the caret moves unspecified for now. Important thing is that you can get the caret "everywhere it should" and be rendered there
- # [14:19] <chaals> … we want to avoid cases where the caret is now where it looks like it is. We realise there are places you cannot get to, but if we can move the caret there with JS that shoud be enough.
- # [14:19] * Joins: Florian (~Florian@public.cloak)
- # [14:19] <chaals> RN: Browser bugs *will* exist…
- # [14:20] <chaals> EC: Idea is that with JS you can place selection anywhere, and there will be no attempt to move it to be visible. So if it is put into an invisible element you just won't see it, but that will be a legitimate thing to do?
- # [14:20] <chaals> JW: In certain places we want a guarantee that the caret will be rendered.
- # [14:21] <chaals> RN: Don't think we need a restriction - I think it is premature to spec a list of places where carets must be rendered.
- # [14:21] <chaals> … we need implementation experience of not normalising first, and need to fix caret-painting bugs.
- # [14:22] <chaals> EA: Now position of caret is not observable by script. Are we going to add that?
- # [14:22] <chaals> RN: Think we are still using collapsed selection. We discussed this yesterday
- # [14:22] <chaals> … at boundary of bidi levels we could have two caret positions, so there would be two rectangles.
- # [14:23] <chaals> … We need to sort out carets in vertical mode, too.
- # [14:23] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [14:23] <chaals> EA: Collapsed selection is probably OK. Not sure it is useful for authors, but it is what we do now.
- # [14:24] <chaals> FR: Logical position of caret is offset, plus bidi level, plus if you are at a line break. This gives enough to find out where you are, or to specify where a caret should be.
- # [14:26] <chaals> RN: Discussed adding a new selection object. Current selection API seems to be misused. Argument that one reason is the interface makes it hard to understand that you have to get the counts and collect them, so Ojan selected we have an iterator of ranges that may help get better quality support.
- # [14:26] <chaals> … in multi-range world, the fact we have anchor, etc, looks like a single range and not so smart for a set of them.
- # [14:27] <chaals> … So if we have a multiple range selection in a new API, we can carry caret information better.
- # [14:27] <chaals> FR: Other issue motivating a new selection API was a desire for non-Live nodes…
- # [14:28] <chaals> EA: Performance implications for keeping ranges alive… supporting multi-range selections, do other vendors want to do it?
- # [14:29] <chaals> RN: Apple is - for example so you can select content visually when different boxes are laid out and aren't in DOM order.
- # [14:30] <chaals> FR: And selecting rectangles on a touch device…
- # [14:30] <chaals> … selecting across a user-select: none thing…
- # [14:32] <chaals> EA: We can enable users to select multiple things at a time - another example is selecting table cells.
- # [14:32] <chaals> … how many of these cases do we want to expose? (not all of them are necessary to support)
- # [14:33] <chaals> … Multi-range selection is very very difficult to implement properly - there are lots of points in code that need to deal with it.
- # [14:33] <chaals> … So it is great for the user, but very hard for the engine.
- # [14:35] <chaals> FR: If we let JS author create selections however tehy want, they can create e.g. overlapping ranges. We considered throwing exceptions to stop that, and backed off to say we would allow overlapping selections, only normalise if you tried to exec command, otherwise leave it up to the scripter to decide how to handle their weird results
- # [14:36] <chaals> EA: Seen pages put selections in places that make no sense. Hard to say what the right behaviour should be. Whatever we choose, we want to be consistent across browsers.
- # [14:37] * Joins: weinig (~weinig@public.cloak)
- # [14:38] <chaals> FR: Do you mean problem rendering selection, or how the selection braks exec comman in e.g. overlapping ranges
- # [14:38] <chaals> EA: We e.g. display visual selection behaviour selecting a run from RTL to LTR, but select logically, which is of course a bug
- # [14:41] <chaals> FR: If an editor wants to e.g. allow visual selection across bidi boundaries, they need multiple ranges and don't want the selection to move from under them?
- # [14:42] <chaals> PK: We like gecko's behaviour because we know where it will put text. For multi-range, allowing table selection is interesting even though it can be faked if it isn't supported.
- # [14:42] <chaals> EC: How does gecko handle copy? Do you take a single fragment or keep a set of fragments on clipboard?
- # [14:43] <chaals> EA: we iterate over each one, don't remember how we handle the gap…
- # [14:44] <chaals> … *think* we put some break between the ranges
- # [14:44] <chaals> FR: Seems like you put double line break between fragments.
- # [14:45] <chaals> EC: What happens if you copied 3 disjoint things and try to paste into 2 ranges.
- # [14:45] <chaals> FR: You replace the first range with the whole clipboard, and just delete the second range.
- # [14:47] <chaals> EA: This is an example of where correct behaviour is non-obvious. E.g. select items from an ordered list and an unordered list nested, and delete things so you promote list items from the sub-list to the parent list.
- # [14:47] <chaals> … ther are a lot of these tricky cases where we just do *something* because there is no sane behaviour.
- # [14:48] <chaals> FR: Tables are an example of where there is an obvious behaviour that is hard - e.g. copy column and paste to another column should not paste the column into the first replaced cell, but …
- # [14:49] <chaals> EC: WOuld be easy to leave it up to implementation what to do.
- # [14:49] <chaals> FR: The browser should do the simple and predictable thing, and leave it up to JS editor developers to customise behaviour in smarter ways.
- # [14:50] <chaals> EA: I am sure there are cases where it is hard to come up with "the simple predictable behaviour".
- # [14:52] <chaals> RN: Think the current plan for ce=typing is for each app to implement bolding, underline etc themselves, so they decide on what "sensible behaviour" is.
- # [14:52] <chaals> … if we want to let app decide what to do with multi-range copy/paste, we need to have the information available about where each piece came from.
- # [14:53] <chaals> … cut/paste multi ranges in the same place should look like a noop… which takes lots of information about what is in the clipboard
- # [14:54] <chaals> FR: We have beforeedit that says what is going to happen, but in order to do the smart thing, you need to have the structure available
- # [14:54] <chaals> … don't need to stitch together in the clipboard, do we?
- # [14:55] <chaals> RN: Stitching may not happen in clipboard. It doesn't assume there are multiple pieces in the clipboard - there is no way to support that
- # [14:55] <chaals> SW: Yes you can, at least on Mac, annotate types and multiple pieces.
- # [14:56] <chaals> EA: Even if clipboard understands format, you are bound by common denomiator of different clipboards. As far as I recall there is no clipboard that allows for multiple pieces somewhere, so gecko needs to stitch the pieces together.
- # [14:56] <chaals> EC: There is also the issue of exposing this to the clipboard API.
- # [14:57] * Joins: jyasskin (~textual@public.cloak)
- # [14:57] <chaals> FR: If you don't have multi-piece clipboards, you may be able to intercept the copy event and annotate with extra information, but then those annotations will do weird things e.g. on paste inot a different application.
- # [14:58] <chaals> EA: You can copy different formats at the same time. If the goal is to have copy-paste within the browser, you can invent your own format.
- # [14:59] <chaals> … Paste into another application would show there is text/html (stitched) or magic-firefox-clipboard-format… would that be good enough, or cause problems because you can't paste from FF to IE?
- # [15:00] <MikeSmith> RRSAgent, make minutes
- # [15:00] <RRSAgent> I have made the request to generate http://www.w3.org/2015/08/24-webapps-minutes.html MikeSmith
- # [15:00] <chaals> FR: Or copy HTML table and paste into Excel
- # [15:00] <chaals> RN: We could spec the annotation we add in a browser to provide structure information…
- # [15:01] <chaals> … if that were supported across browsers it seems other apps could recognise it too.
- # [15:01] <chaals> EC: Not sure we should specify the clipboard format for native platform… we should specify what goes there to use with clipboard API
- # [15:02] <chaals> … anyone can specify as many formats as they want to post to clipboard. Think we should aim for copy/paste consistency within an app, not so sure we need to have fidelity copying from one browser to another.
- # [15:03] <chaals> FR: If we manage to get this working for a given browser, then maybe we can go to a standard clipboard format
- # [15:03] <chaals> RN: Browser vendors can't change the format, it is an OS-based format they use.
- # [15:03] <chaals> FR: But we can standardise an additional format that we could put in which is interoperable.
- # [15:04] <chaals> SW: We don't need to debate this now if it is a "later on" feature.
- # [15:04] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [15:06] <chaals> Topic: deleting…
- # [15:06] <chaals> FR: We thought we had a non-overlapping set of things for when to delete and when to replace…
- # [15:06] <chaals> … but what if you do alt-backspace - delete something that isn't selected, but with direction.
- # [15:07] <chaals> … if delete doesn't have a range other than selection you cannot use it for e.g. previous line…
- # [15:08] <chaals> EC: Thought these were low-level events where you got the info backwards/forward. Now you are asking for more commands, like word or line.
- # [15:08] <chaals> JW: If the caret moves, why not select the word and then delete it?
- # [15:08] <chaals> FR: Yes, we could do that. Perhaps save previous selection, delete the word, restore ...
- # [15:09] <chaals> FR: If browser has a native deleteWord, it is a thing that it would do.
- # [15:09] <chaals> … depends on how that is implemented, maybe it already does the right thing.
- # [15:09] <chaals> JW: So the caret moves, so I think we are fine.
- # [15:10] <chaals> PK: What if I cancel the deletion but not the selection of the word before that.
- # [15:10] <chaals> JW: Tough luck…
- # [15:11] * Joins: jyasskin (~textual@public.cloak)
- # [15:11] <chaals> FR: You don't know that you get select in order to delete.
- # [15:11] <chaals> CMN: If you have relatedEvent then perhaps you do...
- # [15:11] <chaals> RN: WHy not targetRange?
- # [15:11] <chaals> FR: There isn't one on delete, only on replace.
- # [15:12] <chaals> … otherwise there is overlap between delete and replace.
- # [15:12] <chaals> RN: Don't think that is an issue.
- # [15:12] <chaals> … we can spec them around this.
- # [15:12] <chaals> FR: Yes, but that is harder to make happen.
- # [15:13] <chaals> RN: All commands should always work on target range.
- # [15:14] <chaals> EC: So what happens in ce=typing when user types "hello". I select "lo", press delete. What events come out?
- # [15:14] <chaals> RN: targetrange are those characters, will delete backward.
- # [15:15] <chaals> EC: and user presses "delete word"? Webkit changes selection to select word, deletes.
- # [15:15] <chaals> RN: Same. select the content, delete backward with targetrange as what was selected.
- # [15:15] <chaals> [chaals leaves]
- # [15:16] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
- # [15:16] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [15:21] * Quits: PiotrekKoszulinski (~PiotrekKoszulinski@public.cloak) (Ping timeout: 180 seconds)
- # [15:24] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [15:36] <MikeSmith> is the meeting still going on?
- # [15:37] <MikeSmith> is somebody else taking notes elsewhere? (etherpad or something)
- # [15:37] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [15:39] * Quits: rniwa (~textual@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [15:42] * Quits: grisha (~grisha@public.cloak) (Ping timeout: 180 seconds)
- # [15:45] * Quits: Johan_S_rlin (~Johan_S_rlin@public.cloak) (Ping timeout: 180 seconds)
- # [15:46] * Quits: smaug (~chatzilla@public.cloak) (Client closed connection)
- # [15:46] * Joins: smaug (~chatzilla@public.cloak)
- # [15:49] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [15:50] * Quits: enrica (~enrica@public.cloak) (enrica)
- # [16:03] <tantek> MikeSmith - meeting is over
- # [16:03] <MikeSmith> tantek: ah ok
- # [16:03] <MikeSmith> thanks
- # [16:03] <tantek> notes were all in IRC - no separate etherpad AFAIK
- # [16:04] <MikeSmith> ok
- # [16:04] <MikeSmith> chaals just sorta seemed to drop the mic there
- # [16:04] <MikeSmith> today and yesterday too
- # [16:04] <tantek> rrsagent, make minutes public
- # [16:04] <RRSAgent> I'm logging. I don't understand 'make minutes public', tantek. Try /msg RRSAgent help
- # [16:04] <tantek> rrsagent, pointer
- # [16:04] <RRSAgent> See http://www.w3.org/2015/08/24-webapps-irc#T14-04-21
- # [16:04] <tantek> rrsagent, make minutes
- # [16:04] <RRSAgent> I have made the request to generate http://www.w3.org/2015/08/24-webapps-minutes.html tantek
- # [16:05] * Joins: shepazu (schepers@public.cloak)
- # [16:23] * Joins: Florian (~Florian@public.cloak)
- # [16:31] * Quits: ehsan (~ehsan@public.cloak) (Client closed connection)
- # [16:49] * Joins: johanneswilm (~johannes@public.cloak)
- # [17:21] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [17:22] * Joins: Florian (~Florian@public.cloak)
- # [17:25] * Joins: Spocke (~Spocke@public.cloak)
- # [17:26] * Quits: Spocke (~Spocke@public.cloak) ("Page closed")
- # [17:34] * Joins: Lachy (~Lachy@public.cloak)
- # [17:36] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [17:44] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [17:45] * Joins: Florian (~Florian@public.cloak)
- # [17:45] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [17:46] * Joins: tantek (~tantek@public.cloak)
- # [18:02] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [18:02] * Joins: Florian (~Florian@public.cloak)
- # [18:09] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [18:09] * Quits: Florian (~Florian@public.cloak) (Ping timeout: 180 seconds)
- # [18:24] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [18:37] * Joins: marcosc (~marcosc@public.cloak)
- # [18:38] * Quits: marcosc (~marcosc@public.cloak) ("")
- # [18:43] * Joins: marcosc (~marcosc@public.cloak)
- # [18:46] * Quits: dom (dom@public.cloak) ("")
- # [18:46] * Joins: jyasskin (~textual@public.cloak)
- # [18:50] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [18:52] * heycam is now known as heycam|away
- # [18:59] * Joins: jsbell (~jsbell@public.cloak)
- # [19:15] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [19:44] * Quits: marcosc (~marcosc@public.cloak) (Client closed connection)
- # [19:46] * Joins: marcosc (~marcosc@public.cloak)
- # [21:14] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [21:21] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [21:22] * Quits: shepazu (schepers@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [21:23] * Joins: shepazu (schepers@public.cloak)
- # [21:23] * Quits: shepazu (schepers@public.cloak)
- # [21:25] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [21:26] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [21:32] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [21:34] * Joins: shepazu (schepers@public.cloak)
- # [21:35] * Joins: wilsonpage (~wilsonpage@public.cloak)
- # [21:46] * Joins: johanneswilm (~johannes@public.cloak)
- # [21:46] * Quits: wilsonpage (~wilsonpage@public.cloak) ("My Mac has gone to sleep. ZZZzzz…")
- # [21:58] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [22:10] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
- # [22:25] * Joins: Florian (~Florian@public.cloak)
- # [22:30] * Joins: tantek (~tantek@public.cloak)
- # [22:30] * Joins: johanneswilm (~johannes@public.cloak)
- # [22:38] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [22:40] * Joins: Florian (~Florian@public.cloak)
- # [22:45] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
- # [22:46] * Joins: Florian (~Florian@public.cloak)
- # [23:24] * Joins: weinig (~weinig@public.cloak)
- # [23:24] * Quits: weinig (~weinig@public.cloak) (weinig)
- # [23:38] * Joins: Lachy (~Lachy@public.cloak)
- # Session Close: Tue Aug 25 00:00:00 2015
Previous day, Next day
Think these logs are useful? Then please donate to show your gratitude (and keep them up, of course). Thanks! — Krijn