Update automatically-opt-into-composited-scrolling.html

This test is intended to generate all paint orderings that are noteworthy wrt
opting into composited scrollincg. Looking at
http://www.w3.org/TR/CSS2/visuren.html#z-index there are several categories of
element considered when stacking elements in a stacking context. Categories 3-5
do not appear to overlap one another

so we've chosen one element from the categories which can overlap and then
permuted them.

If the elements are given unique z-indices, we can force any paint ordering
pre-promotion, so we test all of them.

If a non-descendant also has z-index:0, then its ordering wrt the promoted
container may change, so we test all valid orderings where this is the case.

Similarly, if a descendant and a non-descendant both have z-index:0, they could
also change order after promotion, so we consider those permutations as well.

In addition to covering all interesting permutations and types of elements, we
also have to consider cases where the element to be promoted is
positioned-but-not-a-stacking-context or has an ancestor in the same stacking
context that is positioned-but-not-a-stacking-context. These properties affect
paint ordering as per: http://www.w3.org/TR/CSS2/visuren.html#z-index.

R=jchaffraix

BUG=222014

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move 'features.gypi' from 'WebKit/chromium' to 'core'.

This follows up on https://codereview.chromium.org/14309005/
which removed the Chromium-side dependency on features.gypi, so
we can safely move the file in this patch and update various Blink
gyp files to point to 'Source/core/features.gypi' rather
than 'Source/WebKit/chromium/features.gypi'.

BUG=233869

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

Patch from Mike West <mkwst@chromium.org>.

git-svn-id: svn://svn.chromium.org/blink/trunk@148950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix two issues of input[pattern] handling.

- Invalid regular expressions are accepted unexpectedly.
  We need to check validity of regular expressions before wrapping with ^()$
- Regular expression back references don't work.
  We need to use non-capturing parentheses.

BUG=139971
TEST=automated; Update a layout test

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a test to document what CSS properties we expose in DRT.

Ideally we would instead document what CSS properties we expose in stable.
Bug 234853 tracks adding that support to Content Shell/run-webkit-tests.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move RuntimeEnabledFeatures to Core

There are lots of dependencies on this header from core and modules. There's no
reason to have this header in the bindings directory. It's tightly integrated
with the core.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 148841 "An iframe fling should not propagate to a parent ..."
This is a speculative fix for some Win Aura content_browsertests failures.
http://build.chromium.org/p/chromium.win/builders/Win%20Aura%20Tests%20%281%29/builds/3398

> An iframe fling should not propagate to a parent iframe
> 
> Fixed scrolling event handling to prevent bubbling up of touchscreen fling gestures when an iframe/div has become fully scrolled. This change affects only flings, regular gesture scrolling still bubbles up once the frame is fully scrolled. It also only affects flings from the touchscreen; touchpad flings retain the bubbling up behaviour.
> 
> BUG=223230
> 
> Review URL: https://codereview.chromium.org/13633004

TBR=dpranke@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Renaming StyleScopeResolver to ScopedStyleResolver.

This is a preparation patch for further StyleResolver refactoring.
I'm planning to add, move and remove codes to class ScopedStyleResolver.
So I would like to avoid both modifying the class and renaming the class at the same time.

BUG=229345

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Consolidate RenderThemeMacShared and RenderThemeChromiumMac.

This is just a code move, no functionality change.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a runtime flag for enabling IME API.

This flag is not used now but will be used when API implementation and
chromium side changes are landed.

BUG=234474
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch RegularExpression from YARR to V8

Make RegularExpression use V8 instead of YARR. This removes all but one
last usage of YARR in ContentSearchUtils which can be removed in a follow
up patch.

It's a little awkward to use V8's regular expression features from C++ since
you need to interact with the JS object fields, but this is the best we can do
for now. Eventually it'd be nice if V8 exposed a RegExp API directly.

For this patch we need to stop using static RegularExpressions in the web
inspector code because RegularExpression is no longer thread safe and the
web inspector would previously use the same instance between multiple
workers in InspectorStyleSheet.cpp.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix inspector/timeline/timeline-network-resource.html after
https://src.chromium.org/viewvc/chrome?revision=195963.
r195963 exposed network time, which gets a different value on
each run of the test.

TBR=esprehn@chromium.org

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

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