mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1180643 - Fix the SetY() method on LogicalPoint to update the correct field. r=smontagu
This commit is contained in:
parent
0d43f2a7cc
commit
1316bd356f
@ -720,9 +720,9 @@ public:
|
|||||||
{
|
{
|
||||||
CHECK_WRITING_MODE(aWritingMode);
|
CHECK_WRITING_MODE(aWritingMode);
|
||||||
if (aWritingMode.IsVertical()) {
|
if (aWritingMode.IsVertical()) {
|
||||||
B() = aY;
|
|
||||||
} else {
|
|
||||||
I() = aY;
|
I() = aY;
|
||||||
|
} else {
|
||||||
|
B() = aY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user