##// END OF EJS Templates
Backport PR #5459: Fix interact animation page jump FF...
Backport PR #5459: Fix interact animation page jump FF Firefox doesn't render images immediately as the data is available. When animating the way that we animate, this causes the output area to collapse quickly before returning to its original size. When the output area collapses, FireFox scrolls upwards in attempt to compensate for the lost vertical content (so it looks like you are on the same spot in the page, with respect to the contents below the image's prior location). The solution is to resize the image output after the `img onload` event has fired. This PR: - Releases the `clear_output` height lock after the image has been loaded (instead of immediately or using a timeout). - Removes a `setTimeout` call in the `append_output` method. - `clear_output` in zmqshell no longer sends `\r` to the stream outputs. closes #5128
MinRK -
r16229:ff1462d3
Show More
Name Size Modified Last Commit Author
/ IPython / html / tests
base
notebook
services
tree
widgets
README.md Loading ...
__init__.py Loading ...
launchnotebook.py Loading ...
test_files.py Loading ...
test_hist.sqlite Loading ...
test_nbextensions.py Loading ...
test_notebookapp.py Loading ...
test_utils.py Loading ...
util.js Loading ...

IPython Notebook JavaScript Tests

This directory includes regression tests for the web notebook. These tests
depend on CasperJS, which in turn requires a recent
version of PhantomJS.

The JavaScript tests are organized into subdirectories that match those in
static (base',notebook,services,tree`, etc.).

To run all of the JavaScript tests do:

iptest js

To run the JavaScript tests in a single subdirectory (notebook in this
case) do:

iptest js/notebook

The file util.js contains utility functions for tests, including a path to
a running notebook server on localhost (http://127.0.0.1) with the port
number specified as a command line argument to the test suite. Port 8888 is
used if --port= is not specified. When you run these tests using iptest
you do not, however, have to start a notebook server yourself; that is done
automatically.