зеркало из https://github.com/mozilla/gecko-dev.git
Bug 773450 - Lines don't show up in some Google Maps directions. r=roc.
This commit is contained in:
Родитель
5a4516bfc0
Коммит
87fd77de71
|
@ -302,6 +302,7 @@ random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == tspan-rotate-06.svg tspa
|
|||
== viewBox-and-pattern-01.svg pass.svg
|
||||
== viewBox-invalid-01.svg pass.svg
|
||||
== viewBox-valid-01.svg pass.svg
|
||||
== viewBox-valid-02.xhtml pass.svg
|
||||
== viewport-percent-graphic-user-01.svg pass.svg
|
||||
|
||||
== svg-effects-area-unzoomed.xhtml svg-effects-area-unzoomed-ref.xhtml
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Test viewBox translating out-of-viewport rect into viewport</title>
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=773450 -->
|
||||
<style>
|
||||
|
||||
div, svg {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="lime">
|
||||
<div style="background:red;"/>
|
||||
<svg viewBox="100 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="100" y="0" width="100" height="100" fill="lime"/>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
|
@ -1029,6 +1029,9 @@ nsSVGUtils::GetCanvasTM(nsIFrame *aFrame, PRUint32 aFor)
|
|||
if (type == nsGkAtoms::svgForeignObjectFrame) {
|
||||
return static_cast<nsSVGForeignObjectFrame*>(aFrame)->GetCanvasTM(aFor);
|
||||
}
|
||||
if (type == nsGkAtoms::svgOuterSVGFrame) {
|
||||
return nsSVGIntegrationUtils::GetCSSPxToDevPxMatrix(aFrame);
|
||||
}
|
||||
|
||||
nsSVGContainerFrame *containerFrame = do_QueryFrame(aFrame);
|
||||
if (containerFrame) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче