summaryrefslogtreecommitdiff
path: root/input/regression/output-attributes.ly
diff options
context:
space:
mode:
Diffstat (limited to 'input/regression/output-attributes.ly')
-rw-r--r--input/regression/output-attributes.ly15
1 files changed, 15 insertions, 0 deletions
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
+}