]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/output-attributes.ly
Imported Upstream version 2.19.49
[lilypond.git] / input / regression / output-attributes.ly
diff --git a/input/regression/output-attributes.ly b/input/regression/output-attributes.ly
new file mode 100644 (file)
index 0000000..4068294
--- /dev/null
@@ -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
+}