| Index: LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html | 
| diff --git a/LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html b/LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..ebe3de61a7dd0cfce1806bb469015ba43704714d | 
| --- /dev/null | 
| +++ b/LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html | 
| @@ -0,0 +1,38 @@ | 
| +<!DOCTYPE> | 
| +<html> | 
| +    <head> | 
| +        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 
| +         <link rel="stylesheet" type="text/css" href="resources/text-scaling.css"> | 
| +        <script src="resources/text-scaling.js"></script> | 
| +        <script src="../../../resources/js-test.js"></script> | 
| +    </head> | 
| +    <body> | 
| +        <section> | 
| +            <h1>Font Size Scaling (RTL, Arabic)</h1> | 
| +            <p> | 
| +                Size of the text should scale smoothly. | 
| +                Reported width should be within 0.01px of that of the highlighted reference row. | 
| +            </p> | 
| +            <div id="test"></div> | 
| +        </section> | 
| +        <script> | 
| +            if (window.testRunner && window.testRunner.setTextSubpixelPositioning) | 
| +                window.testRunner.setTextSubpixelPositioning(true); | 
| + | 
| +            var PANGRAM = ' أبجد هوَّز حُطّي كلَمُن سَعْفَص قُرِشَت ثَخَدٌ ضَظَغ'; | 
| +            var results = runTest(document.getElementById('test'), PANGRAM); | 
| + | 
| +            if (results == PASS) { | 
| +                testPassed('Size of text scales smoothly and width scales with font size as expected.'); | 
| + | 
| +                // Hide text if test passes as the actual numbers are | 
| +                // different across platforms and would require platform | 
| +                // specific baselines. | 
| +                if (window.testRunner) | 
| +                    document.getElementById('test').style.display = 'none'; | 
| +            } else { | 
| +                testFailed('Size of text does not scale smoothly, reported widths highlighted in red do not match reference row.'); | 
| +            } | 
| +        </script> | 
| +    </body> | 
| +</html> | 
|  |