- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Apr 2020 18:13:20 +0000
- To: public-css-archive@w3.org
Huh, I... did not realize that padding worked on images. Makes sense, I guess, since padding *is* outside the content area. > So what you're asking, is not about baseline alignment specifically, but to have align-content and justify-content, in general, apply to replaced elements, correct? That does appear to be it, yes. > I will note that replaced elements do already have the object-fit and object-position properties applying to them... I think there's a reasonable interaction here - object-* properties still just size/align the content within the *content box*, but the *-content properties would effectively apply "magic padding" to align the content box as specified. `normal` would resolve to `stretch` for replaced elements, meaning no magic padding. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4545#issuecomment-621376912 using your GitHub account
Received on Wednesday, 29 April 2020 18:13:21 UTC