www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 90573fcaf2ac10cf9b757d2fa7ba36c4ca95b164
parent 7df5b4bba846f20bd7e506adad8c82f8821a9474
Author: Emily Eisenberg <emily@khanacademy.org>
Date:   Sat, 13 Sep 2014 16:49:59 -0700

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

Diffstat:
MbuildTree.js | 3++-
Mtest/huxley/Huxleyfile.json | 6++++++
Atest/huxley/LeftRightListStyling.hux/firefox-1.png | 0
Atest/huxley/LeftRightListStyling.hux/record.json | 5+++++
4 files changed, 13 insertions(+), 1 deletion(-)

diff --git 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 @@ -144,6 +144,12 @@ }, { + "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], "url": "http://localhost:7936/test/huxley/test.html?m=f'+f_2'+f^{f'}" diff --git a/test/huxley/LeftRightListStyling.hux/firefox-1.png b/test/huxley/LeftRightListStyling.hux/firefox-1.png Binary files differ. diff --git a/test/huxley/LeftRightListStyling.hux/record.json b/test/huxley/LeftRightListStyling.hux/record.json @@ -0,0 +1,5 @@ +[ + { + "action": "screenshot" + } +]