Commit Graph

3 Commits (66adaeff0ff9bde341a3fc0204fe5a2f503245cb)

Author SHA1 Message Date
Matt Miller ebd15f598a Move goodies to new styling mechanism.
- Rename 'style.css' to appropriate ID-based name.
- Remove explicit inclusion of CSS, as it will now be auto-included.
- Update tests which explicitly checked for styling.
2014-09-10 17:28:30 -04:00
Jag Talon f70f7b6d66 Calculator: Actually remove the color declaration. 2014-08-15 12:13:11 -04:00
Matt Miller 300cba4744 Calculator: style up the answer a bit.
This mostly just adds style to the HTML answers to be more in line with
other IAs.

The test changes are because, in general, the HTML answer is exactly the
same as the text answer, just wrapped up in some HTML. We're mostly
concerned with if we get correct answers, not how they happen to be
wrapped for HTML display.

In cases where that's different (the <sup> regression) we do more
thorough testing on the contents.

Also, removed one repeated test.

I'm starting to think this "apply_css" and maybe even "wrap_html" should
be in a role somewhere.
2014-06-10 20:42:52 +08:00