Let viewport-percentage lengths relative to the layout size

When the page is scaled up, the logical viewport will be bigger than
the visible viewport . According to the spec, viewport-percentage
lengths should be relative to the size of the "initial containing block"
which is the logical viewport not the visible viewport.

Removed Document::viewportSize() and RenderView::viewportSize() because
of no more usages.

BUG=289707
TEST=css3/viewport-percentage-lengths/viewport-percentage-lenths-scaled.html and existing css3/viewport-percentage-lengths for the unchanged non-scaled behavior.

Review URL: https://chromiumcodereview.appspot.com/23449029

git-svn-id: svn://svn.chromium.org/blink/trunk@157934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Font Load Events] Implement new font load events

* Make loadingdone's event object have a list of fonts successfully loaded
* Add loadingerror event, which is fired with a list of fonts failed to load
* Drop the per-font events (loadstart, load, error)

spec: http://dev.w3.org/csswg/css-font-load-events/#FontFaceSet-events

BUG=53213
TEST=fast/css

Review URL: https://chromiumcodereview.appspot.com/24196003

git-svn-id: svn://svn.chromium.org/blink/trunk@157935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix for link highlighting of <img> links

Temporary fix for <img> inside <a>. I changed the node that gets passed to the LinkHighlight object. Previously, when a node was tapped, we'd go up the tree until we find a node that causes a "hand cursor" and use that. Now, we do the same but we stop ascending up the tree if a node isn't contained by its parent's box.

In the long term, the LinkHighlight should be changed to use the entire hit testing region of the node, rather than the line box.

BUG=170673

Review URL: https://chromiumcodereview.appspot.com/24110002

git-svn-id: svn://svn.chromium.org/blink/trunk@157936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reject unicode-range: inherit in @font-face

The 'inherit' and 'initial' values are not allowed in @font-face
descriptors, but CSS parser accepts them. We should reject them.
This was a regression from Blink r157875 that caused assertion failure.

BUG=293707
TEST=fast/css/font-face-inherit-initial.html

Review URL: https://chromiumcodereview.appspot.com/23890035

git-svn-id: svn://svn.chromium.org/blink/trunk@157937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move the Scrollbars to RenderLayerScrollableArea

This CL moves m_vBar, m_hBar (and m_inOverflowRelayout) to
RenderLayerScrollableArea. Most of the code depending upon
the 2 scrollbars was also moved to the new class. Some code
had to stay in RenderLayer until we move the scroll corner
and resizing logic.

BUG=260899

Review URL: https://chromiumcodereview.appspot.com/23532045

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