Do not rely on AxisHeight for the layout of mfrac elements without bar
Categories
(Core :: MathML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: fredw, Assigned: fredw)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
AxisHeight is not involved in the layout:
https://mathml-refresh.github.io/mathml-core/#fraction-with-zero-line-thickness
Confirmed by Microsoft:
https://lists.w3.org/Archives/Public/public-mathml4/2019Aug/0019.html
See https://github.com/mathml-refresh/mathml/issues/123
frac-parameters-2.html was changed to use nonzero AxisHeight to test gap parameters in
https://github.com/web-platform-tests/wpt/pull/18299
and that exhibited the Firefox bug.
Unneeded test for AxisHeight is removed in
https://github.com/web-platform-tests/wpt/pull/18323
Assignee | ||
Comment 1•5 years ago
|
||
@Emilio: I'm not familiar with the new patch format / review process. But Here is a patch that fixes the bug in the code.
Test results should be updated once they are synchronized again with WPT.
Comment 2•5 years ago
|
||
I can push that to try and see if there are other tests to update.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
AxisHeight is not involved in the layout of <mfrac> with zero linethickness:
https://mathml-refresh.github.io/mathml-core/#fraction-with-zero-line-thickness
Confirmed by Microsoft:
https://lists.w3.org/Archives/Public/public-mathml4/2019Aug/0019.html
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D41189
Assignee | ||
Updated•5 years ago
|
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5d589b74745
Do not rely on AxisHeight for the layout of mfrac elements without bar. r=emilio
https://hg.mozilla.org/integration/autoland/rev/48fa8b517d7b
Update test expectation for layout of mfrac elements without bar. r=emilio
Comment 6•5 years ago
|
||
Backed out 2 changesets (bug 1572211) for mochitests failures on test_stack-parameters.html
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=261348499&repo=autoland&lineNumber=14617
Backout: https://hg.mozilla.org/integration/autoland/rev/54853be004185a34289361d6bfb8b9cf45b52128
Assignee | ||
Comment 7•5 years ago
|
||
These are duplicate and out-of-date version of the following web platform tests:
testing/web-platform/tests/mathml/presentation-markup/fractions/frac-parameters-1.html
testing/web-platform/tests/mathml/presentation-markup/fractions/frac-parameters-2.html
testing/web-platform/tests/mathml/relations/css-styling/lengths-2.html
Assignee | ||
Comment 8•5 years ago
|
||
The failing mochitest was a duplicate and out-of-date copy of frac-parameters-2.html
Assignee | ||
Updated•5 years ago
|
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa4c230df929
Do not rely on AxisHeight for the layout of mfrac elements without bar. r=emilio
https://hg.mozilla.org/integration/autoland/rev/25b77061eb1a
Update test expectation for layout of mfrac elements without bar. r=emilio
Comment 10•5 years ago
|
||
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9b0975e6e71 Remove MathML imported mochitests. r=emilio
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aa4c230df929
https://hg.mozilla.org/mozilla-central/rev/25b77061eb1a
https://hg.mozilla.org/mozilla-central/rev/d9b0975e6e71
Description
•