W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

[csswg-drafts] [css-sizing-3] max-content contribution of replaced only-ar elements might be improvable (#4218)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Aug 2019 18:17:33 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-482456597-1566238652-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-3] max-content contribution of replaced only-ar elements might be improvable ==
We appear to have no interop on this case: 

```html
<!DOCTYPE html>
<div style="width: max-content; border: thick double;">
<svg style="float:left;" viewBox="0 0 200 100"></svg>
```

Chrome gives it 0x0, Firefox gives it ICB width and then ratio height. The spec says 300px width and ratio height.

We suggest to go with FF's behavior, as this seems more useful than 0, and less arbitrary than 300px.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4218 using your GitHub account
Received on Monday, 19 August 2019 18:17:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC