| <!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" /> |
| <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> |