Closed Bug 1923569 Opened 1 year ago Closed 9 months ago

Implement math-shift: compact (TeX's "cramped")

Categories

(Core :: MathML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
relnote-firefox --- 144+
firefox144 --- fixed

People

(Reporter: fwang, Assigned: eri)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Assignee: nobody → eri
Status: NEW → ASSIGNED
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4ba9672c619f https://hg.mozilla.org/integration/autoland/rev/d23575ccff6d Revert "Bug 1923569 - Implement math-shift: compact. r=fredw,emilio,firefox-style-system-reviewers" for causing non-unified build bustages @ nsMathMLmrootFrame.cpp

Backed out for causing non-unified build bustages @ nsMathMLmrootFrame.cpp

Flags: needinfo?(eri)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54395 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54397 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot

(In reply to amarc from comment #4)

I just commented on Phabricator, but I'll send it here too for the needinfo request:

I am very sorry about the busted built. It was indeed missing an import in layout/mathml/nsMathMLmrootFrame.cpp. I'm really puzzled about how that could slip by, since it was already missing in the first revision, but it didn't fail to build locally or in any of the try runs (1, 2, 3, 4). In any case, I apologize for the oversight. I have pushed a new revision with the import and started another try run.

Flags: needinfo?(eri)

(In reply to eri from comment #9)

(In reply to amarc from comment #4)

I just commented on Phabricator, but I'll send it here too for the needinfo request:

I am very sorry about the busted built. It was indeed missing an import in layout/mathml/nsMathMLmrootFrame.cpp. I'm really puzzled about how that could slip by, since it was already missing in the first revision, but it didn't fail to build locally or in any of the try runs (1, 2, 3, 4). In any case, I apologize for the oversight. I have pushed a new revision with the import and started another try run.

likely you need to try a non-unified build to be sure

Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54418 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot

:eri could you consider nominating this for a release note? (Process info)
We could include it in the nightly only release notes.

Flags: needinfo?(eri)
Regressions: 1984092
Regressions: 1984093

Release Note Request (optional, but appreciated)
[Why is this notable]: It improves MathML rendering in certain situations, bringing it closer to the MathML Core spec and TeX. For example, a superscript inside of a root is slightly shifted downwards to fit correctly. Before Firefox had many rules which didn't cover all of the possible cases, now they are more clearly defined in the mathml.css style sheet.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Implement math-shift compact.
[Links (documentation, blog post, etc)]: https://w3c.github.io/mathml-core/#the-math-shift

relnote-firefox: --- → ?
Flags: needinfo?(eri)

Thanks, added to the Fx144 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx144 release notes.

Hi Eri, it looks this patch added new telemetry for css_math_shift to the code generated file dom/base/use_counter_metrics.yaml. If I run ./mach gen-use-counter-metrics after making changes to dom/base/UseCounters.conf, the new telemetry will be removed. The build still works with it removed so I don't think this telemetry is actually being used anywhere.

I'm planning to remove some telemetry in Bug 1970931 anyway, so I can remove the css_math_shift telemetry there if it's unnecessary, I just wanted to check what the intention was. If there is a plan to use this telemetry, you should probably file a follow up bug to add it properly.

Flags: needinfo?(eri)

Hi Dan, thank you for checking that, it's great that you caught it. The telemetry was left over from a previous version of the patch where I was looking at what math-style did. You are right, it is not being used anywhere at the moment, and I don't think there is any plan to do so. If you remove it in you patch that would be great, thank you!

Flags: needinfo?(eri)

Oops, it looks like rerunning ./mach gen-use-counter-metrics changes the order in the generated file, but leaves the new telemetry in place, so I'll do that.

Added to the Fx144 release notes

This needs to be documented, so adding the dev-doc-needed flag.

Sebastian

Keywords: dev-doc-needed
Blocks: 1994171
Regressions: 2009266
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: