123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!DOCTYPE html>
- <!--
- Tests for goog.editor.plugins.EnterHandler
- @author nicksantos@google.com (Nick Santos)
- -->
- <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.editor.plugins.EnterHandler
- </title>
- <script src="../../base.js">
- </script>
- <script>
- goog.require('goog.editor.plugins.EnterHandlerTest');
- </script>
- <style type="text/css">
- .tr-field {
- border: thin solid blue;
- }
- .tr_bq {
- border-left: thin solid red;
- margin-left: 5px;
- }
- </style>
- </head>
- <body>
- <input type="button" value="Make all fields editable" onclick="setUp()" />
- <p>
- <div id="container">
- This is used to test static utility functions.
- </div>
- <div id="root">
- <div id="field1" class="tr-field">
- <blockquote>
- This is an
- <span id="field1cursor">
- selection
- </span>
- unsetup blockquote
- </blockquote>
- </div>
- <p>
- <div id="field2" class="tr-field">
- <blockquote class="tr_bq">
- This is a
- <span id="field2cursor">
- selection
- </span>
- setup blockquote
- </blockquote>
- </div>
- </p>
- <p>
- </p>
- </div>
- </p>
- </body>
- </html>
|