Allow focusing an area in an image map even when it's not an immediate child.

BUG=247956
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable tests that break due to missing AA on software compositor.

Software compositor tests that require anti-aliasing on quads with edges
internal to their layer are disabled for now, as the compositor can't
do AA on external edges without also including internal ones.

R=enne
BUG=248222
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move the CSS Device Adaptation @viewport rule support behind
a runtime flag

As this is an experimental feature it is not enabled for
stable releases, but it is enabled for testing purposes or
by using the flag --enable-experimental-webkit-features and
--enable-viewport to the content_shell

Unprefix the CSSOM interface. The style rule will be unprefixed
separately as it affects all the tests

Some tests are failing now due to some changes in the tests/spec
which were added in another commit. This will be fixed in a
separate patch.

initialViewportSize was not used by Chromium (leftover from
WebKit). Hook it up directly.

BUG=235457, 155477
R=alexis.menard@intel.com, apavlov@chromium.org, johnme@chromium.org, marja@chromium.org, peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Remove prefetching method stubs from Blink

Prefetching is implemented entirely in Chromium (apart from the
postSuccess... side of things); now that the backend is moved,
various interfaces can be simplified and stubs removed.

BUG=234278
R=abarth@chromium.org, alecflett@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make DOMWrapperMap tolerant of multiple calls to set() with the same key

Before r151181, DOMWrapperMap was only ASSERTed when removeAndDispose()
was called with a key that didn't exist in the map. But that revision,
in removing the v8::Handle argument to removeAndDispose(), began to
dereference the iterator received from calling m_map.find(), where
previously it was only passing it to m_map.remove(). HashMap::remove(),
when passed HashMap::end(), bails out, but of course accessing it->value
on the iterator returned from HashMap::end() leads to a crash.

This patch fixes the crash by reverting to the old behavior, but leaves
a FIXME in place as this is not supposed to happen. It's not yet clear
the best method of tracking down the crashes, but in the meantime this
should keep them quiet.

R=marja@chromium.org
BUG=243055,246978

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152154 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Add a release assert to DOMWrapperMap to track down duplicate wrapper creation"

Now that we've gotten crash data from the RELEASE_ASSERT, let's stop
crashing in production.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed expectations update: Add "Missing" to 2 compositor tests

https://chromiumcodereview.appspot.com/16139006 forgot to add
Missing entries for a couple of compositor test.

BUG=
TBR=danakj@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
fix paths in webkitpy tests.

This change modifies some of the unit tests to be able to run from outside
of the Blink checkout (which is what the bots do).

TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152159 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline editing/deleting/delete-4083333-fix.html

This test needed a rebaseline on Win7 and Win7 debug.

BUG=
TBR=dmazzoni@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152160 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support for host to add additional JavaScript bindings.

I'm working on a closed-source project that uses Blink, which needs to add some new bindings. I understand the generated code outside Blink will occasionally break as Blink's guts change.. I'm OK with that for now. I hope to add stable API for this use case in the future, but don't know enough yet to propose how that stable API would look.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed, marking gpu/fast/hidpi/image-set tests as timing out on win

The following tests are timing out on win7:
virtual/gpu/fast/hidpi/image-set-in-content-dynamic.html
virtual/gpu/fast/hidpi/image-set-simple.html

http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7/builds/5714/steps/webkit_tests/logs/stdio

I'm marking them as Timeout.

BUG=245611
TBR=vollick@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Exclusions] Increasing padding does not correctly layout child blocks

If a child block has changed dimension inside a shape and it has affected the block siblings
we need to relayout the content inside the shape.

BUG=230382

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152163 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add document.register, deprecate document.webkitRegister.

These methods are behind a flag. In keeping with Blink's approach to
vendor prefixes, this deprecates the prefixed version. There is no
"Intent to Deprecate" email for this trivial change; Custom Elements
is an experimental feature that is behind a flag.

BUG=180965

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152164 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update comment about caching main resources

Caching main resources in memory uses a sizable amount of memory. Before we
start caching them, we should consider the memory implications.

R=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add mising MemoryCache types to stats

Not all the types of resources in the memory cache are represented in its
stats. This CL adds a catch-all "other" category. If the "other" category is
large, we can break it down into smaller pieces.

R=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152166 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add check on Cube Completeness for Cube textures and improve the efficiency of checks associated with OES_texture_{half_}float_linear extension.

BUG=246815

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152167 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change the return type of WebSocket.send() to void

Ported this patch
https://bugs.webkit.org/attachment.cgi?id=111442&action=prettypatch
in
https://bugs.webkit.org/show_bug.cgi?id=65850

When error occurs, show error messages to the console instead.

Originally written by yutak.

This change (boolean -> void) happened on the API spec on 2010/08/06.
http://dev.w3.org/cvsweb/html5/websockets/Overview.html.diff?r1=1.188;r2=1.189;f=h

BUG=229295

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152170 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update TestExpectations to remove passing tests.

TBR=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152174 bbb929c8-8fbe-4397-9dbb-9b2b20218538
animation-inside-reflection.html times out in debug builds.

This test times out on all platforms in the debug configuration. I'm
marking it as [ Timeout Pass ] for now, but we may want to consider
marking it as Skip.

BUG=248407
TBR=alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152175 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve WebValidationMessageClient interface and implementation.

* Change the anchor position argument of showValidationMessage from the
  screen coordinate system to the root view coordinate system.  Blink
  can't provide a rectangle in the screen coordinate on Android port
  because HostWindow::rootViewToScreen does nothing on Android, and
  we'd like to make it consistent.  This change breaks validation message
  bubble position temporarily until UI implementations for non-Android is
  updated.

* Add moveValidationMessage to avoid recreation of UI widgets.

* Take account of the length of title attribute value for display duration.

BUG=146212
R=keishi@chromium.org

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

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