- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Sep 2023 14:05:33 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Select List`. <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Select List<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/9284<br> <fantasai> jarhar: Joey from Google<br> <fantasai> jarhar: in Open UI we've been working on new HTML element called <selectlist>, intended to be more customizable select<br> <fantasai> jarhar: ran into issue of wanting render one piece of user markup in two different places at the same time<br> <fantasai> jarhar: and make them independently styleable<br> <past> Selectlist element explainer for more context: https://open-ui.org/components/selectlist/<br> <fantasai> jarhar: this is an example of a select list, one of the common desires is adding icons for each item<br> <fantasai> jarhar: so you can use an option, and see the button<br> <fantasai> jarhar: entire contents of option, not just text<br> <fantasai> jarhar: do this with <selectedoption/><br> <fantasai> jarhar: currently implemented via cloneNode()<br> <fantasai> jarhar: replace content with selected option<br> <fantasai> jarhar: chose this solution because not much better option<br> <fantasai> jarhar: considered shadow DOM, but hard to style<br> <fantasai> jarhar: considered requiring authors to add script, but want declarative<br> <fantasai> jarhar: several others<br> <fantasai> jarhar: I mentioned styling differently, here's another example<br> <fantasai> jarhar: button renders content differently from options in the list box<br> <fantasai> jarhar: shows symbol, not the text<br> <fantasai> jarhar: accomplished with CSS rule that sets text to 'display: none' but only when inside selectoption element<br> <fantasai> jarhar: wanted to ask if CSS has a better way to do this<br> <fantasai> jarhar: cloning the user DOM into another part of HTML spec is unusual, there's no precedent<br> <fantasai> jarhar: concerned might be error-prone<br> <fantasai> annevk: also creates synchronization issues<br> <fantasai> annevk: HTML elements are expected to be ???<br> <astearns> s/???/live/<br> <fantasai> annevk: you'd have to clone, and gets very messy very quickly<br> <TabAtkins> s/???/live/<br> <fantasai> annevk: wanted to have two sets of render ???<br> <TabAtkins> q+<br> <fantasai> TabAtkins: only one spot in the DOM, but render twice<br> <fantasai> jarhar: idk what part of rendering or which tree this might exist in<br> <past> s/???/boxes/<br> <fantasai> jarhar: [something about Shadow DOM]<br> <bkardell_> q+<br> <fantasai> jarhar: Here's the problem, if anyone wnats to comment in the CSSWG issue we opened, that would be helpful<br> <TabAtkins> ack TabAtkins<br> <astearns> ack TabAtkins<br> <astearns> ack bkardell_<br> <fantasai> bkardell_: Similar thing [fades out]<br> <masonf> cna't hear brian<br> <masonf> s/cna't/can't<br> <astearns> s/[fades out]/have been requested<br> <fantasai> bkardell_: this has been asked for in several ways at different times<br> <masonf> jarhar can you stop presenting so we can see people?<br> <fantasai> bkardell_: e.g. elements() in CSS<br> <fantasai> bkardell_: issue on Open UI 616, cgives use cases and rationale<br> <fantasai> bkardell_: March 2021 HTML 6607 asking for an element like <slot> but called <mirror> for similar needs<br> <fantasai> bkardell_: clear desire for something like this<br> <fantasai> astearns: then let's leave this as Yes, we want to do this<br> <fantasai> astearns: ask CSSWG to review<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9284#issuecomment-1719522613 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 September 2023 14:05:35 UTC