Closed dpvc closed 8 years ago
Travis fails one test -- but the basic SRE one. @zorkow could you check that out?
@dpvc could this use a test based on the underline example?
could this use a test based on the underline example?
Since it is a jsdom (or rather CSSStyleDeclaration) problem, not a mathjax-node problem, I'm not sure it needs a test here. If you want some tests for the various jsdom issues that we have patched, then I suppose that could be done, but I think it is not necessary.
PS, the tests passed when I ran them by hand, but I had an older copy of SRE. When I update that, the tests fail. :-(
Since it is a jsdom (or rather CSSStyleDeclaration) problem, not a mathjax-node problem, I'm not sure it needs a test here.
Sounds good to me.
The tests now pass thanks to @zorkow's fixes to SRE. Yay to travis for catching these.
This patches the copy of CSSStyleDeclaration to handle units of
ex
and a number of other missing units. The change really should only be in one line (thelengthRegEx
), but since that is down inside a closure, I can't get my hands on it, so I have to replace the entirevalueType()
routine with a duplicate that uses my own copy oflengthRegEx
. Resolves issue #233.