| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/ahem.js"></script> |
| 4 <style> | 5 <style> |
| 5 body { | 6 body { |
| 6 font-family: Ahem; | 7 font-family: Ahem; |
| 7 font-size: 16px; | 8 font-size: 16px; |
| 8 -webkit-font-smoothing: none; | 9 -webkit-font-smoothing: none; |
| 9 color: rgba(0, 0, 0, 0.1); | 10 color: rgba(0, 0, 0, 0.1); |
| 10 } | 11 } |
| 11 </style> | 12 </style> |
| 12 </head> | 13 </head> |
| 13 <body> | 14 <body> |
| 14 <!-- All texts inside the ruby should be highlighted. --> | 15 <!-- All texts inside the ruby should be highlighted. --> |
| 15 a<ruby>1<rt>1</rt>2<rt>2</rt>3<rt>3</rt>4<rt>4</rt></ruby>b | 16 a<ruby>1<rt>1</rt>2<rt>2</rt>3<rt>3</rt>4<rt>4</rt></ruby>b |
| 16 <script> | 17 <script> |
| 17 var range = document.createRange(); | 18 var range = document.createRange(); |
| 18 range.selectNodeContents(document.body); | 19 range.selectNodeContents(document.body); |
| 19 window.getSelection().addRange(range); | 20 window.getSelection().addRange(range); |
| 20 </script> | 21 </script> |
| 21 </body> | 22 </body> |
| 22 </html> | 23 </html> |
| OLD | NEW |