07:32:34 RRSAgent has joined #webplat 07:32:34 logging to https://www.w3.org/2018/10/23-webplat-irc 07:32:42 Topic: introductions... 07:32:42 +garykac 07:32:51 present+ Olli_Pettay 07:32:58 present+ 07:33:01 scribe: chaals 07:33:22 present+ 07:33:27 PiotrekKoszulinski has joined #webplat 07:33:30 present+ 07:33:32 johanneswilm has joined #webplat 07:33:36 present+ Yoichi Osato 07:33:41 present+ Marijn Kruisselbrink 07:33:46 present+ Piotrek Koszulinski 07:33:52 present+ 07:34:31 agenda: https://github.com/w3c/webplatformwg/issues/120 07:34:37 chair: chaals 07:36:27 JW: The editing TF has been in place for a few years, trying to tackle contentEditable. We have made an inputEvent specification that is implmeneted by two browsers, and is hopefully in the final stages of getting through the process. 07:36:42 … So now we are looking at other problems we have with text editing on the web. 07:37:12 Topic: Clipboard events 07:37:30 addison has left #webplat 07:37:58 GK: Clipboard… been around for a long time and made little progress. 07:38:14 … thre is the sync event-based API, and a new asynch promise=based one giving more access. 07:38:32 … the old one based on iffy things like execCommand can be sort of hacked but isn't going forward. 07:38:43 … So we need to get a replacement in place. 07:39:01 s/asynch /async / 07:39:18 … Also there is a huge desire for putting iumages on the clipboard, and you can't do that. Big sticking points are long-term sdhape of the API because it needs to handfle more than images, and there are security concerns with images. 07:39:37 … THere is a more general security concern on writing into the clipboard, and a privacy concern on reading from it. 07:40:03 … You can't sanitise images in the main thread so it has to be asynch. Hence the new asynch apporach. 07:40:15 https://docs.google.com/document/d/1sMcajoYAQ_M_VOIn1RLokG1sVB7skjoeviqt9aZOcDk/edit 07:40:15 … A few months ago I tried to write up the open issues. 07:40:18 yosin has joined #webplat 07:40:20 This document is a proposal 07:40:49 GK: Whenever images come up you get the other issues, and you can't solve issues by itself. So what shape can get us there? 07:41:04 … at a high level: images. Delayed generation of content... 07:41:33 … an app that can write 5 or 6 different expensive formats. You want to put a placeholder that will call for the information if you need it. 07:41:51 … The platforms support delayed content, so the browser should build on top of that. 07:42:13 nhassan has joined #webplat 07:42:34 … Custom data types, which is potentially a security issue. If you want to support a type on Windows, you allocate an unrecoverable resource, so there is a DoS vector for supporting lots of them. 07:42:57 … Chrome and Safari pickle them so you can't find out exactly what is there. 07:43:19 … And then there is the question of baseline data type support, and how to put data on the clpboard. 07:43:46 … we had relied on dataTransfer, but it's not a great fit. That overlaps with Drag and Drop and we would like to keep this separate from that. 07:44:14 … Goal for today - feedback on whether the proposed shape is reasonable. There are lots of details to shake down... 07:44:44 … and to find out if anyone is working on implementation so we can make sure they are in the dicussion. 07:45:02 OP: Chrome has asynch implmentation for the text part? 07:45:03 BoCupp_ has joined #webplat 07:45:31 GK: Right. Because text is easier. we have permissions for read/write, and the ability to read and write plain text in the clipboard. 07:45:54 pwnall has joined #webplat 07:46:13 … everything else goes through the read API - how do you represent multiple items in multiple formats, even though most clipboards only handle a single item (but many have multi-format) 07:47:10 … Big problem with images, is to deal with security we have to transcode/sanitise it. e.g. we decode a PNG and make a new version of it with the browser's PNG code. But if you carefully craft every pixel, you don't want to lose the work, metadata, etc. 07:47:16 edent has joined #webplat 07:48:07 … Suggestion is to allow unsanitised images if we had a permission. E.g. if you are a PWA you can be more trusted than a random website, and that might allow e.g. image read/write directly, or custom MIME types. 07:49:22 JW: Looks good. Wonder if it can solve a different problem. I need to serialise text to the clipboard and I don't know where it will be pasted, maybe gdocs, a blog platform, … I know how those things will clean the data. So they all have the same MIME type but I want to custom-serialise depending on where it is going to be pasted. 07:50:11 … When the user copies, I recreate the thing they copy and put that into the clpboard. I can put whatever HTML I want, but until I know where it will be pasted I need to make complex HTML that I hope will come out right when pasted into the destination. 07:50:32 … so can I have several versions with the same MIME type on the clipboard? 07:50:49 GK: How would wordpress get the right thing for them, instead of teh Gdocs version? 07:51:05 JW: I don't know, but some kind of tagging mechanism 07:51:27 GK: Don't think we can fix the problem of target platforms manipulating what they get. 07:51:41 AvK: Seems better for target to standardise on sanitising. 07:51:53 JW: So take footnotes. Some things have them, some don't… 07:52:26 GK: For things that big, you want separate MIME types. We should document how the data gets cleaned up before it gets on the clipboard. 07:52:36 JW: So I could use a custom MIME type? 07:52:55 GK: Yep - and between websites on one browser you can do that already 07:53:32 Winston: Safari doesn't allow pasting custom MIME types across origins, to prevent leaking sensitive details. 07:53:44 rniwa has joined #webplat 07:53:54 … if you paste on a website you could be pasting additional sensitive data 07:54:06 AvK: If other browsers don't do that is it helpful? 07:54:11 Winston: we can revisit. 07:54:22 AvK: What about using streams for data? 07:54:41 GK: Hadn't thought of it... 07:55:00 SM: Thought about it. Question is whether platform APIs support it. 07:55:51 GK: Wanted to keep the API succinct but Apple wanted a data-type and explicity denote that it is delayed. If we have that we have a dictionary and we can add streaming later. 07:56:19 … instead of sending a function, that implies delayed data. 07:56:31 … Streaming thing sounds interesting - will look. 07:56:55 AvK: Write seems to be synchronous now. How does that work with delayed data. 07:57:05 GK: You can pass a promise as data. 07:57:11 AvK: Not in the spec... 07:57:29 GK: Oh, yeah. data can be data, JS function or a promise, as written right now. 07:58:09 … I haven't updated the spec, so the scribble proposal is what to look at now before I update the spec text. 07:58:11 addison has joined #webplat 07:59:16 GK: I didn't write down IDL, don't want to suggest this is a done deal. Chrome has only implemented readTextand writeText. None of this has been implemented yet.. 07:59:27 OP: We also have code for readText and writeText, not shipping. 08:00:22 ??: Can we do delayed clipboard? Windows requires synch message. If we delay clipboard we need to hold in the browser process. 08:01:39 … if you have large clipboard data you should handle onload… 08:02:11 GK: e.g. Photoshop puts data and says "do you want it all"? That would have to be supported in UA. 08:02:45 … We want to make something that can support this, even if we don't actually build all the support now. So e.g. level 1 i images and custom types, and we might do delayed data later. 08:03:14 … so long as our proposal actually supports doing that I think we are OK. Is there a need for custom types now? 08:03:33 … There is a difference in trust between a browser tab and an installed PWA. 08:04:06 … if there are permissions associated with that, we could give more permission to a PWA. But then how much support do we give inside a tab? 08:04:18 AvK: Is it true that I have more trust in something I install? 08:05:12 GK: It's the same with native apps 08:05:46 CMN: Sure but we don't describe that system, and I don't think there really is a distinction people understand. 08:06:19 AvK: Can we block on dodgy systems? 08:06:45 GK: The idea is to have more permissions to control more dangerous features… so you only get it in some place where there is more trust. 08:07:10 … user agent makes the choice on how to decide if you are in a trusted environment. 08:07:21 AvK: You need to consider the UX too? 08:07:24 GK: Sure. 08:07:40 AvK: hmm. 3 prompts for a clipboard could be a problem. 08:07:54 GK: You can easily make a terrible permissions UI… and we should address that. 08:08:06 AvK: We should not try to make it someone else's problem. 08:08:49 GK: Like there is a manifest of permissions. So when you only do permissions when something is required, you end up with repetitive requests. Grouping them together reduces that problem. 08:10:48 [general discussion that we are getting into permission fatigue and security problems] 08:12:02 GK: If you can auto-download an image anyway, maybe we're worrying about something that is already possible. 08:12:32 … if that lets us remove transcoding we solve a lot of issues. 08:12:54 … I am hopeful that it will play out that way. 08:13:17 GK: There is still custom types consuming resources - if we throttle it, maybe. 08:13:38 Wins: if we pickle it we have one type. Maybe we should agree on a pickling format, which would solve this... 08:14:00 GK: Sort of. Native apps would need to reach into that…. 08:14:12 xiaoqian has joined #webplat 08:14:13 … if we make it too easy to get it, why not just directly write the data? 08:14:33 AvK: Makes it an explicit opt-in for native apps, which seems good. 08:14:47 OP: Moz has a pickling format for custom data types? 08:16:19 nhassan has joined #webplat 08:16:29 GK: We can't write lots of custom types. Because it allows a DoS attack. 08:17:14 AvK: E.g. we allow PNG< and an app puts in bytes as PNG, the user pastes that data into an app and the bytes bite the user. 08:17:46 … so instead of writing PNG, we write app/ourformat, and in there we know how to read out the data an find a PNG in it. 08:18:49 … So if we had a standard picklign format like webClip, people would have decoders that are built to decode securely because content comes from the Web. 08:19:20 BoCupp: This seems mixing issues. Who is going to use a secure decoder somewhere, but not in other places? 08:19:53 … so if the browser doesn't take responsibility for images, would you still pickle for custom mime types? 08:19:59 GK: Yes. 08:21:16 … should you be able to download an image payload? 08:21:34 W: We have stuff in Safari that slow this down to see if the user is sure. 08:21:43 SM: Does that show up for images? 08:21:53 tink has joined #WebPlat 08:22:03 W: nope. 08:22:20 GK: We also have video/audio. 08:22:46 AvK: Would we only allow images that browsers can decode, or allow bytes with the MIME type? 08:23:13 … in your model, you check if the browser can decode it. If you have arbitrary bytes, then you have a different concern about what is in it. 08:23:23 SM: Treatng image types as image types seems fine. 08:23:36 GK: This isn't hypothetical, the vector has been used. 08:23:56 SM: Don't know if pickling will go well if you cannot paste into a native app. 08:24:31 GK: Pickling solves a problem of regitering arbitrary mime types allowing DoS. 08:24:42 JW: Is pickling stopping people read the data? 08:25:03 GK: Nope. It means we only need to register one MIME type to handle all kinds of data. 08:26:09 BC: WHy not just limit the number of MIME types you can register? 08:27:36 [question is how many types does it take to create a problem?] 08:28:10 Avk: Websites will target native types and drop bad code into them... 08:28:33 BC: I don't think native apps assume that they have trusted content from the clipboard, because it is already a shared resource. 08:30:08 Avk: Like the idea of pickled format, because native apps ahve to opt in and avoid trust. 08:30:35 Wins: agree with AvK. Have seen apps who think they are the only ones writing their format, and look, problems. 08:31:00 Avk: If we can protect the OS, we should, and not just blame them for getting it wrong. 08:32:23 BC: To back up ti the point about delayed data blocking the UI - you are advertising a lot of stuff, but if nobody asks for the whole collection, you save doing the work. Unblocking the UI isn't the value, it is saving the up-front work of building the copy... 08:32:41 GK: Yeah, that's the intent. 08:35:34 AvK: Wonder if there are concerns on fingerprinting… 08:35:53 GK: Next steps: standard pickling? sanititation, what do we do? 08:36:33 BC: Want sanitisation out. Pickling limits compatibility of the API, so you have to go back and rebuild everything before you can work with the web. 08:36:54 Wins: We know interop comes at a price of apps being able to get into a bad state. 08:37:30 BC: You can't write text without permissions anyway. I am not sure we need to have the restrictions, when you already have someone granting permission to use the clipboard. 08:37:40 Avk: but the user cannot reason about the security of native apps. 08:37:49 BC: I claim that already happens with script today. 08:38:41 JW: The security concerns for images, woud they apply for rich text? Does the pickling apply to that? 08:39:00 GK: The question is what should we need to pickle? 08:40:32 BC: no, not rich text formats either. I think we should be relying on the permissions API 08:40:40 Avk: I think we would object a lot. 08:41:02 JW: If I close the browser, and I have delayed data on clipboard, what happens? 08:41:23 GK: you get a notice saying "before I go, do you want me to paste the data into the clpboard?" 08:43:38 BC: So do native apps run through all 24 formats when you shut down? 08:43:54 … or just the core format 08:45:06 GK: What I ahve seen so far is all or nothing 08:45:30 [scribing lacuna] 08:45:43 … you can also use a promise. 08:45:54 IanPouncey has joined #webplat 08:46:08 JW: Say I have a very unusual high-cost format for a few users? That's a cost. 08:46:16 GK: I find it hard to be concerned about that 08:46:31 BC: We have metrics to check how long things take to close down. 08:46:51 … how do we know if the time taken is reasonable for a hard job, or just something going wrong. 08:47:14 … think we need to think through the UI 08:47:22 GK: But I think that is browser not spec. 08:48:22 … will be following up with this through bugs on the clipboard spec. So if you know someone interested, please direct them to the bug tracker for that. 08:48:55 … I know MS has been asking for this, so that e.g. Office365 can cut/copy/paste in Chrome… and similar things that people expect to be easy. 08:49:20 … To get a sense on where are we on sanitisation I will follow up, but assume that there is likely a desire to samitise images. 08:49:29 Avk: If we pickled them as well? 08:49:39 GK: That is the alternative path to sanitise. 08:50:03 tink has joined #WebPlat 08:51:15 … Note that we also need to think about a lot more formats - video, audio, … 08:51:57 abraud_ has joined #webplat 08:52:03 GK: Also, giant pickles always are not necessarily good. So we figure out whether to put up unsanitised, or we pickle some things, and sanitise sometimes, or blend these things. 08:52:53 … if we don't have to sanitise we can do a lot more nicely. If we can be comfortable rate-limiting requests for custom mime types that might make life better too. 08:54:31 nhassan has joined #webplat 08:56:40 sangchul has joined #webplat 08:57:52 addison has left #webplat 09:06:20 iclelland has joined #webplat 09:07:56 rniwa has joined #webplat 09:17:39 https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_a_download 09:25:10 xiaoqian has joined #webplat 09:33:30 chaals has joined #webplat 09:33:35 addison has joined #webplat 09:34:52 Topic: Input events i18n 09:34:57 present+ Addison 09:35:04 RRSagent, draft minutes 09:35:04 I have made the request to generate https://www.w3.org/2018/10/23-webplat-minutes.html chaals 09:35:15 PiotrekKoszulinski has joined #webplat 09:35:49 marcosc has joined #webplat 09:36:15 -> https://github.com/w3c/input-events/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n-comment i18n issues on input events 09:36:35 johanneswilm has joined #webplat 09:36:40 https://github.com/w3c/input-events/issues/73 09:36:50 "Character is not defined" 09:37:38 ap: character can have different meaning depending on context... it means one thing in unicode, it means something else to other people. Without being clear, the spec can get into trouble. 09:37:52 q+ Johannes 09:37:57 ap: so, you have things like "insert transpose" 09:38:59 q+ 09:39:11 jw: The reason we don't need to be more specific is because we are not defining what a user sees as a character. We are saying that the user gave this command to transpose this browser... and the user agent may do its own thing. 09:40:16 chaals: so, if you have a set of "characters" and you want to shift characters. 09:41:38 ap: if you are not specific, "character" could mean a bunch of different things. And browsers, and other specs, are very specific about. 09:41:42 MC: As a browser vendor, internally we have to know what it is we are trying to swap, so we need a definition. 09:42:03 q+ 09:42:17 Zakim has joined #webplat 09:42:51 jw: we are not trying to specify what the browser does at that particular point. We've only looked at one browser. So, JS could intervene, and change various things. 09:44:41 ap: I understand what you are saying - but if you are not clear what you mean, it could lead to interoperability issues. Otherwise, you could get issues with unicode characters that are composed as multiple code points, so if it's unclear, then you could end up with the wrong "character" representations when transposition happens. 09:46:10 jw: if you have a transpose functionality in the browser, then an event should fire a "insert transpose" event. 09:46:37 pc: which browsers have this insert transpose events? 09:46:45 ??: Chrome and Safari 09:47:46 pc: with the event, if there is no clear guidance to developers for when the author prevents the default, then it's unclear what they should do. 09:49:22 chaals: so, maybe you can rely on the browser's defintion on what it is transposing - so you can rely on what the browser is doing, a developer will have some idea what they are going to get with regards to a "character" (and what a character is). 09:50:09 jw: the event would work on the target range. But we would need to be sure that it's a particular thing, like a "graphine" (?) 09:51:12 ap: yes, and but my suggestion is to be clear what these are going to be "e.g., graphine clusters". 09:51:32 jw: so would be good to add a note to the spec? 09:51:50 https://w3c.github.io/bp-i18n-specdev/#characters 09:52:17 https://github.com/w3c/input-events/issues/72 09:52:25 "'deleteWordForwards' and 'deleteWordBackwards' not well defined" 09:52:37 ap: again, the same issue... "word" is not defined. 09:53:35 jw: yes, sometimes a JavaScript library will have a better idea of what a word might be. Which is why one might want to intercept that at times. 09:54:04 ap: ECMA is working on a word delimiter. We have discussed with them why it's hard. 09:54:18 https://github.com/w3c/input-events/issues/71 09:54:24 "Code points and graphemes in backward deletion" 09:55:55 Guest80 has joined #webplat 09:57:14 ap: there has been discussion since this that you really mean "code point" some of the time. Challenge being four things forward selection, backwards selection, forward/backward deletion. So dealing with that would be not to select, for instance, half a character. The question starts to become, are there cases where there are code points where you don't want to delete by themselves... like with emojis, which have complext corner cases. 09:58:15 ??: as unicode doesn't seems keen to define this, so it's kinda up to the browser vendors here to define how it works here. 09:58:27 ap: we talked to the unicode folks about this 09:58:40 [ cross tallk] 09:58:44 s/talk/talk 09:58:50 s/tallk/talk 09:59:54 jw: there is an explanatory note about how to deal with forward delete, etc. but it's not supposed to say exactly how UAs should behave. 10:00:23 ??: we need some kind of specification in that defines some kind of browser behavior. 10:01:19 chaals: that feels like a separate task. What would be great would be something like having a list of characters and how to deal with delete things when such sequence is encountered 10:01:46 ap: I think it makes sense to describe that somewhere, but not here in the spec. The i18n WG may document this. 10:01:54 https://github.com/w3c/input-events/issues/70 10:01:59 How to carry directional information with a string and handle insertion 10:03:39 iclelland has joined #webplat 10:04:07 ap: strings have, for instance, strong directional information. It would be great if directional information from the context was carried along. However, depending on where it gets pasted, the it may behave differently of what's expected. 10:04:38 ??: we might need to consider the bidi boundary 10:05:01 rrsagent, make logs public 10:05:12 jw: if we want to standardize how it behaves, what do we need to do? 10:05:27 ap: the unicode algorithm defines this 10:06:38 s/??/YI/ 10:06:49 s/??/YI/ 10:06:58 s/??/YI 10:07:07 present+ YoshifumeInoue 10:07:08 A diagram gets drawn input carets ... discussion about how input carets work with regards to unicode bidi algorithm 10:07:44 ... right to left... left to right... carets... 10:08:50 jw: so, this is up to the user agent until it hits javascript. Then after javascript does the insertion, it's unclear what js is supposed to do. 10:09:55 ap: it's actually quite well understood by user agents, because of unicode. So, when you paste into left to right/right to left, the user agent knows how to deal with it, even tho it can be confusing. 10:10:46 pc: when copy/paste happens, you will get a bunch of base direction information. But this will may be different with just plain text. 10:11:03 YI: it can change line by line... 10:11:49 YI: we should nonetheless define the behavior for UAs regarding the events 10:12:42 YI: I don't know how well all this is defined already 10:12:52 chaals: yes, this stuff can be quite weird 10:13:24 ...more drawings on whiteboard ... 10:14:54 ... more talk of left to right/right to left... 10:16:14 ap: ... so, when you paste stuff in, you can end up with a bunch of additional control characters 10:16:56 ap: bidi characters don't behave like other characters when carets move over them (they are skipped) 10:17:40 jw: we could add more explanatory notes, but it feels like this should be defined elsewhere. 10:19:07 cp: there are platform implications (e.g., paste) - but it's like you are putting a different layer thing on top, like "transponse" 10:20:12 cp: you are also producing a set of ranges, which would be equivalent to what the browsers would have done. 10:20:58 cp: ... so are we going to equivalent between the js implementation and the browser dom implementation 10:21:49 jw: so, in content editable, this also comes up... like when you delete across nodes, how to merge multiple nodes (e.g., two paragraphs) 10:22:57 jw: when we file an issue on you, we also track in our own spec. And our own issue we have marked it to be closed as being satisfied with the response 10:24:47 MC: johanneswilm, could you please go through each of the issues and just make a note about what was decided. 10:25:12 scribe: chaals 10:25:15 q+ 10:25:26 Topic: Content-editable disabled 10:25:32 q- 10:25:56 JW: We should have a list of the things you want to disable, so they don't appear in context menus etc. I assmebled a list of what JS editors want in the list and we have it. 10:26:39 … so instead of a space-separated attribute, should we make it an API, on the document or on an individual contentEditable element. 10:27:17 … I don't mind having it on an element, but on a whole document it makes no sense because you may have differently configured editors running on different parts of the document. 10:28:04 yosin has joined #webplat 10:28:40 Winston: did a Proof of concept for the API… 10:28:50 JW: Piotr and I looked at it and it seems to make sense 10:29:13 PK: It solves a bunch of issues for us. Regarding the API, we aren't that fussed about whether it is a method or attribute. 10:29:47 … but if we have a list of format options and disable them one by one, we get stuk if a borwser introduces a new one not on our list. 10:30:31 JW: Seems editors want a whitelist of what is enabled, and browsers want to have a blacklist of what to disable, so they can ship a new feature and have it work normally... 10:30:55 … this exists on various platforms - you see it clearly on the touchbar on Mac. 10:31:05 Winston does a demo. 10:31:40 rniwa has joined #webplat 10:31:51 Winston: There is a lot of compat risk with editors, because yu see a thing that gets broken. We want to disable the controls. 10:33:31 … we might want to make justify more granular, to have right/center/left … 10:33:42 +q 10:33:44 … we would make the same thig apply to context menu 10:33:44 q+ 10:33:58 ack mar 10:34:18 MC: That list could change what is there. So if you take things away new random things appear. 10:36:36 Winston: They would appear, but if implementors want to turn them off they can. The model we have would allow for finer granularity as well as broader categories like "justification", "font-variants" ... 10:37:46 CMN: Doing this, if you introduce a new formatting command we hope that it comes with a label we can use in here, and where it fits in broader catgegories... 10:38:36 BC: In favour of future-prrofing - start with nothing and list the things that you do support. 10:38:44 xiaoqian has joined #webplat 10:39:04 GK: problem is the OS adds a new thing and you can't inherit it. 10:39:32 JW: Editors don't just hold teh HTML, they have a further step in the middle. If you add a thing they don't know,, you get potential breakage. 10:40:11 … so they check for other changes, and revert them if they don't understand. 10:40:58 Winston: using beforeInput imagine JS using beforeInput to understand how to handle things. 10:41:28 BC: This is about cleaning up the browser UI so it doesn't have broken options. 10:41:57 Winston: we want to allow browsers to ship new UI by default. 10:42:29 … so we can expose a thing the page already knows how to expose. 10:42:47 JW: The issue comes when there is a new feature that wasn't known when you built the editor. 10:43:04 … But we would like something even if it isn't as much as we would like. 10:46:10 CMN: Propose we go forward with a blacklist of atomic things, but look in the future to add some classes like fontVariant, Justification, and ask that as people introduce new things in the future they fit them into classes if they make sense 10:46:24 JW: Alternative, disable all, and then allow enabling one by one. 10:46:45 YI: Or provide a list of commands browsers have, so you can dynamically query it and work out what to do. 10:47:51 CMN: Nice. But again, it will mean in implementation new browser features are typically disabled. 10:48:28 YI: There is a list of commands ion MacOS. 10:48:36 PK: Problem is that the list can change… 10:49:43 PK: if there is a new button we cannot handle, we generally throw away the effect of it. 10:49:59 iclelland has joined #webplat 10:50:44 iclelland has joined #webplat 10:55:16 YI: Is this nestable, or can we restrict it to the root of where it appears. Also, Shadow COM…? 10:55:41 CMN: Nestable is a nice feature, but hard to think about. 10:56:25 YI: Shadow DOM is meant to be isolated, so it gets hairy. 10:56:54 RESOLUTION: we are not going to allow nesting. 10:59:27 RESOLUTION: We want an API, so it can tell you what commands are available, on an editable element 11:00:10 MC: There is a fingerprinting vector... 11:00:22 OP: But we can add features that don't actually work in the list. 11:02:10 Topic: DesignMode … 11:03:16 JW: now we have an API instead of an attribute, we can deal with designMode on... 11:06:47 chaals has joined #webplat 11:16:55 IanPouncey has joined #webplat 11:17:12 rniwa has joined #webplat 11:17:36 sangchul has joined #webplat 11:18:55 IanPouncey1 has joined #webplat 11:25:20 nhassan has joined #webplat 11:25:21 bz has joined #webplat 11:28:50 iclelland has joined #webplat 11:32:23 rniwa has joined #webplat 11:34:48 kbx has joined #webplat 11:37:13 sangchul has joined #webplat 11:41:22 sangchul has joined #webplat 11:43:34 iclelland has joined #webplat 11:44:26 rniwa has joined #webplat 11:49:28 iclellan1 has joined #webplat 11:51:54 aklein has joined #webplat 12:02:07 aboxhall has joined #webplat 12:05:30 sangchul has joined #webplat 12:20:30 Guest80 has joined #webplat 12:27:27 xiaoqian has joined #webplat 12:32:19 PiotrekKoszulinski has joined #webplat 12:33:54 iclelland has joined #webplat 12:34:48 Discussing 12:34:49 https://github.com/w3c/editing/issues/178 12:35:06 johanneswilm has joined #webplat 12:35:06 "copy/cut and text-transform" 12:36:00 bo: likes idea of keeping innerText aligned with the clipboard 12:37:11 innerText is a decent text representation of the DOM 12:38:26 JW: JS editors said that they preferred the html as it was originally, with no CSS transforms. 12:38:58 eg: if there is CSS that changes text to be all upper case, then they don't want that applied - they want the original html 12:40:11 moving the styles to be inline is OK, just don't change the raw data 12:40:27 bo: text-transform can be moved inline - that seems fine 12:41:33 sangchul has joined #webplat 12:42:16 innerHtml is defined in the HTML spec 12:44:14 https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute 12:45:00 Step 4 says to account for text-transform when collecting text 12:46:38 rniwa has joined #webplat 12:47:58 chaals has joined #webplat 12:48:09 Want to spec how HTML is serialized to be placed on the clipboard 12:48:16 Need new tracking issue for that. 12:49:25 https://github.com/w3c/editing/issues/181 12:49:59 rniwa has joined #webplat 12:52:37 chaals has joined #webplat 12:52:43 Zakim has left #webplat 12:55:36 Relevent issue https://github.com/w3c/csswg-drafts/issues/627 13:01:25 xiaoqian has joined #webplat 13:07:00 Next issue : https://github.com/w3c/editing/issues/176 13:07:43 https://docs.google.com/document/d/1PKRVAXtqR2vkkI3qE5P7UH24Cdo03ebPUqCWlxwJmkY/edit?usp=sharing 13:08:07 iclelland has joined #webplat 13:13:26 https://github.com/whatwg/html/pull/2742 13:13:34 https://github.com/whatwg/html/issues/2730 13:21:31 IanPouncey has joined #webplat 13:26:15 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem 13:26:52 Demo: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu 13:41:53 yosin has joined #webplat 13:42:24 iclelland has joined #webplat 13:48:45 Create a ticket with a content of this presentation that browsers should help in maximising the available space. 13:49:42 I have made the request to generate https://www.w3.org/2018/10/23-webplat-minutes.html xiaoqian 13:50:37 Create a ticket for retrieving/providing geometry of editing UI 13:50:43 yhirano_ has joined #webplat 13:52:46 github issue for "maximizing the available space": https://github.com/w3c/editing/issues/182 13:52:56 Please add more info/context to it. 13:53:38 github for "retrieving/providing geometry of editing UI" : https://github.com/w3c/editing/issues/183 14:00:15 chaals has joined #webplat 14:08:26 chaals has joined #webplat 14:30:50 PiotrekKoszulinski has joined #webplat 14:31:42 https://docs.google.com/document/d/1yCGVFRUy-ouMpWvLyBwMANsr5h7xKmP08I9ZIDv8HIE/edit?usp=sharing 14:32:27 johanneswilm has joined #webplat 14:32:37 TOPIC: Range plus selection decorations 14:32:43 https://github.com/w3c/webplatformwg/issues/120