Updating TestExpectations.

git-svn-id: svn://svn.chromium.org/blink/trunk@159950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Break core/platform/network dependency on core

This CL breaks the last dependency from core/platform/network to the rest of
core. I've moved FormDataList back to core and made it responsible for building
FormData objects out of Blobs (and other items). That means FormData is not
just data, which makes sense.

After this CL and https://codereview.chromium.org/26283005/ land, we'll be able
to move core/platform/network into blink_platform.dll.

R=eseidel@chromium.org, eseidel
BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate HTMLElementFactory with Python

This CL replaces the old Perl-based HTMLElementFactory with
a Python implementation based in jinja2 templates.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Length classes to platform and break core dependencies.

The classes related to Lengths are moved from core/platform and
core/css to platform.

The dependency on CSS was due to ViewportPercentage units needed by
LengthFunctions, and is broken by moving the floatValueForLength method
into platform while leaving the other methods from LengthFunctions.h in
a new file named CSSLengthFunctions. To resolve the abiguity between the
CSS and platform versions of floatValueForLength, the RenderView argument
is made compulsory on the CSS version.

Numerous files needed to be updated. Those that only use
floatValueForLength with no RenderView get the platform version,
while the others get the CSS version with a null RenderView if
necessary. Note that a null RenderView is legal - the previous code
supported it and the default value for the RenderView parameter was
null.

R=abarth@chromium.org, abarth, eseidel
TEST=None. Existing coverage is adequate.
BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve tests, related to zooming ImageDocuments.

Previously, these tests relied on resize events, which is not necessary,
since zooms are synchronous. I compacted the two tests into one and
made them a bit more value-resilient -- instead of just printing values,
they actually tests for size equality.

BUG=307570
R=eseidel@chromium.org, tony

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 159954 "Improve tests, related to zooming ImageDocuments."

> Improve tests, related to zooming ImageDocuments.
> 
> Previously, these tests relied on resize events, which is not necessary,
> since zooms are synchronous. I compacted the two tests into one and
> made them a bit more value-resilient -- instead of just printing values,
> they actually tests for size equality.
> 
> BUG=307570
> R=eseidel@chromium.org, tony
> 
> Review URL: https://codereview.chromium.org/29543002

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make Document::renderer() private

Callers should use renderView() instead. It means in many cases virtual
calls to the RenderView will be devirtualized and it's also more clear
in the code what the caller is attempting to do.

I also took this as an opportunity to switch some callers to isActive()
that didn't really need to look at the renderView() and also clean up
some callers getting the renderView() in very round about ways.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid always style recalc when removing stylesheets.

Replaced FullStyleUpdate with AnalyzedStyleUpdate when:
- CSSStyleSheet::didMutate() is invoked from clearOwnerNode().
- StyleElement::removedFromDocument is invoked.

Modified StyleSheetCollection::analyzeStyleSheetChange when stylesheet contents are just removed:
- use Reset for StyleResolverUpdateType.
- use StyleInvalidationAnalysis for style recalc.


BUG=305885
TEST=All existing tests should pass after applying this patch.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159790

http://src.chromium.org/viewvc/blink?view=revision&revision=159790

BUG=306193
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FrameView::requestScrollPositionUpdate

It doesn't seem to do anything besides always return false.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159729

http://src.chromium.org/viewvc/blink?view=revision&revision=159729

BUG=307324
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Defer the real work in updateCompositingLayers until it's really needed.

Many types of change on a web page end up requiring that
compositing state gets updated. Currently this work is performed
immediately after layout, recalcStyle, and other entry points.

However, this work may happen surprisingly many times per actual
rendered frame, which is absolutely wasteful - nothing except the
most recent compositing state will matter when the frame finally
gets drawn. So, instead we can defer all compositing update work
until the compositor is ready to ask for updated compositing state.

BUG=229679,302726
R=jamesr@chromium.org, vollick@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a script to bisect layout test ordering failures.

Given a list of tests, with the last one failing, cut out half the tests
and rerun until we've hit all the test required to cause the test failure.

It's not clear how much use this script will get yet, and it's pretty small,
so I'm inclined not to spend the time yet to write test for this.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159622

http://src.chromium.org/viewvc/blink?view=revision&revision=159622

BUG=299556
TBR=yoav@yoav.ws

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159679

http://src.chromium.org/viewvc/blink?view=revision&revision=159679

BUG=260899
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159886

http://src.chromium.org/viewvc/blink?view=revision&revision=159886

BUG=229910
TBR=senorblanco@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r159641

http://src.chromium.org/viewvc/blink?view=revision&revision=159641

BUG=303383,303922
TBR=tasak@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159966 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate V8HTMLElementWrapperFactory with Python

This CL replaces the hold Perl-based V8HTMLElementWrapperFactory with a Python
implementation based on jinja2 templates. After this CL, we are a few inches
from dropping name_names.pl for HTML.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTML's dependency on make_names.pl

This CL finishes the transition from Perl to Python for HTMLTagNames.in and
HTMLAttributeNames.in.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update dependency on content tests

BUG=none
R=jam@chromium.org

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

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