Bug 17753 - 10.6.5 fails to cover all cases
10.6.5 fails to cover all cases
Status: NEW
Product: CSS
Classification: Unclassified
Component: CSS Level 2
unspecified
All Windows 3.1
: P2 normal
: ---
Assigned To: Bert Bos
public-css-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-12 07:20 UTC by Anton P
Modified: 2012-12-04 00:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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