Make the demo for the PixelDensityMonitor listen to the correct event type.

R=chrishenry
DELTA=6 (2 added, 1 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6096


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2423 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback 

*** Reason for rollback ***

Rolling the original change forward

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

I can consistently make IE8 segfault after this change

*** Original change description ***

Generalize the the special handling of HR tags in
goog.editor.range.placeCursorNextTo() to better handle IMG tags and
other no-child-allowed Element nodes. This logic now takes effect
for all browsers, rather than just IE/IE9.
The the original behavior caused scrolling issues
when inserting images or emoji in gmail, on IE.
Also c

... description truncated by g4 rollback ...

R=nicksantos
DELTA=208 (167 added, 18 deleted, 23 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6098


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2424 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

I'm renaming the files to end in _tests.js instead of _test.js so they are not mistaken to be tests. 

R=chrishenry
DELTA=727 (364 added, 330 deleted, 33 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6099


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2425 0b95b8e8-c90f-11de-9d4f-f947ee5921c8