![]()
Assert that the prepared contents matches the expected.
|
code » | ||||||
![]()
Runs a test for splitting the dom.
Arguments:
|
code » | ||||||
Creates a field with only the enter handler plugged in, for testing.
Arguments:
Returns: goog.editor.Field
A field.
|
code » | ||||||
Selects the node at the given id, and simulates an ENTER keypress.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
Runs different cases of splitting the DOM.
Arguments:
|
code » | ||||||
![]()
Tests that deleting a BR that comes right before a block element works.
|
code » | ||||||
![]()
Tests that deleting a BR is working normally (that the workaround for the
bug is not causing double deletes).
|
code » | ||||||
![]()
Verifies
goog.editor.plugins.TagOnEnterHandler.prototype.handleRegularEnterGecko_
when we explicitly split anchor elements. This test runs only for Gecko
since this is a Gecko-only codepath.
|
code » | ||||||
![]()
Regression test for http://b/1991234 . Tests that when you hit enter and it
creates a blank line with whitespace and a BR, the cursor is placed in the
whitespace text node instead of the BR, otherwise continuing to type will
create adjacent text nodes, which causes browsers to mess up some
execcommands. Fix is in a Gecko-only codepath, thus test runs only for Gecko.
A full test for the entire sequence that reproed the bug is in
javascript/apps/editor/tests/ponenter_robot.html .
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
Verifies correct handling of pressing enter in an empty list item.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
Regression test for http://b/3051179 . Tests that when you hit enter and it
creates a blank line with a BR and the cursor is placed in P.
Splitting DOM causes to make an empty text node. Then if the cursor is placed
at the text node the cursor is shown at wrong location.
Therefore this test checks that the cursor is not placed at an empty node.
Fix is in a Gecko-only codepath, thus test runs only for Gecko.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » |