diff --git a/buildTree.js b/buildTree.js index 7359b2c..4ec6700 100644 --- a/buildTree.js +++ b/buildTree.js @@ -689,7 +689,8 @@ var groupTypes = { } inner.push(rightDelim); - return makeSpan(["minner"], inner, options.getColor()); + return makeSpan( + ["minner", options.style.cls()], inner, options.getColor()); }, rule: function(group, options, prev) { diff --git a/test/huxley/Huxleyfile.json b/test/huxley/Huxleyfile.json index 52e69ca..4d5b8c5 100644 --- a/test/huxley/Huxleyfile.json +++ b/test/huxley/Huxleyfile.json @@ -143,6 +143,12 @@ "url": "http://localhost:7936/test/huxley/test.html?m=+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.}}" }, + { + "name": "LeftRightListStyling", + "screenSize": [1024, 768], + "url": "http://localhost:7936/test/huxley/test.html?m=a+\\left(x+y\\right)-x" + }, + { "name": "PrimeSpacing", "screenSize": [1024, 768], diff --git a/test/huxley/LeftRightListStyling.hux/firefox-1.png b/test/huxley/LeftRightListStyling.hux/firefox-1.png new file mode 100644 index 0000000..7bf9d79 Binary files /dev/null and b/test/huxley/LeftRightListStyling.hux/firefox-1.png differ diff --git a/test/huxley/LeftRightListStyling.hux/record.json b/test/huxley/LeftRightListStyling.hux/record.json new file mode 100644 index 0000000..3cae6ac --- /dev/null +++ b/test/huxley/LeftRightListStyling.hux/record.json @@ -0,0 +1,5 @@ +[ + { + "action": "screenshot" + } +]