This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15883 - Make undefined the used height of auto-height replaced elements with intrinsic ratio? (Issue 283)
Summary: Make undefined the used height of auto-height replaced elements with intrinsi...
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSS Level 2 (show other bugs)
Version: unspecified
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Bert Bos
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-04 15:55 UTC by Anton P
Modified: 2012-12-04 00:52 UTC (History)
0 users

See Also:


Attachments

Description Anton P 2012-02-04 15:55:57 UTC
Reported by fantasai

This is part of Issue 283 (see below)

As per the resolution of Issue 283, 10.3.2 (width of inline, replaced elements) was changed as follows:

  # If 'height' and 'width' both have computed values of 'auto'
  # and the element has an intrinsic ratio but no intrinsic
  # height or width, <del>and</del> <ins>then the used value of
  # 'width' is undefined in CSS 2.1. However, it is suggested
  # that, if</ins> the containing block's width does not
  # itself depend on the replaced element's width, then the used
  # value of 'width' is calculated from the constraint equation
  # used for block-level, non-replaced elements in normal flow.

A similar change was proposed for 10.6.1 (height of non-abspos replaced elements):

  | Otherwise, if 'height' has a computed value of 'auto', and
  | the element has an intrinsic ratio then the used value of
  | 'height' <del>is: (used width) / (intrinsic ratio)</del>
  | <ins>is undefined. However it is suggested that it be
  | calculated from the used width and intrinsic ratio so that
  | the aspect ratio is preserved.</ins>

This latter change was rejected, yet Issue 283 remained open on the Issues wiki with the comment "Edited. =Bert= Missing edits to 10.6.2 (if first proposal is preferred)".

It needs to be decided whether to make the latter change or not.


Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2011Mar/0519.html

Rejection: http://lists.w3.org/Archives/Public/www-style/2011Mar/0623.html



Issue 283: http://wiki.csswg.org/spec/css2.1#issue-283

Summary
    No passes for replaced-intrinsic-ratio-001
Resolution
    Undefine sizing of replaced elements with intrinsic ratio but no size.
Proposal
    http://lists.w3.org/Archives/Public/www-style/2011Mar/0519.html
Proposal
    http://lists.w3.org/Archives/Public/www-style/2011Mar/0623.html
Status
    Edited. =Bert= Missing edits to 10.6.2 (if first proposal is preferred)