Fixes GSS compiler warnings for duplicate style rules by using /* @alternate */

R=eae
DELTA=3  (0 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5102


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

Change goog.fs.sliceBlob() to call slice() using the new spec.

IE10 implements slice() according to the new spec.
FF and Chrome also have bugs to remove their respective vendor
prefixes:
https://bugzilla.mozilla.org/show_bug.cgi?id=725289
https://bugs.webkit.org/show_bug.cgi?id=78111

R=nweiz,azzie
DELTA=121  (104 added, 5 deleted, 12 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5103


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

Deprecate goog.events.Event.dispose(Internal).

R=pallosp


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5104


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

Fix spelling errors for reuqest.  Mostly makes searching comments better, but there are some bonafide bugs here!

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5105


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

Remove expensive 4-year-old Safari hack.

It was apparently fixed in WebKit 525.18, in the Safari 3.1 line.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5106


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

Introduce type template to improve type inferrencing for the
goog.array.X methods.

R=chrishenry
DELTA=315  (239 added, 0 deleted, 76 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5107


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

Disposable monitoring mode: Enable starting the monitoring mode on the fly.

Some Disposables might be created before the monitoring mode was started,
don't throw an error when they are disposed.

To catch the "base class constructor not called" error in the monitoring mode,
make disposed_ undefined unless the base class constructor was called, and
check that in dispose().

R=pallosp


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5127


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

Fixed an issue with abort(true) where it tries to remove XhrIo listeners even if
one doesn't exist for the request.

Also added a getOutstandingRequests method.

R=ssaviano,chrishenry
DELTA=21  (12 added, 0 deleted, 9 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5128


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

Added method to reset menubutton's originalSize_ for cases where items are remove/added when scrollOnOverflow is on.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5142


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

Use the DomHelper's window.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5143


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

When moving popups off screen, avoids setting a negative left property as this can cause scrollbars to appear in RTL locales.
Also increases the negative top coordinate to avoid cases where the popup is taller than 200px.

R=chrishenry
DELTA=28  (25 added, 1 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5144


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

In Gecko, when the range isn't reversed, use the normal path for
selection (e.g. removeAllRanges() and addRange()).

The ContentEditableField tests fail without fixing this. I'm mystified
why this doesn't work -- well, mystified as much as you can possibly be
when it comes to ranges.  In this particular case, though, I think this
is a net improvement; in the simple cases, both forward and collapsed,
we can use the standard W3C functionality, and only rely on Gecko
specific code when it's reversed.

R=nicksantos
DELTA=40  (32 added, 0 deleted, 8 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5145


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

Fix a typo in a comment.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5146


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

Add goog.editor.ContentEditableField, which is a lighter replacement
for SeamlessField for clients that only support modern browsers with
good ContentEditable support.

Firefox 12+ finally has good contentEditable support and already
comprises the vast majority of Firefox users.

Note this does not change HAS_CONTENT_EDITABLE yet, since that may
break many other things; further testing is needed.

This also moves goog.editor.Field's tests to a separate JS file.
Although I normally don't like this pattern, given how complicated text
editing is and how many points are dependent on whether there's an
iframe, I think it's fine to run all of Field's tests for both Field
and ContentEditableField.

R=nicksantos
DELTA=2460  (1366 added, 1088 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5147


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

In Deferred, rethrow the original error instead of
wrapping in a goog.async.Deferred.UnhandledError.

Remove all active references to UnhandledError.

R=felixarends,nicksantos,zachlloyd,mknichel
DELTA=88  (5 added, 57 deleted, 26 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5153


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

Automated g4 rollback

*** Reason for rollback ***

After the CL, goog.Disposable is not a no-op, and cannot be compiled
out. This is unacceptable.

*** Original change description ***

Disposable monitoring mode: Enable starting the monitoring mode on the fly.

Some Disposables might be created before the monitoring mode was started,
don't throw an error when they are disposed.

To catch the "base class constructor not called" error in the monitoring mode,
make disposed_ undefined unless the base class constructor was called, and
check

... description truncated by g4 rollback ...

R=ssaviano


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5154


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