[DevTools] Scale context menu position by pageZoomFactor.

BUG=394669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
flex shorthand incorrectly accepting 1 0% 1 (i.e. flex-basis in the middle)

On flex items, specifying a flex shorthand with a flex basis in the
middle of two flex factors, e.g. flex: 1 0% 1 is getting accepted in
blink.

According to http://www.w3.org/TR/css3-flexbox/#flex-property, the
grammar of the flex shorthand is as follows:

Value:	none | [ <‘flex-grow’> <‘flex-shrink’>? || <‘flex-basis’> ]

It means that flex-grow and flex-shrink must appear together. Therefore flex
basis in the middle of two flex factors is invalid.

Currently blink consider flex: 1 0% 1 as valid, mapping the values as
 <flex-grow> <flex-basis> <flex-shrink>, i.e. flex: 1 0% 1 is equivalent
to flex: 1 1 0%.

This patch fixes this bug by adding an additional condition checking
if flex-basis is in the middle or not in flex argument list
while setting values for flex basis.

BUG=380984

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename WebCore to blink in Modules

TBR=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Scroll interruption tests for CSSOM View smooth scroll

This adds a SmoothScrollInterruptionTest class and tests using
this class.

BUG=243871

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178387

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix webkitpy scm_unittests so that they pass again.

We don't run these by default, so they bitrotted at some point.

In particular, it looks like svn 1.7 changed behavior so that if
you call

svn add foo
svn add foo/bar

the second call errors out with bar already having been added;
in svn 1.6, this was just a warning.

This comes up in our code because when adding a file we recursively
add the parent directories to ensure the whole path is versioned; we
need to change this so that we do not implicitly recurse down when
adding a parent directory.

Less importantly, it looks like the semantics for git svn clone -T 
change in Git v2, so the branch names are slightly different and 
we need to account for the remote branch refs differently as a result.

R=eseidel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up .coverage left around by test-webkitpy

test-webkitpy tests running the -c flag for coverage; this would cause
us to leave a .coverage file in Tools/Scripts. This patch cleans that up

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a minor test bug in test-webkitpy

main_unittest was relying on the original sys.argv and passing that
to the arg-parsing code. If somehow you had something in argv that
wasn't a valid argument to test-webkitpy (e.g., by testing w/
unittest directly), the test would fail and raise SystemExit.

This was an unnecessarily fragile design, so I fixed to preserve
the original sys.argv and replace it for the test w/ something predictable.

R=eseidel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Linux] Enable subpixel text on high-dpi regardless of hinting

Expose deviceScaleFactor on GraphicsContext and use to selectively
enable subpixel text regardless of the system font hinting settings for
high-dpi systems.

BUG=373441
R=derat@chromium.org, tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Modifications to layout test framework so that it can work with browsertests. This is for end to end testing for print preview.

BUG=388517

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename WebCore namespace to blink in bindings and web

TBR=eseidel@chromium.org

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

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