Fix typo / clarify documentation for goog.Uri.prototype.resolve.

R=chrishenry
DELTA=6  (1 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5886


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

Move from NodeIterator to TagIterator to also consider closing tags.
Fixes bug where the following was considered one paragraph:
<div><div>First Paragraph</div>Second Paragraph</div>

R=nicksantos
DELTA=39  (34 added, 1 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5887


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

Add an assert to goog.dom.classes.get

R=nnaze
DELTA=20  (17 added, 1 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5888


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

Fix Closure warning message during compile.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5889


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

Automated g4 rollback

*** Reason for rollback ***

This breaks some tests

*** Original change description ***

Add an assert to goog.dom.classes.get

R=gboyer


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5890


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

Define the value and error properties in SimpleResult's constructor, making all result objects have the same shape in the V8 compiler and improving performance.

R=vbhasin
DELTA=20  (3 added, 0 deleted, 17 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5891


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

Ran javascript/closure/genjsdeps.sh.

R=chrishenry
DELTA=14  (10 added, 1 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5892


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

Add logic to goog.ui.Menu to scroll properly when a menu item is
highlighted outside the visible menu area.

R=chrishenry
DELTA=51  (51 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5893


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

Implement kind="attributes".

The name is a little controversial so I expect opinions. My rationale:
- It's short
- No need for underscores, dashes, or camel case to separate multiple words.
- Clearly does not refer to an attribute-value. It would be easy to
think kind="attribute" means an attribute value, given the way we use
JS and CSS content kinds.

We allow strict blocks to end with quoted attribute values (foo="bar")
and valueless attributes (checked) but not unquoted (foo={$x}) to avoid
mistaken adjacency like foo={$x}checked -- foo="{$x}"checked works fine.

This also undoes some of the changes I made in http://cl/35202516. I
made the mistake there of thinking HTML_ATTRIBUTE referred to attribute
values and actually broke Soy to conform to my broken interpretation. It
may be worthwhile to rename to HTML_ATTRIBUTES like the content kind.
Sorry for being fickle here -- my previous mistake!

Also updated end-context-mismatch error messages to be more human
readable.

R=xtof,msamuel
DELTA=491  (333 added, 70 deleted, 88 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5894


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

Get the exact cursor location, not just the containing block.
This solves a bug whereby applying formatting on the text
(i.e. enclosing it in a block) would cause the algorithm not to work.

R=nicksantos
DELTA=29  (23 added, 1 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5895


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

Clarify comment regarding property initialization.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5896


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

Fix a bug in the way Deferreds handle adding callbacks from within callbacks.

R=brenneman,knagaraj,jganderson
DELTA=60  (40 added, 5 deleted, 15 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5897


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

Make the Deferred.succeed parameter optional, to match the Deferred.prototype.callback parameter.

R=nicksantos


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5898


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

Change ContentKind.HTML_ATTRIBUTE to ContentKind.ATTRIBUTES.

R=xtof,rrlevering,cleen
DELTA=44  (0 added, 0 deleted, 44 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5899


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

Automated g4 rollback

*** Reason for rollback ***

broke navigation

*** Original change description ***

Fix a bug in the way Deferreds handle adding callbacks from within callbacks.

R=arahey
DELTA=60  (5 added, 40 deleted, 15 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5900


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

Change the behavior of listenOnce to be saner:

* If a listener already exists, listenOnce does not make any
changes to the current listener. i.e. it does not turn a
normal listener into a callOnce listener (nor does it
change a callOnce listener into something else -- though
the latter is already the current behavior).

* If a callOnce listener already exists, listen remove the
callOnce-ness of the listener.

R=gboyer,arv
DELTA=321  (223 added, 38 deleted, 60 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5901


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

Fix a bug in getPaddingBox on IE

R=nnaze
DELTA=17  (14 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5902


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

Update the goog.db implementation and tests so they pass on Chrome 22+.

This will break support for Chrome versions prior to 22.

R=chrishenry
DELTA=72  (29 added, 1 deleted, 42 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5903


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

use correct currency symbol for Russian Ruble

This changes the Ruble to use the correct symbol, puts it after the number and inserts a space between number and symbol.

Also correct some typos in the comments.

R=nnaze,arv
DELTA=39  (20 added, 4 deleted, 15 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5904


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

Merge the style tests into one file.

R=nnaze
DELTA=6935  (2613 added, 4286 deleted, 36 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5905


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