зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1521425 - Round up when inflating mRect of SVG text. r=longsonr
This commit is contained in:
Родитель
d631a55079
Коммит
7afb5aaf34
|
@ -3520,7 +3520,7 @@ void SVGTextFrame::ReflowSVG() {
|
|||
// Due to rounding issues when we have a transform applied, we sometimes
|
||||
// don't include an additional row of pixels. For now, just inflate our
|
||||
// covered region.
|
||||
mRect.Inflate(presContext->AppUnitsPerDevPixel() / mLastContextScale);
|
||||
mRect.Inflate(ceil(presContext->AppUnitsPerDevPixel() / mLastContextScale));
|
||||
}
|
||||
|
||||
if (mState & NS_FRAME_FIRST_REFLOW) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче