- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Dec 2021 19:00:30 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `logical-viewport units and wm propagation`, and agreed to the following: * `RESOLVED: Writing-mode sensitive viewport units (and analogous units) use the writing mode of the element they're used on.` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> Topic: logical-viewport units and wm propagation<br> <TabAtkins> github: https://github.com/w3c/csswg-drafts/issues/6873<br> <TabAtkins> fantasai: issue was raised to simplify some edges cases around writing modes and viewport units<br> <TabAtkins> fantasai: Also brought up the question - I think we got the issue wrong, as it says to resolve against the root element's writing mode, but I think generally you want the element's writing mode.<br> <TabAtkins> fantasai: So proposed resolution is to use the element's writing mode to resolve vi/vb, rather than the root element.<br> <fantasai_> s/edge cases around/edge cases around body propagation and/<br> <fantasai_> TabAtkins: I agree<br> <TabAtkins> smfr: Does tha tmake inheritance complicated?<br> <TabAtkins> fantasai_: No, they compute to lengths before inheritance<br> <TabAtkins> florian: Yeah, I think I remember that being what I wanted. If you're doing a font-size in viewport units, you want the logical axis you're using.<br> <TabAtkins> miriam: Might be confusing with container queries which have to be set up to be inline or block<br> <TabAtkins> miriam: So you set up a container with "inline", this might not match the container you've established.<br> <TabAtkins> emilio: What do we resolve our units against, the container or the element?<br> <Rossen_> q?<br> <TabAtkins> fantasai_: So this is about the container-relative units.<br> <TabAtkins> emilio: We added a way to resolve against different containers. It would be very bad if we resolved relative units against different axises for each property.<br> <TabAtkins> emilio: So think we should resolve them against the element's wm.<br> <TabAtkins> miriam: So when you use the "cq inline unit" it looks for the nearest container with inline containment.<br> <TabAtkins> miriam: Could potentially be confusing if the inline unit doesn't resolve against a container declaring "inline"<br> <fantasai_> TabAtkins: I agree that the potential of inline not matching inline is a general problem with mismatched writing modes, and agree that within an element you want inline to match what that element thinks its inline axis is<br> <TabAtkins> fantasai_: So proposed resolution is that viewport units (and analogues) use the writing mode of the element they're used on.<br> <TabAtkins> Rossen_: objections?<br> <TabAtkins> RESOLVED: Writing-mode sensitive viewport units (and analogous units) use the writing mode of the element they're used on.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6873#issuecomment-995093243 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 15 December 2021 19:00:35 UTC