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 special drawing of largeop operator in displaystyle #25617

Merged
merged 1 commit into from Oct 22, 2020

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

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

This implements special drawing of largeop <mo> element in display style
as described in step 3. of [1]. A new algorithm is introduced for that
purpose and in particular only used for <mo> elements that are made of
a single glyph. Existing painting logic for stretchy radical symbol is
reused and adapted to work with largeop operators.

[1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators

Bug: 6606
Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
Commit-Queue: Rob Buis <rbuis@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819855}

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-2414298 branch 8 times, most recently from 0520d70 to 6969cac Sep 23, 2020
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2414298 branch 4 times, most recently from dedfb30 to 5c5b674 Oct 19, 2020
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2414298 branch 3 times, most recently from 55927da to f55e065 Oct 22, 2020
This implements special drawing of largeop <mo> element in display style
as described in step 3. of [1]. A new algorithm is introduced for that
purpose and in particular only used for <mo> elements that are made of
a single glyph. Existing painting logic for stretchy radical symbol is
reused and adapted to work with largeop operators.

[1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators

Bug: 6606
Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
Commit-Queue: Rob Buis <rbuis@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819855}
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2414298 branch from f55e065 to c00716a Oct 22, 2020
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 849c93c into master Oct 22, 2020
21 checks passed
Loading
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-2414298 branch 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