Made positioning resize correctly when overflow happens at the top.  It was already doing the right thing when it overflowed at the bottom.

R=nicksantos
DELTA=17 (17 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6228


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

*** Reason for rollback ***

rolling back rollback

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

Broke stuff

*** Original change description ***

Restrict goog.soy.Renderer.render to only render strict Soy templates of kind="html".

Also, strenghten .renderStrict to assume kind="html" if called without explicit kind in opt_kind parameter.

R=gboyer
DELTA=40 (36 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6229


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2488 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Make hostPrefix initialization use the same initialization irrespective of the shortcircuiting of the first test.

R=dennygursky,mpd
DELTA=3 (1 added, 1 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6230


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2489 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Add goog.testing.events.mixinListenable to allow mixing in
listenable capability to objects in tests. This can be used to
make mock object be able to also handle events properly.

R=nicksantos
DELTA=99 (93 added, 2 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6231


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2490 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Remove double goog.require of goog.events.Listenable.

R=dpapad
DELTA=4 (1 added, 2 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6232


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2491 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fix an issue where getScrollLeft() returns an incorrect value in
non-gecko/non-IE browsers (e.g. Webkit) when the element has overflow
visible.

R=nicksantos
DELTA=27 (25 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6233


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2492 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fixed tests that will be broken by goog.events refactoring,
which is reversing the role of goog.events and
goog.events.EventTarget. goog.events now delegate to
goog.events.EventTarget.

The fixes are usually variations of the following issues:
1) Use-after-dispose of an event target -- this no longer works.
2) Overly strick mock -- we now may call methods such as listen,
listenOnce, etc. on the event target.
3) Improperly set up mock -- if a mock is passed to e.g.
goog.events.listen before calling $replay, it will
incorrectly sets up expectation for listen() calls (because
goog.events.listen now calls EventTarget#listen).
4) Wrong calls/parameters in the first place. (EventTarget is
slightly stricter than goog.events.)

If you are unsure about what problem I am fixing exactly, feel
free to ping me on the CL thread.

This is part of goog.events leaking listeners clean up effort.

R=loreena
DELTA=1 (1 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6234


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2493 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Add the ability to specify the current intended filename via a global
variable to goog.debug and change the module compiler to set this
when compiling in the "one eval per file mode".

This improves error reporting in the case of syntax errors, which happen
before the //@ sourceURL annotation in the eval is parsed.

R=nicksantos
DELTA=8 (5 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6235


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2494 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fixed missing required statements for goog.a11y.aria.State and goog.a11y.aria.Role (and goog.a11y.aria).
This is required because a following step in the goog.a11y.aria
refactoring is to split the goog.a11y.aria.Role and goog.a11y.aria.State in separate files.
A further refactoring will be to autogenerate the enums, so they should not be mixed with
not autogenerated content.
This change should not affect any BUILD files, as the goog.a11y.aria.State and goog.a11y.aria.Role are still
in the aria.js file. The next change will affect only BUILD files.
The changes are made by applying sed replacement transformations, so please double check the additions.


Thanks a lot for your cooperation!

Nelly

R=dnadasi
DELTA=2 (1 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6236


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