From d861940f1d47d6d04ab4fe7ff502b6f80570bc43 Mon Sep 17 00:00:00 2001 From: Chris Rawnsley Date: Sat, 18 Feb 2017 13:14:28 +0000 Subject: [PATCH] Style elements with dominant-baseline According to the spec[1], the `alignment-baseline` property only applies to the , , and elements. For elements there is the `dominant-baseline` property. Fixes #3 [1]: https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty [2]: https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty --- generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate.js b/generate.js index 1db0ff9..60def98 100644 --- a/generate.js +++ b/generate.js @@ -5,7 +5,7 @@ var fs = require('fs') var header = [ '' , '' ].join('') var footer = ''