Move MIMEType classes to Source/platform

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161388 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Whitespace only text nodes need to be reattached when their siblings are reattached

When reversing the style loop, we changed the way whitespace only text nodes are
handled by deferring their processing until later in an attempt to have consistent
whitespace text renderers in our layout test expectations. I also disabled a
whitespace reattach step because this change in behavior masked any bugs from
showing up by doing so in our LayoutTests.

Re-adding the whitespace reattachment now that we have a test that breaks without
it. It also changes some random test expectations by adding whitespace renderers.

BUG=313327

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

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

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

BUG=311335
TBR=bruno.d@partner.samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161390 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip autosizing if the multiplier will be 1 for all clusters.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make lineGrid to use RenderBlockFlow

LineGrid is used to align lines to a grid, which is something that
RenderBlockFlow, not RenderBlock should be concerned with. This
changes all the related code to use the tighter RenderBlockFlow
type.

Also tightening the type of shrinkLogicalWidthToAvoidFloats, which
calls into this code. The consideration of floats from arbitrary
RenderBoxes needs to be reworked to not have to consider whether
its in a BlockFlow or not.

BUG=302024

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161392 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove msvs_guid from webkit_unit_tests.

BUG=28727
R=tony@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161393 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't iterate children in recalcStyle if no style changed

We were iterating through all the children doing lots of wasted work
when no style really changed.

With a really basic benchmark of 1000 <div>'s inside a parent div and
then setting the border of that parent div to trigger a recalc that
doesn't effect the children this shows a 18-25% reduction in the time
spent in recalcStyle. The real reduction is about 0.01ms which isn't
huge, but it should reduce the amount of cache thrashing we do and makes
us scale much better.

Unfortunately we still iterate all the children inside
RenderObject::propagateStyleToAnonymousChildren so changes like this are
linear in the number of children. Eventually we should figure out a way
to fix that too.

For reference Firefox can do this in constant time.

BUG=315271

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161394 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WindowBase64::atob() does not remove space characters from input

WindowBase64::atob() does not remove space characters from input as mandated
by the specification (Step 3):
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#dom-windowbase64-atob

As a result, base64 decoding will fail if the input string contains HTML
space characters.

This CL makes our implementation more flexible so that it allows HTML spaces
in the encoded input, which is apparently desired because quite common:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22731

We now have a 100% pass rate on the following test suite:
http://www.w3c-test.org/html/tests/submission/AryehGregor/base64.html

BUG=314682

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

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