- From: Brian Smith via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Apr 2019 18:33:27 +0000
- To: public-css-archive@w3.org
@fred-wang I understand all of that. However, this seems to assume that there is going to be a lot of logic specific to math within the internals of the layout engine, as opposed to having that logic within the MathML UA stylesheet. it seems like the plan is to have C++ code look at the `math-style` property and then change how `font-size` is interpreted, right? Why can't we avoid that C++ code? In particular, it would be useful to see an example where the MathML stylesheet can't achieve the same effects using `[displaystyle]` attribute selectors. It seems to me that the reason is that not enough functionality is exposed to CSS to enable that to happen. But then, why expose `math-style` instead of the more fundamental building blocks that would enable more of the logic to be done in CSS? In particular, in the explainer there is an algorithm proposed for calculating the computed `font-size` ("...defined recursively as follows..."). I think it would be good for that algorithm to be implemented in the MathML CSS stylesheet instead of in C++ code in the rendering engine. -- GitHub Notification of comment by briansmith Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3746#issuecomment-488064757 using your GitHub account
Received on Tuesday, 30 April 2019 18:33:28 UTC