3 <p>This tests removing underline which is applied outside of unsplittable element. We shouldn't be removing underline.
</p>
5 <table style=
"text-decoration: underline;">
7 <td id=
"test" contenteditable=
"true">hello
</td>
18 <li>Before:
<span id=
"c1"></span></li>
19 <li>After:
<span id=
"c2"></span></li>
22 <script type=
"text/javascript">
24 if (window
.testRunner
)
25 testRunner
.dumpAsText();
27 var e
= document
.getElementById('e');
28 document
.getElementById('c1').appendChild(document
.createTextNode(e
.innerHTML
));
30 var s
= window
.getSelection();
31 var r
= document
.createRange();
32 r
.setStart(document
.getElementById('test'),0);
33 r
.setEnd(document
.getElementById('test'),1);
36 document
.execCommand("underline", false, null);
38 document
.getElementById('c2').appendChild(document
.createTextNode(e
.innerHTML
));