17:01:12 RRSAgent has joined #components 17:01:12 logging to https://www.w3.org/2020/10/26-components-irc 17:01:14 RRSAgent, make logs Public 17:01:15 please title this meeting ("meeting: ..."), plh 17:01:36 Title: Web Components 17:02:17 caridy has joined #components 17:03:01 boazsender has joined #components 17:03:05 bkardell has joined #components 17:03:09 present+ 17:03:14 present+ 17:03:18 present+ 17:03:19 present+ 17:04:09 present+ 17:04:14 Lars has joined #components 17:04:15 leobalter has joined #components 17:04:15 npm has joined #components 17:04:17 present+ Hidde 17:04:18 JohnRiv has joined #components 17:04:28 Rob has joined #components 17:04:29 present+ Leo Balter 17:04:45 present+ Rob Eisenberg 17:04:55 present+ Dan Clark 17:05:00 jensimmons has joined #components 17:05:13 Jemma has joined #components 17:05:45 https://github.com/w3c/webcomponents/issues/877 17:05:50 scribeNick: plh 17:06:01 kenchris has joined #components 17:06:05 Agenda: https://github.com/w3c/webcomponents/issues/877 17:06:13 zcorpan has joined #components 17:06:22 EliHowey has joined #components 17:06:39 present+ 17:06:46 Simon Pieters, Bocoup 17:06:57 graynorton has joined #components 17:07:22 ryosuke: any topic to discusss at this meeting? 17:07:29 present+ 17:07:32 Jen Simmons, Apple 17:07:50 brian: can we do them in reverse order? 17:07:57 ryosuke: sure 17:08:12 Mason: also, we can talk is #45 17:08:47 https://docs.google.com/document/d/1tWvWBuPtQiJFhOEEfMiLtPZuxag1CV_tbTJHE187B_g/edit#heading=h.9ut5sja3keva 17:08:49 https://docs.google.com/document/d/1tWvWBuPtQiJFhOEEfMiLtPZuxag1CV_tbTJHE187B_g/edit# 17:09:07 You've got my by the hair, bkardell 17:09:20 kim_wooglae has joined #components 17:09:52 justinfagnani has joined #components 17:09:53 Kunal has joined #components 17:09:54 present+ 17:09:55 pea has joined #components 17:10:01 Topic: SVG unknown element 17:10:49 Brian: SVG and MathML are both in HTML spec under embedded content 17:11:02 [Brian Kardell, Igalia] 17:11:41 Brian: they lack basic IDL definition until recently 17:11:55 ... SVG has the concept of SVGUnknownElement 17:11:58 yuzhe-han has joined #components 17:12:05 ... Iagalia would like to do the same for MathML 17:12:32 ... both of those are interested in taking advantages of custom elements and ShadowDOM 17:12:53 Justin: this is realted to do custom svg element in the future 17:13:05 ... we've been working on a polyfill 17:13:17 ... SVGUnknownElement is spec'ed out in SVG 2.0 17:13:28 ... make it behave like a g element 17:13:28 s/realted/related 17:13:38 ... would be prefer to custom elements 17:13:46 s/Iagalia/Igalia/ 17:13:57 q+ 17:13:59 ... but nobody working on SVG anymore, and no implementation for SVG 2 17:14:08 ... so I wanted to check in 17:14:15 ... and if anybody knows what's going on 17:14:50 present+ 17:15:15 Tess: I agree with Justin. SVG is not high priority for implementers 17:15:19 Westbrook has joined #components 17:15:20 present+ 17:15:34 Tess: SVG has 2 kinds 17:15:43 ... SVG document as an XML doc 17:15:46 ... and inline in HTML 17:15:53 ... in the XML, it's obvious 17:16:00 ... in the HTML, less obvious 17:16:08 ... wouldn't you get HTMLUnknownElement? 17:16:17 ... are you proposing to change the HTML parser? 17:16:35 Simon: when you have an SVG start tag 17:16:46 ... so any unknown elements get the SVG namespace 17:17:12 Tess: so the only would be in the SVG space. 17:17:23 Simon: it would appear in the DOM inteface 17:17:38 Alex: wouldn't be a breaking change? 17:17:47 Simon: not aware of any 17:18:07 Brian: I agree it's not making changes to the parser 17:18:20 ... worked for our prototype in MathML 17:18:29 ... would be the same for SVG 17:18:41 ... we are interested in SVG and are actively implementing 17:19:01 ... so it's about going through custom elements and shadowDOM 17:19:54 Anne: Wouldn’t there be a change to the parser given that it introduces script execution at those points? 17:20:13 Simon: script execution doesn't really match what browser implementers 17:20:25 ... we'd need to update the spec anyway to match implementation 17:21:09 ... for the DOM interface, it's not a material change to the HTML parser 17:21:21 ... script eexcution would need to change 17:21:50 Olli: list of possibilities or problems? like IDref? 17:22:11 Justin: there are several SVG issues in the webcomponents repo 17:22:12 muodov has joined #components 17:22:25 ... should we readjust them and/or open new ones? 17:22:40 Olli: having the big picture would be useful 17:22:52 Brian: is there any interest to do that? 17:23:24 Justin: it seems a big downside to the world at the moment. blocking use cases 17:23:42 +1 to making this possible 17:23:58 +1 to making this possible 17:24:01 +1 to moving on - I thought it would actually be quicker than that :) 17:24:07 Ryosuke: let's move next topic. maybe best to open issues and track them 17:24:34 Justin: there are some issues open already 17:24:40 Ryosuke: have an umbrella issue 17:24:58 Topic: Scoped custom element registries 17:25:16 (Justin presents slides) 17:26:17 Justin: idea to create a registry, associate with shadowroot 17:26:33 Joshue108 has joined #components 17:26:35 ... shadowdom is scoped to a registry or not 17:26:41 present+ 17:27:06 present+ 17:27:08 Justin: seems good consensus on the MVP 17:27:19 ... some open question 17:27:24 ... #895 17:27:41 ... Upgrade Ordering 17:27:42 q+ 17:27:49 q- bkardell 17:28:12 Justin: would be nice not have to walk the entire document but just a subtree 17:28:23 q- Rob 17:28:46 Rob: status on how this would interact with static shadowDOM? 17:29:04 s/static/declarative/ 17:29:09 Justin: still open question 17:29:57 ... [quoting Ryosuke] 17:30:30 Ryosuke: what about constructors? 17:30:43 ... not making constructors would be ok? 17:31:09 ... there are some ways when we couldn't make it to work 17:31:15 kevinpschaaf has joined #components 17:31:30 Caridy: that case would be tricky, ie refactor hassle 17:31:36 ... we focused on MVP 17:31:47 ... there are some ideas for the future 17:32:02 ... we wouldn't add more features unless people ask for them 17:33:04 ?: if you register a constructor in the registry, what do you get if we're not supporting constructors? 17:33:18 Justin: you get the same constructor you passed to it 17:34:11 ... in order to preserve backward compatibility, constructors are assumed to only work if they are in the global registry 17:34:31 ... in the future, if we want it to work, it would have to be a different API call 17:34:38 ... we want some kind of consistent behavior here 17:34:53 Caridy: yes, many holes there. 17:35:08 Ryosuke: in terms of solving this problem later. 17:35:25 ... each constructor can only be register with at most one registry 17:35:38 ... if we don't do that, we would forever close a path 17:36:16 q+ 17:36:17 ... one way to have a proxy 17:37:00 Ryosuke: if we allow same object with multiple registration, I'm afraid of having an API that would prevent future solutions 17:37:19 Brian: so prevent the same constructor to be registered in different scope? 17:37:23 Ryosuke: right 17:38:02 ... we could have a proxy or prevent multiple registrations 17:38:09 Brian: agreed 17:38:37 Brian->Caridy 17:38:47 Justin: s/Brian:/Caridy/ 17:40:09 Justin: image you have a class that is not registering in the global registry. if it gets used in an other package, the registry could fail 17:40:55 ?: it feels like adopting Ryosuke doesn't prevent from changing in the future 17:41:10 ... we can continue to work on this problem 17:41:16 q+ 17:41:24 Justin: the multi-actor hazard might be an issue 17:41:37 ... this solves the constructor problem however 17:41:53 q+ 17:41:57 ... I'm inclined to say that, with this solution, we would get callable constructor 17:42:30 ?: I'm happy with that. we need to agree on the definition of MVP. is it small enough to try it out? 17:43:42 Ryosuke: let's wait on what to do until we get more feedback? 17:44:14 Justin: fine with this. newable constructor aren't that important. most things are created by createElement 17:44:23 ... I'm fine with this restriction for now 17:45:04 Proposal: registration only accepts constructors that haven't been registered yet? 17:45:25 bkardell_ has joined #components 17:45:25 Justin: we should be able to merge my PR 17:45:28 I don't think this combination of constraints is going to work. 17:45:39 ... and we can track that one decision separately 17:45:40 I' 17:45:46 I'd like to get a word in real quick. 17:46:44 Rob: if we have a situation with no inheritance and single registry, you'll have problems when you can't use the component 17:46:50 ... eg a button 17:47:06 ?: you would subclass the button 17:47:13 ?: or proxy 17:47:19 q- Rob 17:47:34 This means that is any of the code in your page uses scope then likely ALL code in your page needs to do this, which feels really forceful. 17:47:59 q- 17:48:02 Justin: without subclassing, we don't have a way to introduce a constructor in a particular scope 17:48:09 ... I'll open an issue on this 17:49:29 Ryosuke: can we agreement on restricting the registry? 17:49:30 Justin: fine with me 17:49:44 Topic: Next meeting 17:50:07 RyosukeL CSS script modules will be discussed in a different session 17:50:23 Caridi: what about the ordering issue? 17:50:31 Ryosuke: let's take it offline 17:50:39 Justin: I'll open separate issues 17:50:50 ... after we merge the PR 17:50:50 We need to keep discussing this issue of ctors in multiple registries. 17:51:29 zakim, end meeting 17:51:29 As of this point the attendees have been bkardell, boazsender, masonfreed, plh, smaug, Hidde, Leo, Balter, Rob, Eisenberg, Dan, Clark, zcorpan, jensimmons, kenchris, Jemma, 17:51:32 ... justinfagnani, Joshue, slightlyoff 17:51:32 RRSAgent, please draft minutes v2 17:51:32 I have made the request to generate https://www.w3.org/2020/10/26-components-minutes.html Zakim 17:51:34 I am happy to have been of service, plh; please remember to excuse RRSAgent. Goodbye 17:51:38 Zakim has left #components 18:15:26 CaioGondim has joined #components 19:23:39 danyao has joined #components 20:32:16 bicknellr has joined #components 20:35:36 bicknellr has left #components 20:36:56 bicknellr has joined #components 20:42:20 /window/next 20:43:05 oops, trying to learn irrsi 21:10:24 JohnRiv has joined #components 21:22:26 bicknellr has joined #components 22:06:12 JohnRiv has joined #components 23:08:35 bicknellr has joined #components 23:09:42 JohnRiv has joined #components