Remove CPUProfileNode.visible from the protocol

The field is unused and just unnecessary overhead for the protocol messages.

BUG=None
R=alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155435 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSS Bg Blending fails when specifying background image and color separately

The problem is only visible when specifying an image known to be opaque using
background-image, followed by adding a background-color.
The fix consists of testing whether a blend mode is applied when checking
if the image is opaque.

BUG=266427

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155436 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a regression when editor does not restore scroll position when switching tabs.

R=pfeldman, lushnikov, apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155437 bbb929c8-8fbe-4397-9dbb-9b2b20218538
View source uses too many resources and never finishes on some pages.

Analysis: it takes very long to update CSS counters used for line numbers.

BUG=265747

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155438 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r155428

http://src.chromium.org/viewvc/blink?view=revision&revision=155428

TBR=morrita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155439 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Elements] Restore the original attribute value before editing

If a property value is trimmed, then it should be restored to the
original value before editing.

R=vsevik, yurys@chromium.org
BUG=263752

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155440 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow objects without scrollbars to be scrollable

This CL is a refactoring of scrolling code to decouple the concept of 
'scrollable' from 'has scrollbars'. It adds a pure virtual userInputScrollable(orientation) method. Subclasses define
this to specify whether an object is allowed to scroll (e.g. 
A ScrollView can be scrolled if it has scroll mode Auto or Always). 

Also removed a few unused scrolling-related methods.

BUG=247055

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155441 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Suppress zero-length text SVG inline renderers.

The SVG text layout functions assert non-zero metrics for SVG inline text (see
SVGTextLayoutEngine::layoutTextOnLineOrPath, for example). Normally, we don't
instantiate renderers for zero-length inline text (see
Text::textRendererIsNeeded), but the RenderSVGInlineText constructor performs
whitespace filtering to support xml:space semantics
(http://www.w3.org/TR/SVG/struct.html#LangSpaceAttrs) and can end up with empty
text while still passing the non-zero length test in Text::textRendererIsNeeded
(for example a single newline gets deleted when xml:space="default").

Enter RenderText::positionLineBox() which attempts to fix things up by removing
zero length inline boxes. But removing boxes at this point is bad for business
because it invalidates (marks as dirty and clears computed metrics) parent
boxes and sibling boxes during layout, and throws subsequent computations off.

The patch adds isChildAllowed()-based validation for SVG inline text. This prevents zero-len-text
renderers from being inserted into the tree in the first place.

Most test result diffs are zero-lenght DRT RenderSVGInlineText variance, but
some reveal prior issues:

* svg/W3C-SVG-1.1/text-align-08-b-diffs.html has incorrect results checked in
  (one text group is missing due to this bug).
* svg/dom/altGlyph-dom.xhtml(altGlyph-dom.js) also has incorrect results
  hardcoded in.
* svg/animations/length-list-animation.svg is failing miserably without this
  patch, but the failure is only visible when testing manually because the
  reference SVG is failing in the same manner.

Also removing a redundant test in SVGTextLayoutEngine::currentVisualCharacterMetrics(): the while loop condition handles that case in an equivalent manner.

BUG=263742
R=pdr@chromium.org,dschulze@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155442 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix incorrect CSSPrimitiveValue::equals for CSS_PARSER_OPERATOR

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
New positioning model: support for stacked floats with shape-outside

Import new test for stacked floats from the CSSWG's repository.

BUG=260357
R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the fast/sub-pixel/ellipsis-zoom.html reftest

I broke this in r155341 aka https://codereview.chromium.org/21414002/

R=ojan@chromium.org
BUG=259083

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
StyleBuilder should not know about StyleResolver.

StyleBuilder should only know how to build styles and apply properties.
Carefully, we weaned StyleBuilder off its addiction to StyleResolver.
Victory is ours.

No functional changes, no tests.

BUG=259085
R=eae, eseidel, esprehn

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

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