![]()
Assert that the attributes of two Nodes are the same (ignoring any
instances of the style attribute).
Arguments:
|
code » | ||||||
![]()
Assert that the html in
actual is substantially similar to
htmlPattern. This method tests for the same set of styles, for the same
order of nodes, and the presence of attributes. Breaking whitespace nodes
are ignored. Elements can be
annotated with classnames corresponding to keys in goog.userAgent and will be
expected to show up in that user agent and expected not to show up in
others.
Arguments:
|
code » | ||||||
![]()
Assert that the html in
actual is substantially similar to
htmlPattern. This method tests for the same set of styles, and for the same
order of nodes. Breaking whitespace nodes are ignored. Elements can be
annotated with classnames corresponding to keys in goog.userAgent and will be
expected to show up in that user agent and expected not to show up in
others.
|
code » | ||||||
![]()
Tests if the given iterator over nodes matches the given Array of node
descriptors. Throws an error if any match fails.
Arguments:
|
code » | ||||||
![]()
Assert the end points of a range.
Notice that "Are two ranges visually identical?" and "Do two ranges have
the same endpoint?" are independent questions. Two visually identical ranges
may have different endpoints. And two ranges with the same endpoints may
be visually different.
Arguments:
|
code » | ||||||
Determines if the current user agent matches the specified string. Returns
false if the string does specify at least one user agent but does not match
the running agent.
|
code » | ||||||
![]()
Assert the class attribute of actualElem is the same as the one in
expectedElem, ignoring classes that are useragents.
|
code » | ||||||
![]()
Compare id attributes for IE. In IE, if an element lacks an id attribute
in the original HTML, the element object will still have such an attribute,
but its value will be the empty string.
|
code » | ||||||
No description.
|
code » | ||||||
Describes the given node.
|
code » | ||||||
Map function that converts end tags to a specific object.
Arguments:
Returns: Node
The resulting iteration item.
|
code » | ||||||
Exposes a node as a string.
|
code » | ||||||
Exposes the nodes of a range wrapper as a string.
Arguments:
Returns: string
A string representation of the range.
|
code » | ||||||
Finds the first text node descendant of root with the given content. Note
that this operates on a text node level, so if text nodes get split this
may not match the user visible text. Using normalize() may help here.
|
code » | ||||||
![]()
Gets the value of a DOM attribute in deterministic way.
|
code » | ||||||
Determines the text to match from the given node, removing browser
specification strings.
|
code » | ||||||
Whether to ignore the attribute.
|
code » | ||||||
Check if the given node is important. A node is important if it is a
non-empty text node, a non-annotated element, or an element annotated to
match on this user agent.
|
code » |