From 12f56226147ad8f29e3b4f72c66910c1bb92d2a3 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 5 Mar 2020 11:28:24 -0500 Subject: [PATCH] Improve alignment of multi-glyph stretchy charactes in Chrome. (mathjax/MathJax#2311) --- ts/output/chtml/Wrappers/mo.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/output/chtml/Wrappers/mo.ts b/ts/output/chtml/Wrappers/mo.ts index 9c2b334ef..c7d34132e 100644 --- a/ts/output/chtml/Wrappers/mo.ts +++ b/ts/output/chtml/Wrappers/mo.ts @@ -50,7 +50,8 @@ export class CHTMLmo extends CommonMoMixin * > mjx-c': { - display: 'inline-block' + display: 'inline-block', + transform: 'scalex(1.0000001)' // improves blink positioning }, 'mjx-stretchy-h > * > mjx-c::before': { padding: '.001em 0', // for blink @@ -86,7 +87,7 @@ export class CHTMLmo extends CommonMoMixin * > mjx-c': { - transform: 'scale(1)', // improves Firefox positioning + transform: 'scaley(1.0000001)', // improves Firefox and blink positioning 'transform-origin': 'left center', overflow: 'hidden' },