Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov
MozReview-Commit-ID: KRfgYEW7aWY
This commit is contained in:
@@ -213,8 +213,8 @@ HTMLSelectOptionAccessible::NativeState()
|
||||
if (listAcc) {
|
||||
nsIntRect optionRect = Bounds();
|
||||
nsIntRect listRect = listAcc->Bounds();
|
||||
if (optionRect.y < listRect.y ||
|
||||
optionRect.y + optionRect.height > listRect.y + listRect.height) {
|
||||
if (optionRect.Y() < listRect.Y() ||
|
||||
optionRect.YMost() > listRect.YMost()) {
|
||||
state |= states::OFFSCREEN;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user