123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!DOCTYPE html>
- <html>
- <!--
- Copyright 2008 The Closure Library Authors. All Rights Reserved.
- Use of this source code is governed by the Apache License, Version 2.0.
- See the COPYING file for details.
- -->
- <!--
- @author nicksantos@google.com (Nick Santos)
- -->
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta charset="UTF-8" />
- <title>
- Closure Unit Tests - goog.editor.range
- </title>
- <script src="../base.js">
- </script>
- <script>
- goog.require('goog.editor.rangeTest');
- </script>
- </head>
- <body>
- <div id='root'>
- <div id='parentNode'>
- abc
- <div id='def'>def</div>
- ghi
- <div id='jkl'>jkl</div>
- mno
- <div id='pqr'>pqr</div>
- stu
- </div>
- <div id='caretRangeTest-1'>
- abc
- <div id='def-1'>def</div>
- ghi
- <div id='jkl-1'>jkl</div>
- mno
- <div id='pqr-1'>pqr</div>
- stu
- </div>
- <div id='normalizeTest-with-br'>abc<br/>def</div>
- <div id='normalizeTest-with-div'><div>abc</div></div>
- <div id='normalizeTest-with-empty-text-nodes'></div>
- <div id='normalizeTest-2'>
- abc
- <div id='def-2'>def</div>
- ghi
- <div id='jkl-2'>jkl</div>
- mno
- <div id='pqr-2'>pqr</div>
- stu
- </div>
- <div id='normalizeTest-3'>
- abc
- <div id='def-3'>def</div>
- ghi
- <div id='jkl-3'>jkl</div>
- mno
- <div id='pqr-3'>pqr</div>
- stu
- </div>
- <div id='normalizeTest-4'>
- abc
- <div id='def-4'>def</div>
- ghi
- <div id='jkl-4'>jkl</div>
- mno
- <div id='pqr-4'>pqr</div>
- stu
- </div>
- <div id='editableTest' g_editable='true'>
- abc
- <div>def</div>
- ghi
- <div>jkl</div>
- mno
- <div>pqr</div>
- stu
- </div>
- </div>
- </body>
- </html>
|