Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(636)

Unified Diff: input/regression/output-attributes.ly

Issue 308430043: Add output-attributes grob property to replace id (Closed)
Patch Set: An even better convert rule Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/id.ly ('k') | lily/grob.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/output-attributes.ly
diff --git a/input/regression/output-attributes.ly b/input/regression/output-attributes.ly
new file mode 100644
index 0000000000000000000000000000000000000000..40682940662119c92456746aa695716b28296fd0
--- /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
+}
« no previous file with comments | « input/regression/id.ly ('k') | lily/grob.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b