node_test.js
No description.

File Location

/goog/editor/node_test.js


Public Protected Private

Global Functions

createDivWithTextNodes()
No description.
code »
testFindHighestMatchingAncestor&predicateFunc()
No description.
code »
setUpDomTree()
No description.
code »
setUpPage()
No description.
code »
tearDown()
No description.
code »
tearDownDomTree()
No description.
code »
testFindHighestMatchingAncestor()
No description.
code »
testFindInChildrenFailure()
No description.
code »
testFindInChildrenSuccess()
No description.
code »
testFindTopMostEditableAncestor()
No description.
code »
testGetCompatModeQuirks()
No description.
code »
testGetCompatModeStandards()
No description.
code »
testGetFirstChild()
Creates a DOM tree and tests that getFirstChild properly ignores ignorable nodes
code »
testGetLastChild()
Create a DOM tree and test that getLastChild properly ignores ignorable nodes
code »
testGetLeftMostLeaf()
Creates a DOM tree and tests that getLeftMostLeaf returns proper node
code »
testGetLength()
Test that getLength returns 0 if the node has no length and no children, the # of children if the node has no length but does have children, and the length of the node if the node does have length
code »
testGetNextSibling()
Creates a DOM tree and tests that getNextSibling properly ignores igrnorable nodes when determining the next sibling
code »
testGetPreviousSibling()
Creates a DOM tree and Test that getPreviousSibling properly ignores ignorable nodes
code »
testGetRightMostLeaf()
Creates a DOM tree and tests that getRightMostLeaf returns proper node
code »
testIsAllNonNbspWhiteSpace()
Test that isAllNonNbspWhiteSpace returns true if node contains only whitespace that is not nbsp and false otherwise
code »
testIsBlock()
No description.
code »
testIsEditable()
No description.
code »
testIsEditableContainer()
No description.
code »
testIsEmpty()
No description.
code »
testIsImportant()
Test if nodes that should be ignorable return false and nodes that should not be ignored return true.
code »
testSkipEmptyTextNodes()
No description.
code »
testSplitDomTreeAt()
No description.
code »
testTransferChildren()
No description.
code »

Global Variables

gChildMixedNode1 :
No description.
Code »
gChildNbspNode1 :
No description.
Code »
gChildTextNode1 :
No description.
Code »
gChildTextNode3a :
No description.
Code »
gChildTextNode3b :
No description.
Code »
gChildWsNode1 :
No description.
Code »
gChildWsNode2a :
No description.
Code »
gChildWsNode2b :
No description.
Code »
gChildWsNode3 :
No description.
Code »

Directory editor

File Reference