Added mOverflow to nsStylePosition

This commit is contained in:
troy
1998-04-25 04:07:18 +00:00
parent 4ffef519d7
commit aaf7dee790
10 changed files with 129 additions and 85 deletions

View File

@@ -668,6 +668,11 @@ void CSSStyleRuleImpl::MapStyleInto(nsIStyleContext* aContext, nsIPresContext* a
position->mPosition = ourPosition->mPosition.GetIntValue();
}
// overflow
if (ourPosition->mOverflow.GetUnit() == eCSSUnit_Enumerated) {
position->mOverflow = ourPosition->mOverflow.GetIntValue();
}
// box offsets. note: default value is auto so we don't check for it here
if (ourPosition->mLeft.IsLengthUnit()) {
position->mLeftOffset = CalcLength(ourPosition->mLeft, font, aPresContext);