- From: <bugzilla@jessica.w3.org>
- Date: Wed, 26 Jun 2013 13:10:05 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22474
Bug ID: 22474
Summary: Percentage top and bottom property does not always
refer to the height of containing block
Classification: Unclassified
Product: CSS
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: CSS Level 2
Assignee: bert@w3.org
Reporter: curvedmark@gmail.com
QA Contact: public-css-bugzilla@w3.org
>From http://www.w3.org/TR/CSS21/visuren.html#position-props
the spec says:
> <percentage>
> The offset is a percentage of the containing block's width (for 'left' or 'right') or height (for 'top' and 'bottom').
But test case http://jsbin.com/ocadip/18/edit show that for all major browsers,
when a relatively positioned box is inside an absolutely positioned box, it's
percentage top property resolves to zero.
>From the discussion at
http://lists.w3.org/Archives/Public/www-style/2013Jun/0473.html it appears that
if a relatively positioned box's containing block doesn't have an explicitly
specified height value the top and bottom property of that relatively
positioned box, if they are of a percentage value, should compute to zero,
which works much like the height property.
So I think the spec should at least mention that.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 26 June 2013 13:10:14 UTC