-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1575596 - MathML Lengths: Do not accept numbers ending with a dot…
…. r=emilio See w3c/mathml#23 and https://groups.google.com/forum/#!topic/mozilla.dev.platform/wIjm9JjVHNg This commit introduces a new preference option mathml.legacy_number_syntax.disabled to disable legacy MathML numbers (e.g. "1234.") that are not supported by CSS. This feature is now disabled by default. * test_bug553917.html is updated to check that such legacy values now cause an error message to be logged into the console when the feature is disabled. * Legacy MathML features are now disabled for WPT mathml test in a global __dir__.ini file. Removing legacy numbers allow to pass mathml/relations/css-styling/lengths-2.html Differential Revision: https://phabricator.services.mozilla.com/D42907 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
11 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
prefs: [mathml.legacy_number_syntax.disabled: true, mathml.mathsize_names.disabled:true, mathml.mathspace_names.disabled: true, mathml.mfrac_linethickness_names.disabled:true, mathml.nonzero_unitless_lengths.disabled:true] |
2 changes: 0 additions & 2 deletions
2
...ng/web-platform/meta/mathml/presentation-markup/fractions/frac-linethickness-001.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...ng/web-platform/meta/mathml/presentation-markup/fractions/frac-linethickness-002.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
[frac-linethickness-002.html] | ||
prefs: [mathml.mathspace_names.disabled:true] | ||
|
||
[Negative] | ||
expected: FAIL | ||
|
2 changes: 0 additions & 2 deletions
2
testing/web-platform/meta/mathml/relations/css-styling/lengths-1.html.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
testing/web-platform/meta/mathml/relations/css-styling/lengths-2.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...g/web-platform/meta/mathml/relations/css-styling/mathsize-attribute-css-keywords.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
.../web-platform/meta/mathml/relations/css-styling/mathsize-attribute-legacy-values.html.ini
This file was deleted.
Oops, something went wrong.