From 83b2cc47a0bdc93098d3cc301697d1387bd14036 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Wed, 18 May 2016 18:21:41 +0200 Subject: [PATCH] Bug 1273129 - Fix typo from physical to logical conversion (in bug 1113206). r=jfkthame --- layout/forms/nsComboboxControlFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/forms/nsComboboxControlFrame.cpp b/layout/forms/nsComboboxControlFrame.cpp index 1f74c70fc5e9..6390844c6992 100644 --- a/layout/forms/nsComboboxControlFrame.cpp +++ b/layout/forms/nsComboboxControlFrame.cpp @@ -595,8 +595,8 @@ nsComboboxControlFrame::GetAvailableDropdownSpace(WritingMode aWM, containerSize); mLastDropDownAfterScreenBCoord = thisScreenRect.BEnd(aWM) + aTranslation->B(aWM); - mLastDropDownBeforeScreenBCoord = thisScreenRect.BEnd(aWM) + - aTranslation->B(aWM); + mLastDropDownBeforeScreenBCoord = thisScreenRect.BStart(aWM) + + aTranslation->B(aWM); } nscoord minBCoord;