Tweak Android expectations a bit.

They were Failures, not ImageOnlyFailures.

BUG=338475
TBR=gavinp

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Free temporary GPU and memory resources held by inactive or hidden 2D canvases

BUG=272374

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165966 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[FastTextAutosizer] Implement wide descendant autosizing

This patch enables autosizing for blocks that are wider than their
parent's DBCAT[1]. For example:
<div width="300px">
  [text that should not be autosized]
  <div width="800px">
    [text that should be autosized] <-- this patch makes this autosize
  </div>
</div>

Because the width of a block is not computable until the block is in
layout, a heuristic has been added to create potentially-autosizing
clusters (see: mightBeWiderDescendant). When computing a cluster's
multiplier we now check isWiderDescendant which will determine
whether a potentially-autosizing cluster should actually autosize,
or whether it should inherit its parent's multiplier.

With this patch we pass an additional 3 tests!

This patch also removes some unnecessary #ifndef's around ASSERT
statements.

[1] "Deepest Block Containing All Text".

BUG=302005
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
This CL cleans up import-w3c-tests so that the default behavior matches what we want.

Namely, in the normal case, you want to import the tests in place in a checkout (i.e., you would cd to LayoutTests/w3c/csswg-test and just run the script), rather than copying things from one place to another.

This patch also adds the 'W3CImportExpectations' so that we can track which directories to blacklist (making it clearer which ones are being imported, plus getting new directories as they are added for free).

We leave the old behavior in place in case someone still wants to do a manual import.

R=ojan@chromium.org
BUG=242329

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix body.scrollTop/Left for scrollable <body> tags

Blink was erroneously not setting (and getting) the scrollTop and scrollLeft
properties of a scrollable body element.

As per the spec [1], if an element
(including body) has a scrollable area, being it overflown or not, set and get
scroll{Top,Left} should apply to the element itself, in both quirks and strict
modes. What Blink used to do instead was to apply these properties to the document
viewport. Patch changes it to now match Gecko in that regard.

- Note: "scrollable body" above actually refers to a body element that has a scrollable area which differs from the viewport's scrollable area, if any.

- Note2: scrollTop/Left were already working properly for other elements (see dom/Element.cpp), but only body differs.

Additionally, the patch removes a couple of out of date comments in Element::setScrollTop
and Element::setScrollTop, after https://www.w3.org/Bugs/Public/show_bug.cgi?id=23448 got
fixed.

[1] http://dev.w3.org/csswg/cssom-view/#dom-element-scrolltop

Test: fast/dom/Element/scrollTop-scrollLeft-body.html

BUG=312435

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark RTL iFrame tests on Mac as expected failure (baselines are wrong).

The existing Mac-only baselines are wrong, and need to be fixed to work with
the new composited scrollbar framework.

BUG=338794

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

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