summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorPaul Morris <paulwmorris@gmail.com>2016-10-04 11:23:34 -0400
committerPaul Morris <paulwmorris@gmail.com>2016-10-04 11:23:34 -0400
commit03d47798d39bd9ce2a87376ea1585f1f31c1b81b (patch)
treee42c6ef6ca9c259f5746a09cc0cc9ab748cd5f96 /input
parent274e03cfc718e0eb7c4e1b1f58547dab65822e02 (diff)
Issue 4974/3: edits to tests and changes.tely
Diffstat (limited to 'input')
-rw-r--r--input/regression/id.ly6
-rw-r--r--input/regression/output-attributes.ly15
2 files changed, 18 insertions, 3 deletions
diff --git a/input/regression/id.ly b/input/regression/id.ly
index 7595621102..ae1ac0c958 100644
--- a/input/regression/id.ly
+++ b/input/regression/id.ly
@@ -1,9 +1,9 @@
-\version "2.17.6"
+\version "2.19.49"
\header {
texidoc = "Shows the id property of a grob being set. This should have
-no effect in the PS backend.
+no effect.
"
}
-{ \override NoteHead.id = #"foo" c }
+{ \override NoteHead.output-attributes.id = #"foo" c }
diff --git a/input/regression/output-attributes.ly b/input/regression/output-attributes.ly
new file mode 100644
index 0000000000..4068294066
--- /dev/null
+++ b/input/regression/output-attributes.ly
@@ -0,0 +1,15 @@
+\version "2.17.6"
+
+\header {
+ texidoc = "Shows the output-attributes property of a grob being set.
+This should have no effect in the Postscript backend. In the SVG
+backend these settings should produce this group tag:
+@code{<g id=\"123\" class=\"foo\" data-whatever=\"bar\"> @dots{} </g>}
+"
+}
+
+{
+ \override NoteHead.output-attributes =
+ #'((id . 123) (class . foo) (data-whatever . "bar"))
+ c
+}