Rebaseline virtual/windows-directwrite/fast/text/sub-pixel/text-scaling-pixel.html

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172390 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Apply the correct style to first-letter pseudo elements composed of different renderers

Traverse (in preorder) the whole subtree under a render block with a first-letter selector when
looking for the text renderers which would need to get the apropriate style applied, instead of
only considering the first renderer only, which might not contain all the text that should be
considered as a "first letter" (leading and trailing punctuation should be included too).

The present patch also considers leading spaces, if any, as part of the first-letter element,
to match the behaviour of other renderers such as IE and Opera (Firefox does not do that).

R=eseidel@chromium.org, eae@chromium.org, leviw@chromium.org
BUG=354403
TEST=Add new test to check first-letter elements composed of different renderers.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Get rid of greenish for JS frames on timeline

BUG=363976
TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172392 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't always repaint on zIndex change

If zIndex of a composited layer changes and there is no other conditions
triggering repaint, we should not repaint the layer.

Now treat zIndex change like opacity change about repainting.

BUG=364636,365865
TEST=reuse existing compositing/repaint/should-not-repaint-composited-descendants.html

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171989

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172393 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: prevent opening third devtools window while opening worker frontend

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172394 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Only check object size if the bounds don't match.

In r171862 we added a check to do a bounds invalidation if one of the provided
objects has zero size.

We can further improve this by only doing the invalidation if the bounds are
not equal. If they are equal we'll early out of any invalidation with a later
bounds check. Having the bounds check allows us to skip calling
repaintUsingContainer for the zero sized objects. This has no visual effect
as the zero sized invalidations would be skipped at the RenderView layer.

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

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