[repaint-after-layout] Only repaint SVG root element when needed.

With Repaint-After-Layout we would repaint the SVG Root element a lot more
then needed. This ports the check for when to repaint the SVG Root element
into the LayoutRectRecorder to better match what the LayoutRepainting was doing
originally.

BUG=320139

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove style attribute from SVGElement.idl

This attribute is already present on Element.idl. This change avoids extra bindings code
being written.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove SkiaFontWin as it is no longer used

Remove the SkiaFontWin.cpp and SkiaFontWin.h files and all references
to them as the paintSkiaText method provided by SkiaFontWin.h is no
longer used now that the Uniscribe code path has been removed.

R=schenney@chromium.org
BUG=313423

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix zero height root renderer with background image painting

When the root renderer is fully collapsed with a background
image, the solid color background painting path would assume
that the background image would fill the viewport, but the
background image code would, correctly, only use the actual
height of the root and therefor not fill anything. The
result is the viewport isn't filled at all.

This is a regression from my early patch (r166582) that avoids
implicitly painting the viewport background when the root
itself will do so as an optimization to avoid rasterizing the entire
viewport twice. Catching the case in the solid color background
painting path. Behavior matches FireFox and Safari.

BUG=349936

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable some ServiceWorker layout tests

http/tests/serviceworker/registration.html
* was waiting on CR side to land

virtual/serviceworker/http/tests/serviceworker/registration.html
* was crashy but seems okay now (?)

virtual/serviceworker/http/tests/serviceworker/indexeddb.html
virtual/serviceworker/http/tests/serviceworker/postmessage.html
* were waiting on CR side to land

BUG=350103,352703,285976
TBR=alecflett

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove PostAttachCallbacks and replace with something more specialized

The last consumer of PostAttachCallbacks is layer updating, this patch
switches away from the generic "call me after recalc style" system that
was PostAttachCallbacks to a very specialized system that only marks
elements as needing a style recalc for the purposes of creating and
destroying layers.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebase fast/css/css2-system-fonts.html test expectations on Win XP

Attempt 2.

Notry because we don't have an XP trybot.
NOTRY=TRUE
BUG=354849

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove use of a V8 handle outside of bindings code in TimingInput.cpp.

R=alancutter@chromium.org, jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[webcrypto] Refactor some layout tests.

* Splits up large tests into smaller files.
* Extracts common key data to its own file
* Reduces use of shouldRejectPromiseWithNull()

BUG=245025

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebMediaPlayerClient{Impl}::needsWebLayerForVideo() as compositing is always enabled.

BUG=335345
R=eseidel@chromium.org

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

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