Rebaseline width100percent-searchfield.html for Lucid

TBR=tkent
BUG=r149875

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152320 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not load deferred/disabled data uri images.

This patch fixes a bug where deferred data uri images were loaded.
After this patch, if an image is deferred, determineRevalidationPolicy
will reload the image which will both evict a previously cached image
and stop the image load.

BUG=249013
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152322 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add platform APIs for the unprefixed EME APIs.

BUG=224791
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152323 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline width100percent-searchfield.html for XP

TBR=tkent
BUG=77779

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152324 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove dead code: RenderTheme::disabledTextColor.

We don't use the default implementation of
RenderTheme::disabledTextColor, and our override functions just return
the specified color. It means RenderStyle::setColor call in
RenderTextControl::adjustInnerTextStyle is unnecessary, and startStyle
argument is also unnecessary.

updateUserModifyProperty don't need to return a bool value any longer.

BUG=none
TEST=none; no behavior changes

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152325 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline 4 SVG tests after crbug.com/227397

After crbug.com/227397, these 4 tests needed a rebaseline:
svg/batik/text/smallFonts.svg
svg/batik/text/textGlyphOrientationHorizontal.svg
svg/batik/text/verticalText.svg
svg/batik/text/verticalTextOnPath.svg

BUG=
TBR=senorblanco@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152326 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Inspector: Removed unused references to InspectorAgent

BUG=248092
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152327 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Always return 0 or 1 from UnitBezier::solve() if the input is out of range

If the input to UnitBezier::solve() is outside the range [0, 1], then for some curve parameters and epsilon values, the existing logic attempts to solve for the y value. In other cases, it will simply return 0 for input values less than 0, or 1 for input values greater than 1.

This change makes the behavior more consistent by always returning 0 or 1 if the input is out of range. It also simplifies the code path a little.

This change also adds some tests for UnitBezier.

BUG=240653

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152328 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Flatten compositing layer when painting drag images

In compositing mode, everything is a compositing layer since the NCCH removal.
Nothing will be painted without the flag.

BUG=246651
R=jamesr@chromium.org
TEST=manual

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

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

TBR=pdr

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152330 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed superseeded prefixed CSS properties histogram

r150654 added an histogram for all CSS properties so we don't need
to measure the subset of prefixed CSS properties anymore.
Also the CSS prefixed properties' histogram has several shortcomings:
- CSS properties IDs are not stable.
- you would need to do some math to figure out the actual IDs from
the results.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152331 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Changing the default value of DataChannelInit::negotiated to false to be interoperable with Firefox

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152332 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fall back to document element upon unsuccessful hit testing in inspect element.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152333 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Editor: fix "obsolete" selection on dispatchin "input" event.

Summary: "input" event listeners often see wrong selectionStart/selectionEnd.
This is because selection may be updated after "input" is dispatched.
This patch makes fixes order of operations: selection is always updated before
"input" is dispatched.

For more information see: https://bugs.webkit.org/show_bug.cgi?id=110742

BUG=133789

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152334 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Extract FullscreenController from Document as a Supplement.

This change extracts fullscreen related code into FullscreenController
from Document, and make the controller a Supplement.
Fullscreen APIs on Document.idl are also extracted to a partial
DocumentFullscreen.idl.

DocumentLifecycleObsever abstract class is inroduced so that
supplement objects can hook key lifecycle callbacks on Document.
FullscreenController is the first client of this API.

This is a part of effort to make Document lean.

BUG=248435
TEST=none
R=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152335 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix test todo - add intrinsic sizing tests for height

R=ojan@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152336 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove support for device-width|height for @viewport rule according to spec change

Also update the tests and unskip as they are now passing

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152337 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix Spectrum hue bar being turned upside-down

R=vsevik@chromium.org
BUG=242871

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

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

TBR=pdr

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable WOFF 2.0 webfonts behind experimental flag

This patch allows Blink to decode WOFF2.0 fonts. Actual decode is done
by OTS (opentype sanitizer). This also accepts format hint of "woff2" in
@font-face.
The functionality is hidden behind a runtime flag.

Intent-to-implement thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/N5b1p0Fi7Dk

BUG=122603

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

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