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
Make goog.ui.Component calls super-class disposeInternal last.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6242


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2496 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Move JS out of string_test.html and into string_test.js

R=nicksantos
DELTA=2152 (1090 added, 1058 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6243


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2497 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Replace calls:
goog.mixin(x, new goog.events.EventTarget());

with:
goog.testing.events.mixinListenable(x);

The former will no longer works when we flip the @define
goog.events.Listenable.USE_LISTENABLE_INTERFACE to true.

Please review that the change is as intended above. Since this
is done automatically (with multiple spot-checks), there may be cases
where the output is not as expected. Let me know if you spot any
and I will fix it.

This is part of goog.events leaking listeners elimination
effort

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6244


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2498 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Add goog.string splitLines function.

Pull JS from string_test.html into string_test.js in this change.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6245


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2499 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Remove reference to ".toString(36)" in common code so it is easier for the compiler to remove.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6246


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2500 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Updating goog.db to comply with the latest specs regarding error reporting.

See http://www.w3.org/TR/IndexedDB/#exceptions

Errors used to be reported as numerical error codes. Now they are reported
as strings. Chrome25 is the first version that is not backward compatible.
Chrome 22, 23, 24 support both.

R=nweiz
DELTA=328 (215 added, 20 deleted, 93 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6247


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2501 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Provide minimal screen reader support when tabbing through the cells of
the character picker. This CL also add a CSS rule to provide visual
feedback when the focus is on a given cell.

R=lauriat,ipi,chrishenry
DELTA=153 (143 added, 3 deleted, 7 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6248


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2502 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Makes input tools and firststrong compatible.

R=shuchen,wuyingbing,nicksantos,ajp,nkerem
DELTA=85 (78 added, 0 deleted, 7 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6249


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2503 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Update two colors to match the CSS3 spec (http://www.w3.org/TR/css3-color/#svg-color).

The previous mismatch seems similar to: https://code.google.com/p/chromium/issues/detail?id=69428

R=vbhasin
DELTA=2 (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6250


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2504 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Make validator a bit smarter about allowed email addresses. A number of
special characters are valid in the email address spec.
http://en.wikipedia.org/wiki/Email_address#Syntax

R=nnaze
DELTA=7 (2 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6252


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2505 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Remove the silverlight code from Closure
I could never really get this to work well, and silverlight
is a dead technology

R=nnaze,cbro,jch


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6253


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