This publication is currently considered [UNDER DEVELOPMENT] by the IDPF.
This publication is part of version X.X of the EPUB 3.0 Compliance Test Suite released on .
Before using this publication to evaluate reading systems, testers are strongly encouraged to verify that they have the latest release by checking the current release version and date of the test suite at TBD
This publication is one of several that currently comprise the EPUB 3 conformance test suite for reflowable content. The complete test suite includes all of the following publications:
This document focuses on human-evaluated binary (pass/fail) tests in
a reflowable context. Tests for fixed-layout content and other
individual tests that require a dedicated epub file are available in
additional sibling documents; refer to the test
suite wiki
(https://github.com/mgylling/epub-testsuite/wiki/Overview)
for additional information.
The following conventions are used throughout the document:
Tests for required Reading System functionality are preceded by the label: [REQUIRED]
Tests for optional Reading System functionality are preceded by the label: [OPTIONAL]
Tests whether MathML equation rendering is supported.
$$\int_{- \infty}^{\infty}e^{- x^{2}}\, dx = \sqrt{\pi}$$ $$\sum\limits_{n = 1}^{\infty}\frac{1}{n^{2}} = \frac{\pi^{2}}{6}$$ $$x = \frac{- b \pm \sqrt{b^{2} - 4ac}}{2a}$$If the preceding equations are not presented as linear text (e.g., x=-b±b2-4ac2a), the test passes.
math
elementTests whether basic CSS styling of MathML is supported on the
math element.
The test passes if the equation has a yellow background and a dashed border.
If the reading system does not have a viewport, or does not support
CSS styles, this test should be marked Not Supported.
mo
elementTests whether basic CSS styling of MathML is supported on the
mo element.
The test passes if the operators are enlarged relative to the other symbols and numbers.
If the reading system does not have a viewport, or does not support
CSS styles, this test should be marked Not Supported.
mi
elementTests whether basic CSS styling of MathML is supported on the
mi element.
The test passes if the identifiers are bolded and blue.
If the reading system does not have a viewport, or does not support
CSS styles, this test should be marked Not Supported.
mn
elementTests whether basic CSS styling of MathML is supported on the
mn element.
The test passes if the number 2 is italicized and blue.
If the reading system does not have a viewport, or does not support
CSS styles, this test should be marked Not Supported.
mover,
munder, and mspace elementsTests whether horizontal stretch, mover,
munder, mspace elements are supported.
The test passes if the rendering looks like .
mtable with
colspan and rowspan attributes, Hebrew and
Script fontsTests whether mtable with colspan and
mspace attributes (column and row spanning) are supported;
uses Hebrew and Script alphabets.
The test passes if the rendering looks like Cichoń's Diagram: .
Tests whether right-to-left and Arabic alphabets are supported.
$${د(س)} = \left\{ \begin{matrix} {\sum\limits_{ٮ = 1}^{ص}س^{ٮ}} & {\text{إذاكان}س > 0} \\ {\int_{1}^{ص}{س^{ٮ}ءس}} & {\text{إذاكان}س \in م} \\ {{طا}\pi} & {\text{غيرذلك}\left( \text{مع}\pi \simeq 3,141 \right)} \end{matrix} \right.$$The test passes if the rendering looks like the following image:
Tests whether mlongdiv elements (from elementary math)
are supported.
The test passes if the rendering looks like the following image: .
epub:switchTests whether the epub:switch
element is supported.
PASS
If only the word "PASS" is rendered before this paragraph, the test passes. If both "PASS" and "FAIL" are rendered, or neither "PASS" nor "FAIL" is rendered, the test fails.
Tests whether the MathML namespace is recognized when used in an epub:case
element.
2x+y − z
If a MathML equation is rendered before this paragraph, the test passes.
If test switch-010 did not pass, this test should be
marked Not Supported.