| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test for Bug 41509 - Ranges for @font-face unicode-range must be separate
d by commas</title> | 4 <title>Test for Bug 41509 - Ranges for @font-face unicode-range must be separate
d by commas</title> |
| 5 <style> | 5 <style> |
| 6 .test { | 6 .test { |
| 7 border: solid 1px; | 7 border: solid 1px; |
| 8 } | 8 } |
| 9 | 9 |
| 10 /* Test 0: Comma-separated list, which is valid. */ | 10 /* Test 0: Comma-separated list, which is valid. */ |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 var refId = "ref_" + mainTestId + "_" + subTestId; | 134 var refId = "ref_" + mainTestId + "_" + subTestId; |
| 135 var refFontFamily = expectedResults[mainTestId][subTestId]; | 135 var refFontFamily = expectedResults[mainTestId][subTestId]; |
| 136 createAndAppendSpan(refId, subTestId, refFontFamily); | 136 createAndAppendSpan(refId, subTestId, refFontFamily); |
| 137 | 137 |
| 138 shouldBe("document.getElementById('" + testId + "').offsetWidth", "docum
ent.getElementById('" + refId + "').offsetWidth"); | 138 shouldBe("document.getElementById('" + testId + "').offsetWidth", "docum
ent.getElementById('" + refId + "').offsetWidth"); |
| 139 } | 139 } |
| 140 testsElement.appendChild(document.createElement("br")); | 140 testsElement.appendChild(document.createElement("br")); |
| 141 } | 141 } |
| 142 </script> | 142 </script> |
| 143 <script src="../js/resources/js-test-post.js"></script> | |
| 144 </body> | 143 </body> |
| 145 </html> | 144 </html> |
| 146 | 145 |
| OLD | NEW |