Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mathml] Implement italic correction #25620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 18, 2020

Implement italic correction [1] when laying out scripts. In order to
signal that an operator has an italic correction we add SetMathItalicCorrection
on the fragment builder and set it if needed when laying out the
operator. The script layout algorithm uses this value when laying
out the script, where appropriate.

[1] https://mathml-refresh.github.io/mathml-core/#dfn-italic-correction
Bug: 1125136, 6606

Change-Id: I2995b0fad1e1c8e96cc08818d50927d28cb54f4c

Reviewed-on: https://chromium-review.googlesource.com/2414240
WPT-Export-Revision: 11b69aa22b464e66a2fa8b6f96564ad0bf37aaa2

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

The review process for this patch is being conducted in the Chromium project.

Loading

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2414240 branch from 8620a73 to b90f93d Oct 22, 2020
Implement italic correction [1] when laying out scripts. In order to
signal that an operator has an italic correction we add SetMathItalicCorrection
on the fragment builder and set it if needed when laying out the
operator. The script layout algorithm uses this value when laying
out the script, where appropriate.

[1] https://mathml-refresh.github.io/mathml-core/#dfn-italic-correction
Bug: 1125136, 6606

Change-Id: I2995b0fad1e1c8e96cc08818d50927d28cb54f4c
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2414240 branch from b90f93d to 61716bf Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants