| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <meta charset="UTF-8"> |
| 4 <head> |
| 5 <script type="text/javascript" src="../../http/tests/inspector-protocol/insp
ector-protocol-test.js"></script> |
| 6 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-
protocol-test.js"></script> |
| 7 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-
protocol-test.js"></script> |
| 8 <script type="text/javascript" src="resources/layout-font-test.js"></script> |
| 9 </head> |
| 10 <script> |
| 11 function postTestHookWithFontResults(results) { |
| 12 var el = document.createElement("div"); |
| 13 var passed = (results['#myanmar'].length == 1 && |
| 14 results['#myanmar'][0].familyName.includes("Myanmar")) || |
| 15 (results['#myanmar'].length == 2 && |
| 16 results['#myanmar'][0].glyphCount == 2 && |
| 17 results['#myanmar'][1].glyphCount > 10 && |
| 18 results['#myanmar'][1].familyName.includes("Myanmar")); |
| 19 el.innerHTML = passed ? "PASS" : "FAIL"; |
| 20 document.body.appendChild(el); |
| 21 } |
| 22 </script> |
| 23 <body> |
| 24 Test passes if a maxmium of the two first glyphs are notdef's (for Myanmar f
onts that do not combine a left quote |
| 25 with a Myanmar spacing mark and the rest of the run is shaped, given a syste
m Myanmar font is available. |
| 26 <div class="test"> |
| 27 <div lang="my" id="myanmar">‘ေရွးျမန္မာမင္းေတြလက္ထက္က</div> |
| 28 </div> |
| 29 </body> |
| 30 </html> |
| OLD | NEW |