The purpose of this issue is to solve problems with MathML <mo> element and caret.
This is tracked in WebKit Bugzilla Stream as
Status :
| Description |
Understood |
Patch Writing |
Internal Tests |
Pull Resqueted |
Accepted |
| ✔️ |
✔️ |
🚧 |
|
|
|
?
Understood. In , the caret disappears too but only with the minus sign. Related to Hyphen.
Two hypothesis :
- With the plus sign the cursor smaller than the font size. has the same size than the character (but not the font size, see javafxports/openjdk-jfx#71). So with '-' the cursor is too small to be visible.
- Related to Hyphen. The minus sign is not rendered by RenderMathMLOperator::useMathOperator() but by MathOperator. So the logic may be different. The problem is in RenderMathMLOperator::paint and paintChildren method.