forked from mykmelez/gecko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1568520 [wpt PR 18037] - MathML: Add tests to check legacy mathsi…
…ze values, a=testonly Automatic update from web-platform-tests MathML: Add tests to check legacy mathsize values (#18037) These values have been removed from MathML Core ( w3c/mathml#7 ) -- wpt-commits: 54f7b9af46a8a8b6e9d43907d19d3250cbfbc83e wpt-pr: 18037
- Loading branch information
1 parent
56c95d6
commit 7be1d20
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...web-platform/tests/mathml/relations/css-styling/mathsize-attribute-legacy-values-ref.html
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,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>Legacy mathsize values</title> | ||
</head> | ||
<body> | ||
<p>Test passes if you see four "A" of equal size:</p> | ||
<math> | ||
<mtext>A</mtext> | ||
<mtext>A</mtext> | ||
<mtext>A</mtext> | ||
<mtext>A</mtext> | ||
</math> | ||
</body> | ||
</html> |
20 changes: 20 additions & 0 deletions
20
...ing/web-platform/tests/mathml/relations/css-styling/mathsize-attribute-legacy-values.html
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,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>Legacy mathsize values</title> | ||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling"> | ||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#legacy-mathml-style-attributes"> | ||
<meta name="assert" content="Verify that legacy values for mathsize have no effect."> | ||
<link rel="match" href="mathsize-attribute-legacy-values-ref.html"> | ||
</head> | ||
<body> | ||
<p>Test passes if you see four "A" of equal size:</p> | ||
<math> | ||
<mtext>A</mtext> | ||
<mtext mathsize="small">A</mtext> | ||
<mtext mathsize="medium">A</mtext> | ||
<mtext mathsize="big">A</mtext> | ||
</math> | ||
</body> | ||
</html> |