Open Bug 1989691 Opened 1 month ago Updated 28 days ago

Bad clipping for RTL stretchy characters

Categories

(Core :: Graphics: Text, defect)

Firefox 145
defect

Tracking

()

UNCONFIRMED

People

(Reporter: eri, Unassigned, NeedInfo)

Details

Attachments

(2 files)

Steps to reproduce:

Open the following example

<!DOCTYPE html>
<math displaystyle="true">
  <msub>
    <mo>∲</mo>
    <mi>C</mi>
  </msub>
</math>
<math dir="rtl" displaystyle="true">
  <msub>
    <mo>∲</mo>
    <mi>ج</mi>
  </msub>
</math>

Actual results:

When rendering an RTL stretchy character that goes into a position before the start, the clipping doesn't show the negative part.

Expected results:

The clipping should extend backwards and show the part above the subindex too.

Component: Untriaged → Graphics: Text
Product: Firefox → Core

:fredw, since you are the author of the regressor, bug 1789583, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(fwang)

The U+2232 ∲ was not mirorrable by default before bug 1789583, but the issue was already visible with other operators such as U+222B ∫. So I don't believe this the regression classification is correct here.

Flags: needinfo?(fwang)
Keywords: regression
No longer regressed by: 1789583
Severity: -- → S3

Jonathan, do you have an intuition for what might be going wrong here?

Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: