blob: 0983555d6efffbd9eb741c86e7ba4ff30223f129 [file] [log] [blame]
<!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.
-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Closure Unit Tests - goog.dom.TextRange</title>
<script src="../base.js"></script>
<script>
goog.require('goog.dom.TextRangeTest');
</script>
</head>
<body>
<div id="test1"></div>
<div id="test2">
<img id="logo" src="http://www.google.com/intl/en_ALL/images/logo.gif">
</div>
<!-- Omit whitespace here to ensure no extra text nodes are included. -->
<table id="table"><tbody id="tbody"><tr id="tr1"><td id="td11">a</td
><td id="td12">b</td></tr><tr id="tr2"><td id="td21">c</td><td id="td22"
>d</td></tr></tbody></table>
<table id="table2">
<tr>
<td>moof</td>
</tr>
<tr>
<td id="table2td">
<div id="table2div">foo<img id="logo2"
src="http://www.google.com/intl/en_ALL/images/logo.gif">bar</div>
</td>
</tr>
</table>
<!-- Omit whitespace here to ensure no extra text nodes are included. -->
<div id="test3Rtl" dir="rtl"><span>position</span><img id="logo3Rtl"
src="http://www.google.com/intl/en_ALL/images/logo.gif"><span
>test</span></div>
<!-- Omit whitespace here to ensure no extra text nodes are included. -->
<div id="test3"><span>position</span><img id="logo3"
src="http://www.google.com/intl/en_ALL/images/logo.gif"><span
>test</span></div>
</body>
</html>