Added mOverflow to nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@637 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user