Re: [csswg-drafts] [css-align] Apply align-content to replaced elements (#4545)

The CSS Working Group just discussed `css-align] Apply align-content to replaced elements #4545`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: css-align] Apply align-content to replaced elements #4545<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/4545<br>
&lt;dael> TabAtkins: Mats wants the content alignment prop to apply to replaced elements. It adds magical padding. Replaced elements ca have padding on them. Easy theoretical model there's nothing wrong with having content alignment work.<br>
&lt;dael> TabAtkins: Seems fine to me. We hadn't thought of it. Similar to object fit and position, but separable because this adjusts outside content box<br>
&lt;dael> TabAtkins: I'm fine adding this in. Want to make sure; check temp of group<br>
&lt;dael> fantasai: Size of replaced element when not stretched?<br>
&lt;dael> fantasai: In order to align something within something need size of container and thing being aligned. Know container. Size of thing being aligned what's the size?<br>
&lt;dael> TabAtkins: intrinsic of content<br>
&lt;dael> fantasai: Is that useful? What does it mean if something w/o intrinsic size<br>
&lt;dael> TabAtkins: Stuff w/o intrinsic doesn't work. How useful, I don't know. Works in the model<br>
&lt;tantek> does this actually enable any new use-cases that aren't already solved by object-fit etc.?<br>
&lt;dael> fantasai: It's possible, but I don't know if it's useful. If not useful why do we spend time to define. What new use cases does this enable? Gotta do something or not worth effort.<br>
&lt;tantek> right if it's not useful (new use-cases, or great simplification of existing use-cases), we should not do it<br>
&lt;fantasai> s/define/define and test and implement/<br>
&lt;dael> TabAtkins: Unless anyone has ideas perhaps push back until we get a use case. Looking over issue from Mats there isn't one<br>
&lt;tantek> I'd leave the issue open to allow gathering of new use-cases<br>
&lt;dael> jensimmons: Wondering what reason was to file issue<br>
&lt;dael> dholbert: Might be easier to have it work than add an exception<br>
&lt;tantek> or ways to simplify existing use-cases. I trust mats had something in mind<br>
&lt;dael> Rossen_: If we don't know the reasoning it's a fair ask to go back and se what he replies with.<br>
&lt;dael> Rossen_: If it's pure theory it's one thing but if there's actual use cases...grid is a common layout that's being used more and more with replaced content for various image and media presentation. Ideally he'll have an example<br>
&lt;dael> Rossen_: Let's continue in the issue<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4545#issuecomment-625513973 using your GitHub account

Received on Thursday, 7 May 2020 21:47:19 UTC