Why, licensing/proprietary issues?
List of web APIs: https://developer.mozilla.org/en-US/docs/Web/API Canvas API spec: https://html.spec.whatwg.org/multipage/canvas.html
Take one look at the docs for just rendering text and any sane developer would probably give up: https://www.w3.org/TR/css-text-3/
Mozilla had a project called Servo which aimed at replacing just a small slither of Firefox and the project ran for years with a huge monetary investment and eventually was canceled.
Haven't some parts of it been integrated in Firefox?
The project does still seem to go on, although outside of Mozilla: https://github.com/servo/servo