Don't crash by form submission in a document with null encoding.

The CString object which is passed to normalizeLineEndingsToCRLF() can be
a null string. It is created in FormDataList::appendString(), and it
produces a null CString if FormDataList::m_encoding is a null encoding.

BUG=291744,306086
TEST=automated

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow small-caps synthesis for @font-face with multiple sources including SVG format

Since small-caps synthesis is not supported for SVG fonts, our font
matching algorithm ignored @font-faces that have svg sources when
small-caps variant is requested. This behavior had a problem that it
discards @font-face even if non-svg (ex. woff) source is available.

This patch moves that SVG-font check to CSSSegmentedFontFace::getFontData()
so that it skips SVG fonts only when SVG source is used.

BUG=298970
TEST=fast/css,svg/*

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename ScriptExecutionContext to ExecutionContext.

R=tkent@chromium.org, abarth@chromium.org, dglazkov@chromium.org
BUG=305497

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

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