зеркало из https://github.com/mozilla/gecko-dev.git
backout Bug 430465
This commit is contained in:
Родитель
db8b65d4c8
Коммит
b0e60a1166
|
@ -771,8 +771,12 @@ nsThebesImage::ThebesDrawTile(gfxContext *thebesContext,
|
|||
}
|
||||
|
||||
gfxMatrix patMat;
|
||||
gfxPoint p0;
|
||||
|
||||
p0.x = - floor(tmpOffset.x + 0.5);
|
||||
p0.y = - floor(tmpOffset.y + 0.5);
|
||||
patMat.Scale(scale, scale);
|
||||
patMat.Translate(-tmpOffset);
|
||||
patMat.Translate(p0);
|
||||
|
||||
gfxPattern pat(surface);
|
||||
pat.SetExtend(gfxPattern::EXTEND_REPEAT);
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div {
|
||||
background-position:-100.5px 0;
|
||||
height:10px;
|
||||
background-repeat: repeat-y;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAAKCAMAAADb5DWMAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAJUExURXe77v///+7u7hs01mEAAADMSURBVHjaYmAYBaOAQsAIAkx4AeMoGAUjGhCRP0ZLklFAKQAIoFE0CkYr9FEwCkYr9FEwDABAAI2iUTBaoY+CUTBaoY+CYQAAAmgUjYLRCn0UjILRCn0UDAMAEECjaBSMVuijYBSMVuijYBgAgAAaRaNgtEIfBaNgtEIfBcMAAATQKBoFoxX6KBgFoxX6KBgGACCARtEoGK3QR8EoGK3QR8EwAAABNIpGwWiFPgpGwWiFPgqGAQAIoFE0CkYr9FEwCkYr9FEwDABAgAEAmPQjKS0rod8AAAAASUVORK5CYII=');
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div {
|
||||
background-position:-100.5px 0;
|
||||
height:20px;
|
||||
background-repeat: repeat-y;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAAKCAMAAADb5DWMAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAJUExURXe77v///+7u7hs01mEAAADMSURBVHjaYmAYBaOAQsAIAkx4AeMoGAUjGhCRP0ZLklFAKQAIoFE0CkYr9FEwCkYr9FEwDABAAI2iUTBaoY+CUTBaoY+CYQAAAmgUjYLRCn0UjILRCn0UDAMAEECjaBSMVuijYBSMVuijYBgAgAAaRaNgtEIfBaNgtEIfBcMAAATQKBoFoxX6KBgFoxX6KBgGACCARtEoGK3QR8EoGK3QR8EwAAABNIpGwWiFPgpGwWiFPgqGAQAIoFE0CkYr9FEwCkYr9FEwDABAgAEAmPQjKS0rod8AAAAASUVORK5CYII=');
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -816,5 +816,4 @@ fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 424074-1-ref2.xul 424074-1-ref3.xul
|
|||
== 428521-1b.html 428521-1-ref.html
|
||||
== 428521-1c.html 428521-1-ref.html
|
||||
== 430412-1.html 430412-1-ref.html
|
||||
== 430465-1.html 430465-1-ref.html
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче