Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / ruby / rubyDOM-remove-text1.html
blobb4303b17b519d3af45f6d243a60135c719a066eb
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <script>
5 function test()
7 var ruby = document.getElementById('R');
8 var s = document.getElementById('S');
9 ruby.removeChild(s);
11 </script>
12 </head>
13 <body onload="test()">
14 <p>The following is a test for DOM manipulation within &lt;ruby&gt;: Removing a ruby base object, leaving the base non-empty.</p>
15 <p>Both lines should look identical (the first line is the one manipulated).</p>
16 <br>
17 <br>
18 <p>&lt;ruby&gt; is defined in the <ruby id="R"><span>HTML</span><span id="S" style="color:red">SHOULDN'T SHOW!</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
19 <p>&lt;ruby&gt; is defined in the <ruby><span>HTML</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
20 </body>
21 </html>