You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rob has implemented the mspace element by mapping (in C++):
CSS width: width attribute value
CSS vertical-align: height attribute value
CSS height: calc(height attribute value+depth attribute value)
This has various consequences which make it different from the current specs and Gecko/WebKit implementations:
(1) One can now specify these CSS property directly on the mspace element and this will change its rendering and override the attribute values. The spec instead says they are ignored: https://mathml-refresh.github.io/mathml-core/#css-styling
(2) For mspace attributes, percentages are interpreted relative to the sizes of a block container. The spec instead says they are treated as 0: https://mathml-refresh.github.io/mathml-core/#space-mspace (this is consistent with MathML3 where the default size is 0x0)
The text was updated successfully, but these errors were encountered:
Rob has implemented the mspace element by mapping (in C++):
CSS vertical-align: height attribute value
This turned out to be problematic and was changed to be all internal and not visible for web developers: https://chromium-review.googlesource.com/c/chromium/src/+/2068599
So now MathML does nothing special for vertical-align. Of course the rest of this issue still stands.
cc @bfgeek @rwlbuis
This is related to CSS issues w3c/mathml#45 w3c/mathml#50 w3c/mathml#49 w3c/mathml#13
Rob has implemented the mspace element by mapping (in C++):
CSS width: width attribute value
CSS vertical-align: height attribute value
CSS height: calc(height attribute value+depth attribute value)
This has various consequences which make it different from the current specs and Gecko/WebKit implementations:
(1) One can now specify these CSS property directly on the mspace element and this will change its rendering and override the attribute values. The spec instead says they are ignored: https://mathml-refresh.github.io/mathml-core/#css-styling
(2) For mspace attributes, percentages are interpreted relative to the sizes of a block container. The spec instead says they are treated as 0: https://mathml-refresh.github.io/mathml-core/#space-mspace (this is consistent with MathML3 where the default size is 0x0)
The text was updated successfully, but these errors were encountered: