16:57:28 RRSAgent has joined #css 16:57:33 logging to https://www.w3.org/2024/01/17-css-irc 16:57:33 RRSAgent, make logs Public 16:57:34 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 16:57:42 gerard has joined #css 16:58:35 gerard has joined #css 16:58:49 Frances has joined #CSS 17:00:17 flackr has joined #css 17:01:57 gerard has joined #css 17:02:10 present+ 17:02:17 schenney has joined #css 17:02:18 present+ 17:02:27 present+ 17:02:40 emeyer has joined #css 17:03:00 kbabbitt has joined #css 17:03:05 https://app.rallly.co/invite/K6gNLmEjKMZB 17:03:05 present+ 17:03:09 chris has joined #css 17:03:19 present+ 17:03:21 present+ 17:03:24 present+ 17:03:24 present+ 17:03:39 present+ 17:03:44 I can scribe today 17:04:31 github-bot: take up https://github.com/w3c/csswg-drafts/issues/6900#issuecomment-1894132753 17:04:31 Topic: Republishing Tasks Permathread 17:04:31 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/6900. 17:04:59 Alan: First on the Agenda is FPWD for css-viewport-1 17:05:28 Emilio: Something might be worse than doing, but we can republish it. Place for things in the spec that are linkable. 17:05:44 gerard has joined #css 17:05:53 Alan: Inclined to publish now and zoom stuff later. 17:05:57 q+ 17:06:09 PROPOSAL: Publish FPWD for css-viewport-1 17:06:50 Florian: Section 3 viewport, is it light? 17:07:02 Alan: We already published the section 17:07:03 rrsagent, here 17:07:03 See https://www.w3.org/2024/01/17-css-irc#T17-07-03 17:07:07 Alan: Any objections? 17:07:14 Alan: None and resolved. 17:07:18 Present+ 17:07:28 RESOLVED: Create FPWD for css-viewport-1 17:07:49 RESOLVED: Publish FPWD for css-viewport-1 17:07:50 jfkthame has joined #css 17:08:14 present+ 17:08:18 Alan: Who wants to talk about display mode? 17:08:21 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9260 17:08:22 Topic: [mediaqueries-5] Add display-mode for document picture-in-picture 17:08:22 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9260. 17:08:32 https://github.com/WICG/document-picture-in-picture 17:08:47 gerard has joined #css 17:09:14 Tab: There is a spec for the picture-in-picture feature. For the document, should it be exposed as a display mode to format differently? For how browser is wrapping you. 17:09:17 argyle has joined #css 17:09:20 q+ 17:09:25 PROPOSAL: Add display-mode for document picture-in-picture 17:09:28 q- 17:09:29 ack Frances 17:09:31 ack florian 17:09:34 ack emilio 17:10:07 Emilio: Alot of the preexisting values for this would be reasonable. How do the values intersect such as in full screen? 17:10:31 Tab: Mutually exclusive, if not right, we can figure it out. 17:10:58 Emilio: Not opposed. Probably file an issue in a variety of cases. 17:11:41 Tab: Reviewed by people, about 60 issues. 17:12:05 Alan: A couple avenues such as specifying what's there in the wiki-spec and take on the issues or in the repository 17:12:26 Tab: All picture-in-picture api, displayed as pip or not? 17:12:58 Alan: Any other comments on taking on a picture-in-picture media query? 17:13:04 present+ 17:13:18 PROPOSAL: Adopt picture-in-picture media query 17:13:31 Alan: Any objections? 17:13:38 RESOLVED: Adopt picture-in-picture media query 17:13:52 github-bot: https://github.com/w3c/csswg-drafts/issues/9674 17:13:52 astearns, Sorry, I don't understand that command. Try 'help'. 17:13:58 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9674 17:13:59 Topic: [css-mediaqueries] Inverted-colors media feature can cause problems on semi-transparent images. 17:13:59 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9674. 17:14:16 Alan: Next issue is about Inverted-colors media feature 17:14:33 gerard has joined #css 17:15:21 Emilio: Seemed familiar, spec has ui style that manually applies a filter to an image and a picture and video and so on. Seems good but it is a problem for a bunch of images, if images with same color as text it is invisible. Agree to not inverting and react to preferences themselves. 17:15:44 q+ 17:15:46 Emilio: Unfortunate for visual images, makes sense to not invert because aligns with how we treat other user preferences. 17:15:51 ack emeyer 17:16:17 +1 in general, auto-responding to the query is confusing (especially when there's a mix of behaviors between browsers, ugh) 17:16:52 Eric: Had to do unininverting and reinvertting, browser should not be trying to guess. Authors should deal with them and not at browser level. 17:16:57 q+ 17:17:14 ack argyle 17:17:43 +1 to favoring author control 17:17:46 Adam: Chrome has tried automatic dark-mode, not to just invert, but intelligently invert. Should leave the value in the authors control, many edge cases and nesting scenarios. 17:18:14 PROPOSAL: Remove requirement for the ua stylesheet rule for inverted-colors. 17:18:22 Alan: Any objections or comments? 17:18:30 RESOLVED: Remove requirement for the ua stylesheet rule for inverted-colors 17:18:41 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9422 17:18:41 Topic: [selectors] Is it intentional that :has(:is()) is different from :has()? 17:18:41 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9422. 17:19:33 present+ 17:19:47 Emilio: Feels weird to make :has() to escape the scope of the subject, fine with no change, slow path in every engine if wrong. 17:20:16 Alan: Is there something we can put in the specification to make it more clear? 17:20:30 Emilio: Clarifying is good 17:21:04 Tab: Behavior is what you get when combining two features. If something that can be added, put in the spec. 17:21:16 Alan: Any other comments? 17:21:29 PROPOSAL: No change to :has() behavior 17:21:35 Alan: Any objections? 17:21:41 RESOLVED: No change to :has() behavior 17:21:44 github-bot: take up https://github.com/w3c/csswg-drafts/issues/5684 17:21:44 Topic: [selectors] What is the reasoning for ignoring defaullt namespaces only on the subject for :is() / :where() / :not()? 17:21:44 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/5684. 17:21:55 gerard has left #css 17:22:11 Alan: Namespaces for :is() / :where() / :not() 17:22:33 gerard has joined #css 17:22:44 Emilio: Compact wise is probably okay, Tab's answer is good but weird that nested selector list has weird parsing behavior. 17:23:35 Tab: Context if you write a selector without a namespace, with a url, will apply namespace to all selectors unless specifically overridden, even non type selector in the element name. 17:23:42 a.foo 17:23:52 a:is(.foo, .bar) 17:24:14 foo|a:is(.foo, .bar) 17:24:27 Tab: Issue is if you start with a.foo and then want to have foo or a bar class, normally second selector matches same or more elements. In presence of default namespace selector, it might not. 17:25:22 gerard has joined #css 17:25:32 foo|a.foo => foo|a:is(.foo, .bar) 17:25:46 Tab: If it wasn't for the special case, they could get the default namespace rather than .foo namespace. Selector might not match anything. Do not apply now special namespace rule to their arguments. 17:25:55 present+ 17:26:05 foo|a.foo 17:26:10 foo|a:nth-child(n of .foo) 17:26:35 Tab: Some related issues about other spots such as nth child of the selector. Expect to match all elements, with default namespace rule, it might not match anything. 17:27:28 Tab: Alternative don't want backwards incompatible, can remove default namespace rule to only use when there is a type selector. Namespaces in general are rarely used across css, could fix by removing the special rule. 17:28:02 Emilio: What is the implementation style of the rule? 17:28:08 ack dbaron 17:29:00 David: Probably well implemented for :not for the subject part of it. Referencing type selector, should be explicit about including universal selectors. 17:29:09 Tab: default selector is a universal selector 17:29:25 David: :hover and *:hover are weird. 17:29:43 Oriol: If using featureless element, need to use universal selector to match them. 17:29:53 Emilio: Only on quirks mode? 17:30:12 s/are weird/would now be different, which is a little weird/ 17:30:16 :host *:host 17:30:17 Oriol: For :hover, they are the same except for some cases can add universal selector to change the meaning. 17:30:40 Tab: :host and *:host might not match a featureless element. 17:31:14 Emilio: Ignore default namespace unless global or type selector. 17:31:20 s/Referencing type selector/When you talk about a type selector/ 17:31:31 s/about including/about whether or not you're including/ 17:32:21 Tab: We can close the issue with no change and open another issue with changing the underlying rule entirely to be mutually exclusive with some of the other issues with the :is rule, need to be consistent and intuitive. Why do we have the rule in first place need to explain. 17:32:39 Alan: Need to describe if backwards compatible. 17:33:12 Emilio: Do we want it in the right most compound, why only in the right most compound? 17:33:53 Tab: The one that is selecting the element, namespace rule probably invented to restrict to the default namespace, would make slightly harder to use the selector? 17:34:31 David: Might be a function of how the selectors evolve over time, not taking combinators, and now taking them. 17:34:46 Tab: Does make sense to apply to all components. 17:35:03 David: rule to not apply to is part after last combinator makes sense. 17:35:05 gtalbot has joined #css 17:35:33 Tab: Intuition is to use :is and :where as syntax rules, such as preceding combinator, treated same as outer 17:36:01 David: when there is a default namespace, should only be applied in one space in the selector, if overriding place in both spaces. 17:36:11 David: right now outside of :where and not inside 17:36:49 Emilio: :Has is different, is doesn't match. nth is different from :where. Interesting to see where in browsers it's implemented, possible non intentional implementation. 17:37:17 s/if overriding place in both spaces/so if you're overriding it you don't have to override it the same way in both places/ 17:37:36 Emilio: fine with no change, can address in another issue. Might not be specific to Firefox. We could try simplifying it. 17:37:42 David: also, regarding :has(), I can certainly see :has() working differently 17:38:25 s/space in the selector/place in the selector for a particular element/ 17:38:41 PROPOSAL: Close issue #5684 no change 17:38:49 Alan: Can make the rule consistent, open a new issue on backwards compatibility or remove rule entirely 17:39:02 ACTION: TabAtkins to create a new issue for removing the rule 17:39:09 RESOLVED: Close issue #5684 with no change 17:39:29 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9600 17:39:29 Topic: [css-nesting] Specificity of contextually-invalid selectors. 17:39:29 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9600. 17:39:33 Alan: next is css-nesting 17:39:44 q+ 17:40:37 Emilio: About what happens when nesting invalid pseudo-element. Keeps sort of being valid, reuse selector from the outside. Behavioral specificity of nesting doesn't seem defined. 17:40:49 ack matthieud 17:41:12 I have no opinion on this issue, happy to clarify/edit whatever the group wants. 17:41:28 matthieu: Weird that specificity is taken in account. Keep invalid selector, we don't take specificity in account. 17:42:18 Emilio: seems fine to me, would make behavior of nesting and not nesting as consistent, makes sense. Part of the way to prevent is by sharing memory, need to make specificity not count. 17:42:57 Alan: Defining a behavior shouldn't have too much backwards compatibility risk possibly. 17:43:22 Emilio: Right now are consistent in reusing the specificity, other cases like :has(:has) 17:43:31 Alan: Any other comments or questions? 17:44:18 PROPOSAL: Specify contextually-invalid selectors via nesting 17:44:39 Emilio: nesting doesn't have specificity at the moment. 17:44:41 PROPOSAL: contextually-invalid selectors have a specificity of zero 17:45:35 Matthieu: Specific wording? 17:45:49 Emilio: Make it behave the same as the regular selector list 17:45:59 gtalbot has joined #css 17:46:53 gtalbot has joined #css 17:46:57 RESOLVED: contextually-invalid selectors have a specificity of zero 17:47:25 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9337 17:47:26 Topic: [css-contain][css-sizing] ScrollIntoView a descendant of element with content-visibility:auto 17:47:26 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9337. 17:48:30 Emilio: some interoperability, need to generalize to arbitrary ancestors. ScrollIntoView should update layout to scroll into view to be visible. 17:49:00 Alan: Change definition relevant to the user to add a condition via scrollintoview to be relevant. 17:49:11 q+ 17:49:13 q+ 17:49:22 ack flackr 17:49:24 Emilio: Make all ancestors relevant as well. 17:49:59 flack:Might not fully fix problem, scrolling away from is also visibility:auto, other content might change 17:50:06 Emilio: ideally it shouldn't 17:50:35 flack: scrolling may pass over other content 17:51:02 gtalbot has joined #css 17:51:20 Emilio: If scrolling to the hundredth item and scrolling into view, make hundredth item relevant and the ancestors. The siblings from 50 to 100 might not be relevant to the user and can change size. 17:51:50 flack: We need to be adjusting the scale-target 17:52:19 Alan: Not an issue with the proposed resolution 17:52:50 flack: instead of calculating target, we can update the target with the location. Such as when the target scrolls into view. 17:52:55 ack vmpstr 17:53:45 vlad: Can scollintoview without an animation, still need the resolution. The position of the element may be locked in size-overflow, and might not approach the viewport. 17:54:22 vlad: Content-visibility:auto state changes, might fire an event in those cases. 17:55:09 flack: reasonable argument for accepting proposed resolution, possible other resolutions. 17:55:17 Alan: any other comments? 17:55:59 PROPOSAL: ScrollIntoView a descendant of element with content-visibility:auto relevant to the use, should also affect ancestors. 17:56:33 RESOLVED: add ScrollIntoView to the definition of relevant to the use, should also affect ancestors. 17:56:56 s/to the use/to the user/ 17:57:59 github-bot: take up https://github.com/w3c/csswg-drafts/issues/9121 17:57:59 Topic: [css-transforms-1] The computed value of `transform` if the transformed element is display:none 17:57:59 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/9121. 17:59:32 topic: none 17:59:35 Emilio: All 3 options might have a problem, last time thought of 3 options and wrote disadvantages to each. 17:59:48 https://app.rallly.co/invite/K6gNLmEjKMZB 18:00:37 s/Emilio/dbaron/ 18:01:43 Linux_Kerio has joined #css 18:30:11 Linux_Kerio has joined #css 18:36:52 emeyer has left #css 19:29:05 jfkthame has joined #css 19:36:53 jfkthame has joined #css 20:18:26 jfkthame has joined #css 20:19:15 Zakim has left #css 21:23:46 keithamus_ has joined #css 21:24:43 Linux_Kerio has joined #css 21:43:40 jfkthame has joined #css 21:51:14 jfkthame has joined #css 22:08:59 jfkthame has joined #css