Closed Bug 1890523 Opened 2 months ago Closed 2 months ago

Remove extra space above/below stretchy operators

Categories

(Core :: MathML, task)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

We have https://searchfox.org/mozilla-central/rev/c09764753ea40725eb50decad2c51edecbd33308/layout/mathml/nsMathMLmoFrame.cpp#594 but it's not part of MathML Core and is causing several WPT failures.

I'm not clear whether this is an important typographic rule that should be in the spec or just some tweaks that were done in the early days of MathML to work around broken fonts...

I'm proposing to tentatively unship this.

Blocks: 1890525
Attachment #9395753 - Attachment description: WIP: Bug 1890523 - Remove extra space above/below stretchy operators. r=emilio → Bug 1890523 - Remove extra space above/below stretchy operators. r=emilio
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/6a7c866d716d
Remove extra space above/below stretchy operators. r=emilio
Blocks: 1890958

Backed out for causing wpt failures in stretchy-largeop-with-default-font-2.html

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /mathml/presentation-markup/operators/stretchy-largeop-with-default-font-2.html | Test that non-stretchy largeops are bigger in display mode. - assert_greater_than: size of largeop '⨃' expected a number greater than 19 but got 19
Flags: needinfo?(fwang)

Android does not have proper math fonts installed, so it's very likely that some of these tests fail. I believe the issue was hidden before the patch because we were adding extra space.

Flags: needinfo?(fwang)
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/3531a1b13af3
Remove extra space above/below stretchy operators. r=emilio

Backed out for causing wpt failures in table-width-1.xhtml and in stretchy-largeop-with-default-font-2.html

TEST-UNEXPECTED-FAIL | /mathml/relations/css-styling/table-width-1.xhtml | Testing http://web-platform.test:8000/mathml/relations/css-styling/table-width-1.xhtml == http://web-platform.test:8000/mathml/relations/css-styling/table-width-1-ref.xhtml
TEST-UNEXPECTED-FAIL | /mathml/presentation-markup/operators/stretchy-largeop-with-default-font-2.html | Test that non-stretchy largeops are bigger in display mode. - assert_greater_than: size of largeop '⨀' expected a number greater than 25 but got 25
Flags: needinfo?(fwang)
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/ff639c7b8eb2
Remove extra space above/below stretchy operators. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/45687 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Upstream PR merged by moz-wptsync-bot
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: