Page MenuHomePhabricator

Fix \cancelto{y} in native MathML mode Chrome
Open, MediumPublic3 Estimated Story Points

Description

  • explore how \cancelto is supposed to be rendered and how others translate it into mathml core
  • find suitable css soltuion and create codepen
  • test across different browsers
  • implement the change similar to the way it was done for \cancel

Event Timeline

Physikerwelt updated the task description. (Show Details)
Physikerwelt set the point value for this task to 3.
Physikerwelt updated the task description. (Show Details)

https://test.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=635393

From left to right: Firefox 133, Safari 17.5, Chrome 131

Screenshot 2025-01-07 at 21.50.14.png (432×1 px, 193 KB)

There is indeed minimal support for it in Firefox and Safari, although fairly vague to me what it conveys. The "cross" is perfectly overlapped on to the "y" in, what seems like, the same size, weight, and position, making it more like a render bug than conveying that the "y" is crossed out. Mathoid/MathJax made the cross/strike significantly larger, presumably, to make this less ambigious.

And yep, it's missing entirely in Chrome at the moment, which renders the "y" uncrossed.