mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
20
layout/reftests/canvas/text-bidi-rtl-ref.html
Normal file
20
layout/reftests/canvas/text-bidi-rtl-ref.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test to ensure bidi is resolved correctly</title>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="c" width="256" height="64" style="direction:rtl"></canvas>
|
||||
<script type="text/javascript">
|
||||
var canvas = document.getElementById('c');
|
||||
var ctx = canvas.getContext('2d');
|
||||
|
||||
var str = "goodbye\u202D\u05DD\u05D5\u05DC\u05E9\u202Chello";
|
||||
|
||||
ctx.fillStyle = 'black';
|
||||
ctx.font = '10px sans-serif';
|
||||
ctx.fillText(str, 128, 32);
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue