зеркало из https://github.com/mozilla/gecko-dev.git
Bug 938569 - Path fails to render, with comma between move command and implied line command. r=dholbert
This commit is contained in:
Родитель
be0206f4b3
Коммит
77ae409cc0
|
@ -153,6 +153,8 @@ nsSVGPathDataParser::ParseMoveto()
|
|||
return true;
|
||||
}
|
||||
|
||||
SkipCommaWsp();
|
||||
|
||||
// Per SVG 1.1 Section 8.3.2
|
||||
// If a moveto is followed by multiple pairs of coordinates,
|
||||
// the subsequent pairs are treated as implicit lineto commands
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
|
||||
|
||||
<title>Testcase move followed by comma and line co-ordinates</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=938569 -->
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
<path d="M0,0,100,0,100,100,0,100z" fill="lime" shape-rendering="crispEdges"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 487 B |
|
@ -237,6 +237,7 @@ fuzzy-if(azureQuartz,6,47) == path-01.svg path-01-ref.svg
|
|||
== path-05.svg pass.svg
|
||||
== path-06.svg path-06-ref.svg
|
||||
== path-07.svg path-07-ref.svg
|
||||
== path-08.svg pass.svg
|
||||
== pathLength-01.svg pass.svg
|
||||
== pathLength-02.svg pass.svg
|
||||
== pattern-invalid-01.svg pattern-invalid-01-ref.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче