| 1 |
<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--><html><head><meta charset="UTF-8"> |
| 7 |
|
| 8 |
<script src="../base.js"></script> |
| 9 |
|
| 10 |
<script>goog.require('goog.dom.RangeTest');</script> |
| 11 |
<title>Closure Unit Tests - goog.dom.RangeTest</title><!-- |
| 12 |
Copyright 2007 The Closure Library Authors. All Rights Reserved. |
| 13 |
|
| 14 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 15 |
See the COPYING file for details. |
| 16 |
--> |
| 17 |
</head><body><div id="test1">Text</div> |
| 18 |
<div id="test2">abc<br id="br">def</div> |
| 19 |
<div id="empty"></div> |
| 20 |
<div id="test3"><div></div></div> |
| 21 |
<div id="removeTest"><div>Text that<br>will be deleted</div></div> |
| 22 |
<div id="surroundTest"></div> |
| 23 |
<div id="insertTest"></div> |
| 24 |
<div id="surroundWithNodesTest"></div> |
| 25 |
<div id="removePartialTest">012345</div> |
| 26 |
<table id="tableTest"><tbody><tr><td id="cell">1</td><td>2</td></tr></tbody></table> |
| 27 |
<div id="ulTest"><ul><li>1</li><li>2</li></ul></div> |
| 28 |
<div id="olTest"><ol><li>1</li><li>2</li></ol></div> |
| 29 |
<img id="logo" src="http://www.google.com/intl/en_ALL/images/logo.gif"> |
| 30 |
<div id="removeNodeTest"><div>Will be removed</div></div> |
| 31 |
|
| 32 |
<div id="bug1480638"></div> |
| 33 |
<div id="textWithSpaces">hello world !</div> |
| 34 |
<div contenteditable="true"> |
| 35 |
<div id="rangeAroundBreaks">abcd<br>e</div> |
| 36 |
<div id="breaksAroundNode"><br>abcde<br></div> |
| 37 |
</div> |
| 38 |
|
| 39 |
<!-- A focusable element to help restore focus to a sane state. --> |
| 40 |
<input id="focusableElement"> |
| 41 |
</body></html> |