-
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 1876684 - Export MathML dir-* tests to WPT. r=emilio
- dir-3.html/dir-5.html: These are approximative verifications of overall RTL directionality using "covering rectangles". Export them with a a specific font in order to make them a bit more robust. For dir-5.html we use scripts-spaceafterscript3000.woff and adjust the rects accordingly but the test might change later depending on the outcome of w3c/mathml-core#217. - dir-4-ref.html: Removed (the test was removed in bug 1783995). Differential Revision: https://phabricator.services.mozilla.com/D199702
- Loading branch information
Showing
7 changed files
with
91 additions
and
77 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
38 changes: 38 additions & 0 deletions
38
...ng/web-platform/tests/mathml/presentation-markup/direction/direction-overall-003-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,38 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head><title>Test dir=rtl</title></head> | ||
<body> | ||
|
||
<div style="position: absolute; | ||
top: 5px; left: 5px; width: 200px; height: 200px;"> | ||
<div style="position: absolute; width: 70px; height: 200px; | ||
left: 0px; background: red;"></div> | ||
<div style="position: absolute; width: 70px; height: 200px; | ||
left: 70px; background: green;"></div> | ||
<div style="position: absolute; width: 70px; height: 200px; | ||
left: 140px; background: magenta;"></div> | ||
<div style="position: absolute; width: 70px; height: 200px; | ||
left: 210px; background: blue;"></div> | ||
<div style="position: absolute; width: 70px; height: 200px; | ||
left: 280px; background: yellow;"></div>--> | ||
</div> | ||
|
||
|
||
<div style="position: absolute; | ||
top: 5px; left: 5px; width: 200px; height: 200px;"> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: -5px; background: black;"></div> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: 65px; background: black;"></div> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: 135px; background: black;"></div> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: 205px; background: black;"></div> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: 275px; background: black;"></div> | ||
<div style="position: absolute; width: 10px; height: 200px; | ||
left: 345px; background: black;"></div> | ||
</div> | ||
|
||
</body> | ||
</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