Closed Bug 1636428 Opened 5 years ago Closed 4 months ago

Add pref/warning to remove accent property from the operator dictionary and change its default to true

Categories

(Core :: MathML, task)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: fwang, Assigned: eri)

References

(Blocks 1 open bug)

Details

(Keywords: site-compat)

Attachments

(2 files)

Attached file accent.html

This was removed from MathML Core: https://github.com/mathml-refresh/mathml/issues/151#issuecomment-596040584 and the default value changed to "true".

The rationale is that when operators that are used as overscript, they are likely to be accents. In other situations, the accent property is irrelevant, so it does not hurt to make all operators accent by default.

See the attached testcase showing two operators that currently have different default accent properties. Font-size is not scaled down for accent overscripts.

Accent property is specified in the operator dictionary:
https://searchfox.org/mozilla-central/source/layout/mathml/mathfont.properties

and is set/used in the MathML code:
https://searchfox.org/mozilla-central/search?q=ACCENT&case=true&path=layout%2Fmathml

It would be good to deprecate/remove the accent property from the operator dictionary, to prepare for a compact form for the operator dictionary currently being developed:
https://mathml-refresh.github.io/mathml-core/#operator-dictionary-compact

(this would replace this mathfont.properties text file loaded dynamically as a huge hash table)

Keywords: site-compat
Depends on: 1790548

Disables parsing of the accent property in the dictionary if
mathml.operator_dictionary_accent.disabled is on.

Assignee: nobody → eri
Status: NEW → ASSIGNED
Attachment #9520767 - Attachment description: Bug 1636428 - Remove accent property from the operator dictionary r?emilio,fredw → Bug 1636428 - Deprecate accent property from the operator dictionary r?emilio,fredw
Summary: Remove accent property from the operator dictionary and change its default to true → Add pref/warning to remove accent property from the operator dictionary and change its default to true
Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/e5e1af578431 https://hg.mozilla.org/integration/autoland/rev/8effd84db876 Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f3e23b9c45ea https://hg.mozilla.org/integration/autoland/rev/4690cabc63c8 Revert "Bug 1636428 - Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod" for causing multiple failures
Flags: needinfo?(eri)
Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/e6abf8f3d9f5 https://hg.mozilla.org/integration/autoland/rev/31e4ff33d254 Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/56668479f215 https://hg.mozilla.org/integration/autoland/rev/c8f6634189ff Revert "Bug 1636428 - Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod" for causing bc failures @ browser_misused_characters_in_strings.js

Backed out for causing bc failures @ browser_misused_characters_in_strings.js

Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/2c11ffaf4707 https://hg.mozilla.org/integration/autoland/rev/7768a956b4a2 Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b27997d294f4 https://hg.mozilla.org/integration/autoland/rev/066bcbb4575a Revert "Bug 1636428 - Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod" for causing mathml-console-messages.html
Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/374e8d529b65 https://hg.mozilla.org/integration/autoland/rev/9697cf9053ff Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod
Pushed by archaeopteryx@coole-files.de: https://github.com/mozilla-firefox/firefox/commit/fa485df7c4f7 https://hg.mozilla.org/mozilla-central/rev/4cf515ecaa18 Deprecate accent property from the operator dictionary r=emilio,fredw,layout-reviewers,flod
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Flags: needinfo?(eri)
Blocks: 2028794
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: