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 17753 - 10.6.5 fails to cover all cases
Summary: 10.6.5 fails to cover all cases
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-07-12 07:20 UTC by Anton P
Modified: 2012-12-04 00:52 UTC (History)
0 users

See Also:


Attachments

Description Anton P 2012-07-12 07:20:43 UTC
Reported by Simon Sapin

10.6.5 ([Height, margins etc. of] absolutely positioned, replaced elements) provides a sequence of substitutions to ensure good used values of 'height', 'margin-top', 'margin-bottom', 'top' and 'bottom'.

However, it fails to cover the case of an absolutely positioned, replaced element with an auto value for 'top' and 'margin-top' and a non-auto value for 'bottom' and 'margin-bottom'.


Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2012May/0947.html
Comment 1 Anton P 2012-07-12 07:24:43 UTC
Proposal by Simon Sapin:

In step 3, replace:

  # If 'bottom' is 'auto', replace any 'auto' on 'margin-top'
  # or 'margin-bottom' with '0'.

with:

  | "If 'top' or 'bottom' is 'auto'", replace any 'auto' on
  | 'margin-top' or 'margin-bottom' with '0'.

Note that this is analogous to Step 3 in 10.3.8.


Proposal: http://lists.w3.org/Archives/Public/www-style/2012May/0947.html