seamlessfield_test.js
No description.

File Location

/goog/editor/seamlessfield_test.js


Public Protected Private

Global Functions

assertAttachSeamlessIframeSizesCorrectly(fieldObjiframe)
Make sure that the original field element for the given goog.editor.Field has the same size before and after attaching the given iframe. If this is not true, then the field will fidget while we're initializing the field, and that's not what we want.
Arguments:
fieldObj : goog.editor.Field
The field.
iframe : HTMLIFrameElement
The iframe.
code »
testDispatchBlur&clearSelection()
No description.
code »
createSeamlessIframe()
No description.
code »
initSeamlessField(innerHTMLstyles) goog.editor.SeamlessField
Initialize a new editable field for the field id 'field', with the given innerHTML and styles.
Arguments:
innerHTML : string
html for the field contents.
styles : Object
Key-value pairs for styles on the field.
Returns: goog.editor.SeamlessField  The field.
code »
setUp()
No description.
code »
tearDown()
No description.
code »
testAttachIframe()
No description.
code »
testBlankField()
No description.
code »
testDispatchBlur()
No description.
code »
testDispatchIframeResizedForBodyHeight()
No description.
code »
testDispatchIframeResizedForWrapperHeight()
No description.
code »
testFieldWithBorder()
No description.
code »
testFieldWithContent()
No description.
code »
testFieldWithMargin()
No description.
code »
testFieldWithOverflow()
No description.
code »
testFieldWithOverflowAndPadding()
No description.
code »
testFieldWithPadding()
No description.
code »
testIframeHeightGrowsOnWrap()
No description.
code »
testManipulateDom()
No description.
code »
testSetMinHeight()
No description.
code »
testSetMinHeightWithNoIframe()
No description.
code »
testStartChangeEvents()
No description.
code »

Global Variables

fieldElemClone :
No description.
Code »

Directory editor

File Reference