A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/4218 below:

[css-sizing-3] max-content contribution of replaced only-aspect-ratio elements might be improvable · Issue #4218 · w3c/csswg-drafts · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

[css-sizing-3] max-content contribution of replaced only-aspect-ratio elements might be improvable #4218

Description

We appear to have no interop on this case:

<!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.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3