| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 .testDiv { | 5 .testDiv { |
| 6 font-size: 72px; | 6 font-size: 72px; |
| 7 -webkit-writing-mode: vertical-rl; | 7 -webkit-writing-mode: vertical-rl; |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 </head> | 10 </head> |
| 11 <body> | 11 <body> |
| 12 <!-- This expectation depends on the ellipsis is U+2026. --> | 12 <!-- This expectation depends on the ellipsis is U+2026. --> |
| 13 <div id="target" class="testDiv"><span style="font-family: Ahem">B</span>&#x
2026;</div> | 13 <div class="testDiv"><span id="target" style="font-family: Ahem">B</span>&#x
2026;</div> |
| 14 <script> | 14 <script> |
| 15 var range = document.createRange(); | 15 var range = document.createRange(); |
| 16 range.selectNode(document.getElementById("target")); | 16 range.selectNode(document.getElementById("target")); |
| 17 window.getSelection().addRange(range); | 17 window.getSelection().addRange(range); |
| 18 </script> | 18 </script> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| OLD | NEW |