getComputedStyle().width wrong after text changed
https://bugs.webkit.org/show_bug.cgi?id=106611

Patch by Yuki Sekiguchi <yuki.sekiguchi@access-company.com> on 2013-06-26
Reviewed by Dean Jackson.

Source/WebCore:

When a new RenderText is created, NodeRenderingContext::createRendererForTextIfNeeded() sets a style to the RenderText.
If a font in the new style needs transcode (e.g. Meiryo), styleDidChange() calls transformText().
It sets a preferredLogicalWidthsDirty flag.
After that, createRendererForTextIfNeeded() inserts the RenderText to its parent renderer.
However, RenderObjectChildList::insertChildNode() doesn't set a preferredLogicalWidthsDirty flag of owner
because a preferredLogicalWidthsDirty flag of the RenderText is already true.

Inserting new child should always sets a preferredLogicalWidthsDirty flag.
Therefore, this patch called setPreferredLogicalWidthsDirty() of owner.

Test: fast/dynamic/empty-absolute-innerhtml-transcoding-text.html

* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::insertChildNode):

LayoutTests:

* fast/dynamic/empty-absolute-innerhtml-transcoding-text-expected.html: Added.
* fast/dynamic/empty-absolute-innerhtml-transcoding-text.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
BUILD FIX (r151981): Include HTMLAudioElement.h for ENABLE(PLUGIN_PROXY_FOR_VIDEO)

* css/StyleResolver.cpp:
- Include HTMLAudioElement.h.
- Sort headers.
* rendering/RenderLayerCompositor.cpp:
- Include HTMLAudioElement.h.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Added a code coverage report.
https://bugs.webkit.org/show_bug.cgi?id=117941

Reviewed by Joseph Pecoraro.

* CodeCoverage: Added.
* CodeCoverage/results-template.html: Added.
* Scripts/generate-coverage-data: Generate and open the new report.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove detect-mismached-virtual-const.
https://bugs.webkit.org/show_bug.cgi?id=117999

Reviewed by Anders Carlsson.

Clang warns on mismatched virtual const, so there's no need for this
script any more.

* Scripts/detect-mismatched-virtual-const: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Speed up SVG sprites by only painting the source rect in SVGImage::draw
https://bugs.webkit.org/show_bug.cgi?id=118070

Reviewed by Tim Horton.

Merge https://chromium.googlesource.com/chromium/blink/+/d359ab67fdd76a877d666dca91c311505dd27bbf.

* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::draw):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152020 268f45cc-cd09-0410-ab3c-d52691b4dbfc