range_test.js
No description.

File Location

/goog/editor/range_test.js


Public Protected Private

Global Functions

assertPointEquals()
No description.
code »
clearSelectionAndRestoreSaved(saved)
Clear the selection by re-parsing the DOM. Then restore the saved selection.
Arguments:
saved : goog.dom.SavedRange
The saved range.
code »
testDeepestPoint&deepestPoint()
No description.
code »
testPlaceCursorNextToLeft&expose()
No description.
code »
fragmentText()
Break a text node up into lots of little fragments.
code »
manualSplitText()
No description.
code »
normalizeBody()
Normalize the body and return the normalized range.
code »
normalizeBody&rangeFactory()
No description.
code »
setUp()
No description.
code »
setUpPage()
No description.
code »
tearDown()
No description.
code »
testDeepPointFindingOnNormalizedDom()
No description.
code »
testDeepestPoint()
No description.
code »
testDoubleExpand()
No description.
code »
testEmbeddedDifferentContainersExpand()
No description.
code »
testExpandWithStopNode()
No description.
code »
testGetDeepEndPoint()
No description.
code »
testIntersectsTag()
No description.
code »
testIsEditable()
No description.
code »
testMultipleChildrenExpand()
No description.
code »
testNarrowAtEndEdge()
No description.
code »
testNarrowAtStartEdge()
No description.
code »
testNarrowOutsideElement()
No description.
code »
testNoExpand()
No description.
code »
testNoNarrow()
No description.
code »
testNormalizeInFragmentedDomWithPreviousSiblings()
No description.
code »
testNormalizeNode()
No description.
code »
testNormalizeOnDivWithEmptyTextNodes()
No description.
code »
testNormalizeOnNormalizedDom()
No description.
code »
testNormalizeOnVeryFragmentedDom()
No description.
code »
testOjanCase()
No description.
code »
testPlaceCursorNextToLeft()
No description.
code »
testPlaceCursorNextToRight()
No description.
code »
testPlaceCursorNextTo_leftOfHr()
No description.
code »
testPlaceCursorNextTo_leftOfImg()
No description.
code »
testPlaceCursorNextTo_rightOfFirstOfTwoImgTags()
No description.
code »
testPlaceCursorNextTo_rightOfHr()
No description.
code »
testPlaceCursorNextTo_rightOfImg()
No description.
code »
testPlaceCursorNextTo_rightOfImgAtEnd()
No description.
code »
testPlaceCursorNextTo_rightOfLineBreak()
No description.
code »
testRangeCreatedInFragmentedDomWithPreviousSiblings()
No description.
code »
testRangeCreatedInVeryFragmentedDom()
No description.
code »
testRangePreservingNormalize()
No description.
code »
testRangePreservingNormalizeWhereEndNodePreviousSiblingIsSplit()
No description.
code »
testRangePreservingNormalizeWhereStartNodePreviousSiblingIsSplit()
No description.
code »
testReverseSimpleExpand()
No description.
code »
testSavedCaretRange()
Branched from the tests for goog.dom.SavedCaretRange.
code »
testSelectNodeStartBr()
No description.
code »
testSelectNodeStartSimple()
No description.
code »
testSelectionPreservingNormalize1()
No description.
code »
testSelectionPreservingNormalize2()
Make sure that selectionPreservingNormalize doesn't explode with no selection in the document.
code »
testSelectionPreservingNormalize3()
No description.
code »
testSelectionPreservingNormalizeAfterPlaceCursorNextTo()
No description.
code »
testSimpleDifferentContainersExpand()
No description.
code »
testSimpleDifferentContainersSmallExpand()
No description.
code »
testSimpleExpand()
No description.
code »

Global Variables

savedHtml :
No description.
Code »

Directory editor

File Reference