Removed use of invalid V8 execution context.

IDBRequest::stop() (override of ActiveDOMObject's) calls
DOMRequestState::clear() which sets DOMRequestState::m_executionContext to
NULL.  ::idbAnyToScriptValue assumes state (an instance of DOMRequestState)
will never return NULL when calling DOMRequestState::context()

Later on IDBRequest::result() is calling idbAnyToScriptValue() with the
stopped IDBRequest::m_requestState.

Also ::scriptValueToIDBKey (and all other functions in IDBBindingUtilities.cpp)
use state->context()->GetIsolate() to get the isolate. The isolate still exists,
but the context is now NULL. Changing to state->isolate() fixes this problem.

BUG=345354

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169032 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Pause the timeline on load in the SVGAnimationTestCase.js framework

Most tests using this framework drive the "clock" / currentTime "manually"
by setCurrentTime(t), and add the instance time of a click event to it.
This means that there's a risk of rounding errors creeping in and causing
the actual elapsed time to be off by a fraction - large enough to cause
failures - at least for discrete animations.
(Example: svglengthlist-animation-3.html)
By pausing the timeline at 'load', the instance time for the click event
will be '0', which should eliminate the risk of rounding issues.
For the cases where the test actually need time to pass the timeline can
be unpaused explicitly. (Currently only one testcase seemed to require
that treatment.)

BUG=350827

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169033 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not mark !needsLayout() assert in RenderTableSection::paint as having security implications.
R=inferno@chromium.org

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169034 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] Omit polygon default fill-rule

Omit the default value (nonzero) when serializing the fill-rule. Adjust the tests to
this behavior.

BUG=350148

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169035 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Making MHTML files CRLF eol in an attempt to get trybots to work for my CL: 
https://codereview.chromium.org/161383002/ 

Same as LGTMed CL:
https://codereview.chromium.org/184113009/

R=ojan
BUG=None 
TEST=LayoutTests should still pass

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169036 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't process pending style sheets during style invalidation.

In particular, don't do it while clearing out invalidation during the process of resetting
the StyleResolver object. But the same reasoning applies in other scenarios, since
processing style invalidation is always about processing w.r.t the RuleFeatureSet as
it is presently.

Rename ensureRuleFeatureSet to more clearly indicate that it ensures an up-to-date
RuleFeatureSet, including processing pending style sheets. Also fix up the clear() method
in RuleFeatureSet to clear all data structures.

BUG=351212

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up static_cast<CSSFooValue*> in CSSValue.cpp

This cl removes remained static_cast<CSSFooValue*> usage in CSSValue.cpp.

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169038 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix dashed/dotted regression caused by multi-style text decoration patch.

If you fall through from TextDecorationStyle[Dotted, Dashed] to
TextDecorationStyleDouble, then obviously double lines will be drawn.

Also, change code to reuse as much code as possible rather than duplicate
approximately the same thing three times.

There should be no functional changes other than the regression fix.

BUG=351282
TEST=Covered by existing tests

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

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