Layout Test svg/as-object/embedded-svg-size-changes-no-layout-triggers.html is flaky on Mac 10.6

BUG=282634
TBR=falken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160622 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the resizing logic from RenderLayer

Callers were updated to use the RenderLayerScrollableArea.

BUG=260899

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160623 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete/move the remaining stale tests in TestExpectations.

I will mark the StaleTestExpectations entries as Skip in a followup patch.

BUG=308779, 239874, 255183, 239554, 28005, 24197, 67662, 61799, 35387, 10322, 2844, 66099, 77468, 240970, 780807, 82881, 259546, 108832, 230708, 239549, 233223, 227397, 86338, 252344, 249580, 240632, 244921, 223583, 231863, 235449, 235448, 243523, 243725, 243736, 244111, 244341, 245566, 245567, 244179, 244225, 245630, 246072, 246549, 247604, 247888, 248128, 252038, 253619
TBR=adamk@chromium.org, eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160624 bbb929c8-8fbe-4397-9dbb-9b2b20218538
SVGTests should not leave detached elements in the tree

Previously SVGTests would detach() elements when they were invalid. This was not
correct though since then calling getComputedStyle assumed that the element
was not in the document and would return an empty style. Worse, if anything
triggered a style recalc it would reattach this element and the style would not
be empty anymore.

As part of the effort to make the concept of "attached" implicit and stop using
confusingAndOftenMisusedAttached this patch switches to the correct model
of never leaving detached nodes in the tree and also fixes all the tests that
were asserting that the style was empty (which should never actually happen
if the element is inside the tree).

This also exposes that the SVGTests feature doesn't actually work for the
SVGSVGElement. As soon as a style recalc happened the element would
reappear. This patch makes the test for it correctly print FAIL exposing that
bug.

This is blocking https://codereview.chromium.org/26270004/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160625 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reenable the Skia GlyphPage implementation on Windows

We switched to use the skia implementation of GlyphPageTreeNode in
r158845 but reverted it in r159931 as it caused a performance
regression.

The underlying cause has now been identified and fixed by using the
SkTypeface charsToGlyphs implementation instyead of the SkPaint one.

This change reenables the Skia GlyphPage implementation on Windows.

BUG=304868
R=pdr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160626 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve HTMLCanvasElement::convertLogicalToDevice().

HTMLCanvasElement::convertLogicalToDevice() uses IntSize instead of FloatSize.

Unused following methods are removed:
1. FloatRect convertLogicalToDevice(const FloatRect&) const;
2. FloatSize convertDeviceToLogical(const FloatSize&) const;

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160627 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename file trucated -> truncated

TBR=pkasting@chromium.org

BUG=

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

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