Interpretation of new display: math/inline-math and compatibility with block/inline #214
Labels
css / html5
Issues related to CSS or HTML5 interoperability
MathML Core
Issues affecting the MathML Core specification
need polyfill
Issues requiring implementation changes
This is from the hackfest notes by @bkardell @fantasai ; originally #171 but it got off topic, so I'm opening a clean issue.
Also cc'ing @bfgeek who proposed adding inline-math in addition to math.
The idea is when "display: math" or "display: inline-math" is used, the math layout described in MathML Core is performed. In other cases, layout is described by other CSS specifications, allowing authors to override the default layout of MathML elements.
When people explicitly set "display: block" or "display: inline" then the spec says to use the corresponding CSS layout. Is there any compat risk that people are doing that? On all elements or only the
<math>
root? If so, should we make display computes to "math" and "inline-math" for these values?Additionally, "display: inline-math" on all but the
<math>
root should probably compute to "display: math".Maybe more?
The text was updated successfully, but these errors were encountered: