w3c / mathml

MathML4 editors draft
https://w3c.github.io/mathml/
Other
61 stars 18 forks source link

Custom layout as a polyfill option #219

Open NSoiffer opened 4 years ago

NSoiffer commented 4 years ago

Adding this for discussion. It is a little related to allowing shadow DOM (#140) and maybe custom elements (#138).

There is a CSS working draft that appears to allow code to specify layout. This could be used for some polyfills so that they don't change the DOM. It could be a way to bridge from Core Level 1 to some later levels.

fred-wang commented 4 years ago

See also w3c/mathml-core#138

We already introduced display: math to allow overriding custom layout and there are probably more CSS compatibility things to test & do (already reported by Google) but I'm not sure what needs to be discussed for MathML Core for now.