Fix rendering of lists in \left/\right

Test plan:
 - Make sure tests work
 - Make sure screenshots didn't change, and new screenshot looks good

Auditors: alpert
This commit is contained in:
Emily Eisenberg 2014-09-13 16:49:59 -07:00
parent 7df5b4bba8
commit 90573fcaf2
4 changed files with 13 additions and 1 deletions

View File

@ -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) {

View File

@ -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],

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,5 @@
[
{
"action": "screenshot"
}
]