You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove support for nonzero unitless values for MathML lengths #24
"A number without a unit is intepreted as a multiple of the reference value. This form is primarily for backward compatibility and should be avoided, prefering explicit units for clarity. "
Converting unitless to percentage adds some complexity to the code. Moreover it is not very intuitive for users except maybe "0". I wonder if we can somewhat simplify this now.
I removed the reference to nonzero unitless values w3c/mathml-core@6e821b2 ; @davidcarlisle can you please check whether the RelaxNG change is correct?
I'm leaving this open because it still remains to:
Remove WPT tests if any (probably convert them to check "0").
Send intent-to-remove to mozilla/webkit-dev mailing lists (maybe old Math WG too?).
Remove browser implementation.
Decide what to do for the full MathML spec (they are already deprecated, should we remove them?)
Also, despite that "0" has a unique interpretation we might maybe be more explicit about how it is interpreted. CSS suggests it is interpreted as a number (https://drafts.csswg.org/css-values-3/#lengths) so it should be relative ("0%") per the old unitless intepretation. However, an absolute value (e.g. "0px") might be better for implementation since we don't need to bother with the default values. In any case this is an implementation details, it shouldn't affect the result.
Activity
physikerwelt commentedon Feb 25, 2019
discussed in the telco on 2019-02-25:
fred-wang commentedon Mar 14, 2019
cc @rwlbuis, @emilio
I removed the reference to nonzero unitless values w3c/mathml-core@6e821b2 ; @davidcarlisle can you please check whether the RelaxNG change is correct?
I'm leaving this open because it still remains to:
Also, despite that "0" has a unique interpretation we might maybe be more explicit about how it is interpreted. CSS suggests it is interpreted as a number (https://drafts.csswg.org/css-values-3/#lengths) so it should be relative ("0%") per the old unitless intepretation. However, an absolute value (e.g. "0px") might be better for implementation since we don't need to bother with the default values. In any case this is an implementation details, it shouldn't affect the result.
fred-wang commentedon Mar 22, 2019
Consensus from https://lists.w3.org/Archives/Public/public-mathml4/2019Mar/0026.html is to deprecate from MathML full.
fred-wang commentedon Jun 5, 2019
Core spec now uses
<length-percentage>from CSS which does not allow nonzero unitless values.10 remaining items
Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
Update MathML tests for lengths now that some numbers are invalid in …
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that…
Bug 1548529 - Remove values "thin", "thick", "medium" values of mfrac…
Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that…
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that…
Bug 1548529 - Remove values "thin", "thick", "medium" values of mfrac…
Bug 1548529 - Remove values "thin", "thick", "medium" values of mfrac…
Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that…
Bug 1548529 - Remove values "thin", "thick", "medium" values of mfrac…
Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio