TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bringing MathML back to Chromium

181 pointsby ubavicover 2 years ago

15 comments

bfgeekover 2 years ago
One important aspect the work Igalia&#x2F;Fred&#x2F;etc did here was defining how MathML should render in browsers. Previously was this undefined[1], and working through all the integration points with CSS&#x2F;HTML in the new MathML Core spec[2].<p>The next largest part was writing all the tests for this work, e.g. making sure that margin&#x2F;border&#x2F;padding worked consistently between all the MathML elements[3].<p>Arguably the implementation in Chromium was the &quot;smallest&quot; part of the work required here.<p>Congrats to Fred&#x2F;Igalia&#x2F;MathML-CG and all those involved. :)<p>[1] <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;MathML3&#x2F;chapter2.html#fund.renderingmodel" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;MathML3&#x2F;chapter2.html#fund.renderingmo...</a> [2] <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;mathml-core" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;mathml-core</a> [3] <a href="https:&#x2F;&#x2F;wpt.fyi&#x2F;results&#x2F;mathml&#x2F;relations&#x2F;css-styling&#x2F;padding-border-margin" rel="nofollow">https:&#x2F;&#x2F;wpt.fyi&#x2F;results&#x2F;mathml&#x2F;relations&#x2F;css-styling&#x2F;padding...</a>
vehemenzover 2 years ago
MathML&#x27;s removal in 2013 in Chrome was a huge deal in the accessibility community. Fixing the bugs and vulnerabilities of MathML in blink would have been entirely possible with Google&#x27;s resources. In hindsight, it&#x27;s easy to see why—now we consider Google an ad company first—but back then it was truly bewildering, given that Firefox continued their support of MathML.<p>There was a big push at the time for native presentational MathML, and Chrome basically undercut it completely. MathJax picked up some of the slack, but it was never a true replacement. Either way, it&#x27;s nice see presentational MathML is back.
评论 #34331764 未加载
评论 #34332092 未加载
评论 #34334654 未加载
评论 #34332414 未加载
SinePostover 2 years ago
I&#x27;m a big believer of treating mathematical notation as a first-class citizen on the web. This won&#x27;t make me jump ship to a Chromium-based browser, but I&#x27;m glad to see it happen.
评论 #34332391 未加载
shihnover 2 years ago
I implemented MathML as web components a few years ago as a work around. It wasn&#x27;t super hard, but a native implementation provides so much better accessibility (and, likely, perf) <a href="https:&#x2F;&#x2F;github.com&#x2F;pshihn&#x2F;math-ml">https:&#x2F;&#x2F;github.com&#x2F;pshihn&#x2F;math-ml</a>
owlbiteover 2 years ago
MathML always seemed like a waste of time. It was&#x2F;is objectively worse on every axis (at least from a user perspective) compared to the long-established LaTeX notation.
评论 #34331683 未加载
评论 #34331703 未加载
评论 #34331612 未加载
评论 #34334431 未加载
评论 #34331709 未加载
runarbergover 2 years ago
Congratulations to the igalia team here for amazing work. I’ve been waiting to use MathML natively for years and thanks to a lot of hard work this is finally possible.
_the_inflatorover 2 years ago
I like it.<p>Here you can have a look at the syntax as well as the corresponding results: <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;mathml-core&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;mathml-core&#x2F;</a><p>Maybe a LaTeX to MathML converter would be decent.
评论 #34332677 未加载
评论 #34333169 未加载
评论 #34335955 未加载
simoneauover 2 years ago
jsMath, now MathJax, took all the wind out of MathML’s sails by rendering LaTeX equations in the client. I know that MathML is better in some ways, but the combination of downloading custom fonts and JavaScript-based layout solved the problem well enough.
评论 #34343420 未加载
atishay811over 2 years ago
I really long a WebSQL core coming back to the web. Get us back a good SQL implementation in browsers. WASM SQL over IndexDB should not be the future.
评论 #34333101 未加载
lloydatkinsonover 2 years ago
Is this the first time a major feature has been removed and then added back, with such a long period between?
garganzolover 2 years ago
I&#x27;m in for MathML, but could it be just a loadable JavaScript component instead? Considering the usage frequency of MathML, a built-in browser implementation looks kind of wasteful.
评论 #34332788 未加载
评论 #34332770 未加载
评论 #34345675 未加载
yakubinover 2 years ago
Great news. Kudos to Igalia!
raydiatianover 2 years ago
Any demos?
kccqzyover 2 years ago
&gt; “This is the first example I know of that a major, major feature is really coming to the Web despite there not really being a business case for the business that normally advance the Web,” said Rick Byers of the Chrome team at Google.<p>Paraphrased: It doesn&#x27;t make money, so why do it?
评论 #34332442 未加载
评论 #34332217 未加载
评论 #34332536 未加载
sideeffffectover 2 years ago
The history of that ticket is really mind-blowing <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=6606" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=6606</a>
评论 #34332534 未加载