зеркало из https://github.com/mozilla/gecko-dev.git
Backing out 0609193325c9 (Bug 621253) due to orange a=orange
This commit is contained in:
Родитель
d77fb8aae0
Коммит
1598bb2de6
|
@ -855,30 +855,6 @@ nsExternalResourceMap::ShowViewers()
|
|||
mMap.EnumerateRead(ExternalResourceShower, nsnull);
|
||||
}
|
||||
|
||||
void
|
||||
TransferZoomLevels(nsIDocument* aFromDoc,
|
||||
nsIDocument* aToDoc)
|
||||
{
|
||||
nsIPresShell* fromShell = aFromDoc->GetShell();
|
||||
if (!fromShell)
|
||||
return;
|
||||
|
||||
nsPresContext* fromCtxt = fromShell->GetPresContext();
|
||||
if (!fromCtxt)
|
||||
return;
|
||||
|
||||
nsIPresShell* toShell = aToDoc->GetShell();
|
||||
if (!toShell)
|
||||
return;
|
||||
|
||||
nsPresContext* toCtxt = toShell->GetPresContext();
|
||||
if (!toCtxt)
|
||||
return;
|
||||
|
||||
toCtxt->SetFullZoom(fromCtxt->GetFullZoom());
|
||||
toCtxt->SetTextZoom(fromCtxt->TextZoom());
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsExternalResourceMap::AddExternalResource(nsIURI* aURI,
|
||||
nsIDocumentViewer* aViewer,
|
||||
|
@ -936,7 +912,6 @@ nsExternalResourceMap::AddExternalResource(nsIURI* aURI,
|
|||
newResource->mDocument = doc;
|
||||
newResource->mViewer = aViewer;
|
||||
newResource->mLoadGroup = aLoadGroup;
|
||||
TransferZoomLevels(aDisplayDocument, doc);
|
||||
}
|
||||
|
||||
const nsTArray< nsCOMPtr<nsIObserver> > & obs = load->Observers();
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<filter id="greyscale">
|
||||
<feColorMatrix values="0.5 0.5 0.5 0 0
|
||||
0.5 0.5 0.5 0 0
|
||||
0.5 0.5 0.5 0 0
|
||||
0 0 0 1 0"/>
|
||||
</filter>
|
||||
</svg>
|
До Ширина: | Высота: | Размер: 292 B |
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
reftest-zoom="0.5">
|
||||
<body style="margin: 0px">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: block; height: 0px">
|
||||
<defs>
|
||||
<filter id="greyscale">
|
||||
<feColorMatrix values="0.5 0.5 0.5 0 0
|
||||
0.5 0.5 0.5 0 0
|
||||
0.5 0.5 0.5 0 0
|
||||
0 0 0 1 0"/>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
||||
<div style="filter: url(#greyscale);
|
||||
background: lime;
|
||||
height: 100px; width: 100px">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
reftest-zoom="0.5">
|
||||
<body style="margin: 0px">
|
||||
<div style="filter: url(621253-1-helper.svg#greyscale);
|
||||
background: lime;
|
||||
height: 100px; width: 100px">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1560,7 +1560,6 @@ HTTP(..) == 615121-1.html 615121-1-ref.html
|
|||
HTTP(..) != 615121-2.html 615121-2-notref.html
|
||||
== 617242-1.html 617242-1-ref.html
|
||||
!= 618071.html 618071-notref.html
|
||||
== 621253-1.xhtml 621253-1-ref.xhtml
|
||||
HTTP(..) == 619511-1.html 619511-1-ref.html
|
||||
random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts)
|
||||
HTTP(..) == 621918-2.svg 621918-2-ref.svg # http(..) for filters.svg, used to mask antialiasing issues where glyphs touch
|
||||
|
|
Загрузка…
Ссылка в новой задаче