Skip to content

CSS interoperability with vertical-align #273

@dani31415

Description

@dani31415

The CSS vertical-align property should work as per specification with MathML (CSS spec). The resolution of this issue is perhaps just related to create some tests and does not affect the MathML specification.

Some examples are

<img height="40" src="https://www.w3.org/html/logo/img/mark-word-icon.png">
<math><mi style="vertical-align:top">24</mi></math>

with result

Top alignment

and

<math>
    <mn>4</mn>
    <mo>-</mo>  
    <mfenced>
        <mrow style="vertical-align:middle">
            <mfrac>
                <mfrac>
                    <mi>x</mi>
                    <mn>2</mn>
                </mfrac>
                <mn>2</mn>
            </mfrac>
        </mrow>
    </mfenced>
</math>

with result

Fractions and vertical alignment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions