Add identifier for the localized text of a menulist

The text displayed should indicate the number of options selected.
e.g. "2 selected"

This CL is needed for other CLs to implement this change.

BUG=314704

Review URL: https://codereview.chromium.org/280483002

git-svn-id: svn://svn.chromium.org/blink/trunk@174267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add ScriptPromise::reject

Add ScriptPromise::reject function in preparation for 
http://crbug.com/359386 and other refactorings.

This CL also adds ScriptPromise::cast(ScriptState*, 
v8::Handle<V8::Value>) and simplifies the existing cast 
implementation.

BUG=359386
R=haraken

Review URL: https://codereview.chromium.org/289313003

git-svn-id: svn://svn.chromium.org/blink/trunk@174268 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't pretend that text-decoration is a shorthand in computed style.

Even when the appropriate runtime flag isn't enabled, we still return
the shorthand version of the computed style for 'text-decoration'. For
example, for 'text-decoration: underline', we return the computed style
'underline solid rgb(0, 0, 0)', which is correct only when the runtime
flag is on.

BUG=367091,342126

Review URL: https://codereview.chromium.org/282303007

git-svn-id: svn://svn.chromium.org/blink/trunk@174269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix toV8 with empty context in V8NodeFilterCondition

BUG=369451

Review URL: https://codereview.chromium.org/272103002

git-svn-id: svn://svn.chromium.org/blink/trunk@174270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline invalid css2.1 tests

In issue 308992 we adapted to the new SVG sizing behavior.
Unfortunately, the css testsuite hasn't yet adapted.

We have filed issues for this upstream:

http://test.csswg.org/shepherd/testcase/replaced-intrinsic-001/name/replaced-intrinsic/
http://test.csswg.org/shepherd/testcase/replaced-intrinsic-002/name/replaced-intrinsic/

Until the tests are addressed, rebaseline our test results to the new
behavior.

BUG=308992
TBR=ojan

Review URL: https://codereview.chromium.org/286913007

git-svn-id: svn://svn.chromium.org/blink/trunk@174271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Only add trace events for actual sweeps of the heap.

If sweep is not requested performPendingSweep is a noop and that will
distort the picture that we get from tracing. We only want to trace
when we are actually sweeping the heap so that we can get data on
the average sweep times.

R=erik.corry@gmail.com, haraken@chromium.org

Review URL: https://codereview.chromium.org/288973003

git-svn-id: svn://svn.chromium.org/blink/trunk@174272 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use RecalcStyleDeferred for inspector style changes.

I could not find a reason why it needs to be immediate and all tests seem to
still pass.

R=pfeldman@chromium.org,ojan@chromium.org
BUG=374162

Review URL: https://codereview.chromium.org/290313002

git-svn-id: svn://svn.chromium.org/blink/trunk@174273 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Use HeapListHashSet for FontFaceList.

Getting rid of a few of our FIXME's that are easy to fix. Using
HeapListHashSet and not HeapLinkedHashSet because an iterator
is stored in a field and HeapLinkedHashSet is not safe for
modification during iteration. (HeapListHashSet cannot
survive removal of the element at the iterator, but is otherwise
OK with modification.)

R=erik.corry@gmail.com, sigbjornf@opera.com

Review URL: https://codereview.chromium.org/282263002

git-svn-id: svn://svn.chromium.org/blink/trunk@174274 bbb929c8-8fbe-4397-9dbb-9b2b20218538
add 'slow' prefix to RenderObject's firstChild() / lastChild() methods

add 'slow' prefix to RenderObject's firstChild() / lastChild() methods to make
it obvious to callers that calling these method on a RenderObject is expensive
and tighter typing should be used when possible.

This CL takes care of using getting rid of easily avoidable calls to
slowFirstChild() / slowLastChild().

R=esprehn@chromium.org, pdr@chromium.org

Review URL: https://codereview.chromium.org/295513003

git-svn-id: svn://svn.chromium.org/blink/trunk@174275 bbb929c8-8fbe-4397-9dbb-9b2b20218538