зеркало из https://github.com/mozilla/pjs.git
Bug 487404. The 'marker' attribute does not work. r=longsonr
This commit is contained in:
Родитель
b01b700c88
Коммит
c23ab02791
|
@ -826,6 +826,7 @@ nsSVGElement::sViewportsMap[] = {
|
|||
// PresentationAttributes-Makers
|
||||
/* static */ const nsGenericElement::MappedAttributeEntry
|
||||
nsSVGElement::sMarkersMap[] = {
|
||||
{ &nsGkAtoms::marker },
|
||||
{ &nsGkAtoms::marker_end },
|
||||
{ &nsGkAtoms::marker_mid },
|
||||
{ &nsGkAtoms::marker_start },
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<title>Test the 'marker' presentation attribute</title>
|
||||
<!--
|
||||
From https://bugzilla.mozilla.org/show_bug.cgi?id=
|
||||
|
||||
This test checks that the 'marker' presentation attribute places a
|
||||
start, mid and end mark correctly.
|
||||
-->
|
||||
<marker id="marker" markerWidth="40" markerHeight="40" refX="20" refY="20">
|
||||
<circle cx="20" cy="20" r="20" fill="lime"/>
|
||||
</marker>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
<circle cx="20" cy="20" r="18" fill="red"/>
|
||||
<circle cx="60" cy="20" r="18" fill="red"/>
|
||||
<circle cx="100" cy="20" r="18" fill="red"/>
|
||||
<path d="M20,20 L60,20 L100,20" fill="none" stroke="none" marker="url(#marker)"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 814 B |
|
@ -74,6 +74,7 @@ fails == inline-in-xul-basic-01.xul pass.svg
|
|||
== invalid-text-01.svg pass.svg
|
||||
== linearGradient-basic-01.svg pass.svg
|
||||
== linearGradient-basic-02.svg pass.svg
|
||||
== marker-attribute-01.svg pass.svg
|
||||
# Bug 456323
|
||||
# == mask-transformed-01.svg mask-transformed-01-ref.svg
|
||||
== nested-viewBox-01.svg pass.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче