OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 | 4 |
5 <meta name="viewport" content="width=800"> | 5 <meta name="viewport" content="width=800"> |
6 <style> | 6 <style> |
7 html { font-size: 16px; } | 7 html { font-size: 16px; } |
8 body { width: 800px; margin: 0; overflow-y: hidden; } | 8 body { width: 800px; margin: 0; overflow-y: hidden; } |
9 </style> | 9 </style> |
10 | 10 |
11 </head> | 11 </head> |
12 <body> | 12 <body> |
13 | 13 |
14 <div style="font-size: 1.25rem"> | 14 <div style="font-size: 1.25rem"> |
15 <div style="width: 320px"> | 15 <div style="width: 320px"> |
16 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. | 16 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. |
17 </div> | 17 </div> |
18 <div style="width: 400px"> | 18 <div style="width: 400px"> |
19 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. | 19 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. |
20 </div> | 20 </div> |
21 <div style="width: 240px"> | 21 <div style="width: 240px"> |
22 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. | 22 This text should be autosized to 20px computed font-size as it is combin
ed with its narrow siblings and the maximum width is 400px. |
23 </div> | 23 </div> |
24 </div> | 24 </div> |
25 | 25 |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |