\Improve MathML for \colorbox and \fcolorbox (#1914)

* Add border color

* Fix lint errors

* Edit to persuade flow its okay.

* Add \colorbox
This commit is contained in:
Ron Kok
2019-04-04 02:19:19 -07:00
committed by ylemkimon
parent 5d29a28c14
commit ab7b7826ff
2 changed files with 22 additions and 5 deletions

View File

@@ -608,11 +608,16 @@ exports[`A MathML builder should use <menclose> for colorbox 1`] = `
<math>
<semantics>
<mrow>
<menclose mathbackground="red">
<mpadded width="+6pt"
height="+6pt"
lspace="3pt"
voffset="3pt"
mathbackground="red"
>
<mtext>
b
</mtext>
</menclose>
</mpadded>
</mrow>
<annotation encoding="application/x-tex">
\\colorbox{red}{b}