This patch changes editing/selection/select-from-textfield-outwards.html platform independent for ease of maintenance.

This is patch is a part of preparation of removing VisualSelection::base()/extent().

BUG=n/a

Review URL: https://chromiumcodereview.appspot.com/18756002

git-svn-id: svn://svn.chromium.org/blink/trunk@153722 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix code in the rebaseline tool that tries to use the release builders.

At some point, the build_type got lower-cased. :(
This is the cause of the incorrect rebaseline in
https://src.chromium.org/viewvc/blink?revision=153719&view=revision.
We tried to grab the expected result from the Win7 (dbg)(2) bot,
which doesn't run the test in question, the Win7 (dbg)(1) bot does.

R=abarth@chromium.org, dimich@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153723 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Limit MediaSource current attach to one MediaElement

Enforce at most one currently attached HTMLMediaElement per MediaSource. Bug 252968's fix will expand on this CL by remembering which HTMLMediaElement is attached. Bug 255652 was identified but not fixed with this CL.

BUG=254658,252968,255652
R=acolwell@chromium.org
TEST=all media layout tests pass on linux, including multiple-attach

Review URL: https://chromiumcodereview.appspot.com/18084008

git-svn-id: svn://svn.chromium.org/blink/trunk@153724 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Start moving Source/WebKit to Source/web

This CL moves one file from Source/WebKit to Source/web to establish the
pattern. Once this CL lands, I'll move the rest of the files in bulk.

R=eseidel

Review URL: https://chromiumcodereview.appspot.com/18615009

git-svn-id: svn://svn.chromium.org/blink/trunk@153725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Register/unregister object owner directly from WebPluginContainerImpl.

Previously [un]registration involved calling into the plugin frame's
ScriptController, which was fragile since the plugin Widget can out-live its
frame in some instances.

BUG=256339,152006

Review URL: https://chromiumcodereview.appspot.com/18271008

git-svn-id: svn://svn.chromium.org/blink/trunk@153726 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow fractional letter- and word-spacing values.

Previously, fractional values specified or calculated for letter- and word-
spacing were truncated to an integer, despite our ability to draw text with
floating point precision. Exposing this ability is as simple as changing the
data structures involved to store floats.

BUG=154289

Review URL: https://chromiumcodereview.appspot.com/18332019

git-svn-id: svn://svn.chromium.org/blink/trunk@153727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Share common font fallback logic across platforms using Skia

The FontCache::getLastResortFallbackFont implementations for Linux, Android and Windows are all quite similar but does not share any code. Factor out the common logic and move it to FontCache.cpp

R=reed@google.com, senorblanco@chromium.org
BUG=257107
TEST=No new tests, covered by existing tests

Review URL: https://chromiumcodereview.appspot.com/18588002

git-svn-id: svn://svn.chromium.org/blink/trunk@153728 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Rebaseline test following backend migration

During the IDB backend migration we fixed a test that had a FAIL
expectation due to bogus text encoding. Now that the migration
has landed, rebaseline the test and remove the expectation.

BUG=234278
NOTRY=true
R=alecflett@chromium.org

Review URL: https://chromiumcodereview.appspot.com/18615014

git-svn-id: svn://svn.chromium.org/blink/trunk@153729 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use TemporaryChange in Document::styleForElementIgnoringPendingStylesheets

Review URL: https://chromiumcodereview.appspot.com/18868002

git-svn-id: svn://svn.chromium.org/blink/trunk@153730 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Node::reattach should ASSERT about being in a style recalc

Nothing should call reattach outside a style recalc except for Text (because Editing needs fixing).
This adds an ASSERT. While callers could still do attach/detach manually to get around this, adding
an ASSERT at least makes it clear this is not correct.

I also made Node::reattach not inline, since it's very unlikely that it was needed. We only call it in
style recalc for the top most element being reattached which is going to do tons of work for each
descendant (detach/attach/selector matching/etc.) so this one extra function call is unlikely to
matter.

R=eseidel@chromium.org,ojan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/18261006

git-svn-id: svn://svn.chromium.org/blink/trunk@153731 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove DragScrollTimer which is no longer used.

TEST=none
BUG=none
R=tkent

Review URL: https://chromiumcodereview.appspot.com/18802004

git-svn-id: svn://svn.chromium.org/blink/trunk@153732 bbb929c8-8fbe-4397-9dbb-9b2b20218538
The optional parameter of cloneNode should default to true

This is to match the spec and Firefox.

http://dom.spec.whatwg.org/#node

BUG=256274

Review URL: https://chromiumcodereview.appspot.com/18869002

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