chromium/third_party/google-closure-library/closure/goog/editor/range_test.html

<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
Copyright 2017 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.
--><html><head><meta charset="UTF-8">

<script src="../base.js"></script>

<script>goog.require('goog.editor.rangeTest');</script>
<title>Closure Unit Tests - goog.editor.rangeTest</title><!--
Copyright 2017 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><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>