Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/ruby/select-ruby.html

Issue 2969973002: Select exact nodes in fast/ruby/select-ruby.html (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/ahem.js"></script> 4 <script src="../../resources/ahem.js"></script>
5 <style> 5 <style>
6 body { 6 body {
7 font-family: Ahem; 7 font-family: Ahem;
8 font-size: 16px; 8 font-size: 16px;
9 -webkit-font-smoothing: none; 9 -webkit-font-smoothing: none;
10 color: rgba(0, 0, 0, 0.1); 10 color: rgba(0, 0, 0, 0.1);
11 } 11 }
12 </style> 12 </style>
13 </head> 13 </head>
14 <body> 14 <body>
15 <!-- All texts inside the ruby should be highlighted. --> 15 <!-- All texts inside the ruby should be highlighted. -->
16 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
17 <script> 17 <script>
18 var range = document.createRange(); 18 window.getSelection().setBaseAndExtent(document.body.childNodes[2], 1, document. body.childNodes[4], 1)
19 range.selectNodeContents(document.body);
20 window.getSelection().addRange(range);
21 </script> 19 </script>
22 </body> 20 </body>
23 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698