UNPKG

accessibility-developer-tools

Version:

This is a library of accessibility-related testing and utility code.

48 lines (46 loc) 1.58 kB
<!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"> <meta charset="UTF-8" /> <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>