W3C home > Mailing lists > Public > www-style@w3.org > January 2016

[css-sizing] default object size for intrinsic sizes of replaced elements

From: David Vest <davve@opera.com>
Date: Tue, 26 Jan 2016 10:39:50 +0100
Message-ID: <CAHsiBXuqxuqN5LB7ac3V4CLUv19qqeZ_iSTqzatYY02PDtrMmQ@mail.gmail.com>
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>
    div { width: 100px }
<div><svg viewBox="0 0 1 1"></svg></div>

Other options?

Received on Tuesday, 26 January 2016 09:40:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC