summaryrefslogtreecommitdiff
path: root/starmath/qa/extras/data
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-02-24 13:55:58 +0900
committerCaolán McNamara <caolanm@redhat.com>2015-02-27 12:05:12 +0000
commitfe43c9227bd77c6471126b2553820c14b4721d6f (patch)
tree58e3673e4189cbfee9dc00abc78142be27cd038b /starmath/qa/extras/data
parent543b432f132ef928216526854aa0df4d94b76dca (diff)
starmath: render the selected subexpression of MathML's <maction>
... specified by the selection attribute. For its expected behavior, see the section <maction> in MathML 1.01: <http://www.w3.org/TR/REC-MathML/chap3_6.html#sec3.6.1> Change-Id: I70c1b2cfe1afec730f3e67ba0938bbaf8ada8e23 Reviewed-on: https://gerrit.libreoffice.org/14600 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/qa/extras/data')
-rw-r--r--starmath/qa/extras/data/maction.mml10
1 files changed, 10 insertions, 0 deletions
diff --git a/starmath/qa/extras/data/maction.mml b/starmath/qa/extras/data/maction.mml
new file mode 100644
index 000000000000..3650087999a1
--- /dev/null
+++ b/starmath/qa/extras/data/maction.mml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mrow>
+ <mtable>
+ <mtr><maction actiontype="toggle"><mn>1</mn><mn>0</mn><mn>0</mn></maction></mtr>
+ <mtr><maction actiontype="toggle" selection="2"><mn>0</mn><mn>2</mn><mn>0</mn></maction></mtr>
+ <mtr><maction actiontype="toggle" selection="3"><mn>0</mn><mn>0</mn><mn>3</mn></maction></mtr>
+ </mtable>
+ </mrow>
+</math>