Open dani31415 opened 5 years ago
I think this makes sense for the long term, IMHO it's way too early to consider this for the Core spec. Igalia is still working with Google to clarify the box and layout models, so I'd prefer to keep things simple and just ignore the vertical-align value for box layout for now.
I think vertical-align is not what we want. It is is supposed to apply to inline boxes.
The dominant-baseline property looks closer to what we want: https://www.w3.org/TR/css-inline-3/#propdef-dominant-baseline
I wasn't aware that there was a "dominant-baseline" property. Interestingly they mention a value of mathematical
. They don't use the word "axis" in their description of it, but it seems like we can influence the language they used (it is marked with an issue that the section is being rewritten) and perhaps this is a way to get the notion of math axis into CSS...
This is mentioned in the current core spec: https://mathml-refresh.github.io/mathml-core/#box-model
What's left to do? Can this be closed or does some other issue need to be resolved before this can be closed?
Need to write a test that shows setting vertical-align
does nothing.
I will try to add that test.
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
with result
and
with result