- From: David Vest <davve@opera.com>
- Date: Tue, 26 Jan 2016 10:39:50 +0100
- To: www-style list <www-style@w3.org>
https://drafts.csswg.org/css-sizing-3/#replaced-intrinsic says:
For replaced elements, the min-content size and max-content size are
equivalent and correspond to the appropriate dimension of the
concrete object size returned by the default sizing algorithm
[CSS3-IMAGES] of the element, calculated with an unconstrained
specified size.
It doesn't say what's the default object size should be in this
case. If it would be the standard 300x150 fallback I fear the svg
would pop out to 300px in something like:
<!DOCTYPE html>
<style>
div { width: 100px }
</style>
<div><svg viewBox="0 0 1 1"></svg></div>
Other options?
David
Received on Tuesday, 26 January 2016 09:40:19 UTC