- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Wed, 09 Aug 2017 18:40:58 +0000
- To: public-css-archive@w3.org
Hehe, we can add some links, yes. The reason we don't define things in detail is because that's a lot of work. In the case of images, the default sizing in CSS Images doesn't actually apply: replaced elements also have to [account for min/max-width/height](https://www.w3.org/TR/CSS21/visudet.html#min-max-widths), which makes their sizing algorithm rather more complicated than for CSS images like backgrounds. You'll notice that in [Examples of CSS Object Sizing](https://drafts.csswg.org/css-images-3/#object-sizing-examples) replaced elements do not invoke the default sizing algorithm: this is why. We did not want to duplicate CSS2.1 here. As for shrink-to-fit sizing in general, large aspects of that are undefined in CSS2.1, which is why the note about implementations. We're trying to avoid trying to fully define shrink-to-fit here by referencing CSS2.1 in the general interest of finishing the spec so that we have terminology and the new keywords available: we only require that the behavior of these new keywords and anywhere else that hooks into this behavior be consistent within a given implementation. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1609#issuecomment-321345010 using your GitHub account
Received on Wednesday, 9 August 2017 18:40:59 UTC