[Webkit-unassigned] [Bug 12797] The image size is not honoring the calculated/available space size from CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 18 03:12:33 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12797





------- Comment #5 from rvamerongen at xs4all.nl  2007-02-18 03:12 PDT -------
 This is outlined
> very clearly in CSS2.1.
> 
> I think the spec needs to be changed, since we've gotten this report both
> internally in Radar and externally in Bugzilla, so I will keep this bug open
> for now.
> 

My mistake, you are right about that.
But if I understands it ( http://www.w3.org/TR/CSS21/cascade.html#inheritance 
) well then when I ( using the code above ) have a container arround the img (
between navElement and NavImg ) with something like 

.navElmCont {
margin: 0px 5px 20px 5px;
width:auto;
height:auto;
}

then safari doesn't honor the calculated parental width values even when I
cahnge the width and height values to inherit into the image.
Like
.navImg {
...
        width: inherit;
        height:inherit;
}

6.2 Inheritance reads
( When inheritance occurs, elements inherit computed values. The computed value
from the parent element becomes both the specified value and the computed value
on the child. )


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list