зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1315353 - Part 1: Fix the wrong image size of border-image-repeat while the content is SVG. r=dbaron
--HG-- extra : rebase_source : 645cfd900a937bfe3356f5cdce607bc08bacf34b
This commit is contained in:
Родитель
391e9fa548
Коммит
dfc8522b08
|
@ -5761,8 +5761,7 @@ nsImageRenderer::DrawBorderImageComponent(nsPresContext* aPresContext,
|
|||
nsSize repeatSize;
|
||||
nsRect fillRect(aFill);
|
||||
nsRect tile = ComputeTile(fillRect, aHFill, aVFill, aUnitSize, repeatSize);
|
||||
CSSIntSize imageSize(nsPresContext::AppUnitsToIntCSSPixels(srcRect.width),
|
||||
nsPresContext::AppUnitsToIntCSSPixels(srcRect.height));
|
||||
CSSIntSize imageSize(srcRect.width, srcRect.height);
|
||||
return nsLayoutUtils::DrawBackgroundImage(*aRenderingContext.ThebesContext(),
|
||||
aPresContext,
|
||||
subImage, imageSize, samplingFilter,
|
||||
|
|
Загрузка…
Ссылка в новой задаче