| 1 |
<!-- |
| 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 |
--> |
| 7 |
<style type="text/css"> |
| 8 |
.tr-field { |
| 9 |
border: thin solid blue; |
| 10 |
} |
| 11 |
|
| 12 |
.tr_bq { |
| 13 |
border-left: thin solid red; |
| 14 |
margin-left: 5px; |
| 15 |
} |
| 16 |
</style> |
| 17 |
<input onclick="setUp()" type="button" value="Make all fields editable"/> |
| 18 |
<p> |
| 19 |
<div id="container"> |
| 20 |
This is used to test static utility functions. |
| 21 |
</div> |
| 22 |
<div id="root"> |
| 23 |
<div class="tr-field" id="field1"> |
| 24 |
<blockquote> |
| 25 |
This is an |
| 26 |
<span id="field1cursor"> |
| 27 |
selection |
| 28 |
</span> |
| 29 |
unsetup blockquote |
| 30 |
</blockquote> |
| 31 |
</div> |
| 32 |
<p> |
| 33 |
<div class="tr-field" id="field2"> |
| 34 |
<blockquote class="tr_bq"> |
| 35 |
This is a |
| 36 |
<span id="field2cursor"> |
| 37 |
selection |
| 38 |
</span> |
| 39 |
setup blockquote |
| 40 |
</blockquote> |
| 41 |
</div> |
| 42 |
</p> |
| 43 |
<p> |
| 44 |
</p> |
| 45 |
</div> |
| 46 |
</p> |