commit | b66e28b237deae0f03ee1fbc8789bb2d3f38961d | [log] [tgz] |
---|---|---|
author | FrederikHennecke1 <frederik-hennecke@web.de> | Mon Dec 02 20:38:33 2024 +0100 |
committer | FrederikHennecke1 <frederik-hennecke@web.de> | Mon Dec 02 22:31:20 2024 +0100 |
tree | 15bf9cab7d05adf3f4f597ffe78c7392cb3447e7 | |
parent | 500b9bcefcf399228b67b1dffbd45c50fde9693a [diff] |
Fix for Preview has wrong location in MathML mode The previewin MathML mode was always at the left side of the website. Added values for `node.offsetWidth` and `node.offsetHeight`. Values are taken from `node.getBoundingClientRect()`. Cleaned up if-clause(node.dataset.title) as it is not needed anymore. In-lined IsValidId funtion as there was only one remaining reference. Bug: T381311 Change-Id: Ied17aaaaf9156e2712ed6c7d6d6f08ecccc12286