Bug 1665865 [wpt PR 25617] - [mathml] Implement special drawing of largeop operator...
commit96e7a9eb953fbc1e79cd502fb60d988a9bfcd46f
authorRob Buis <rbuis@igalia.com>
Sat, 24 Oct 2020 10:42:57 +0000 (24 10:42 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 26 Oct 2020 12:06:29 +0000 (26 12:06 +0000)
treeb7a5853f4195faa24bc7bff05b9914dc73a5f279
parentcb3dd34a130212d0b01414253d9dd3c2f77c4dba
Bug 1665865 [wpt PR 25617] - [mathml] Implement special drawing of largeop operator in displaystyle, a=testonly

Automatic update from web-platform-tests
[mathml] Implement special drawing of largeop operator in displaystyle

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}

--

wpt-commits: 849c93ccec0cf5fcfbd641d003639be851c51c45
wpt-pr: 25617
testing/web-platform/tests/mathml/presentation-markup/operators/largeop-hit-testing.html [new file with mode: 0644]
testing/web-platform/tests/mathml/relations/css-styling/padding-border-margin/padding-border-margin-002-ref.html [new file with mode: 0644]
testing/web-platform/tests/mathml/relations/css-styling/padding-border-margin/padding-border-margin-002.html [new file with mode: 0644]