no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 1369985-1.html
blob1c9cadde467070d90eb731445b944047cc65648d
1 <!DOCTYPE html>
2 <meta charset="UTF-8">
3 <style>
4 body {
5 padding: 0;
6 margin: 0;
7 font-size: 2px;
8 line-height: 1;
10 </style>
11 <body>
12 <script>
13 // This is the constant in nsTextFrame.cpp of the number of lines
14 // which a text run can be built up to.
15 const NUM_LINES_TO_BUILD_TEXT_RUNS = 200;
16 // Since the font-size is small, we need lots of blocks so that it can
17 // be seen clearer whether difference is fuzzy or real failure.
18 let x = '\u2588'.repeat(100) + '<br>';
19 for (let i = 0; i < NUM_LINES_TO_BUILD_TEXT_RUNS / 2 - 1; i++) {
20 document.write(x)
22 // We want this piece to be in whatever place inside the first
23 // NUM_LINES_TO_BUILD_TEXT_RUNS lines.
24 document.write('あ\nあ<br>');
25 // And we want another NUM_LINES_TO_BUILD_TEXT_RUNS lines to check.
26 for (let i = 0; i < NUM_LINES_TO_BUILD_TEXT_RUNS * 1.5; i++) {
27 document.write(x)
29 </script>