Use the correct rect for paint flashing
https://bugs.webkit.org/show_bug.cgi?id=136169

Reviewed by Sam Weinig.

Use the rect we've converted to root document coordinates for paint flashing.

* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::didPaint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix showing paint rects when selecting lines in the timeline
https://bugs.webkit.org/show_bug.cgi?id=136173

Reviewed by Joseph Pecoraro.

Fix the condition used to decide when to show the overlay.

* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::shouldShowOverlay):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add proper support for letter-spacing to bopomofo Ruby
https://bugs.webkit.org/show_bug.cgi?id=136171

Reviewed by Sam Weinig.

Source/WebCore:

Added fast/ruby/bopomofo-letter-spacing.html

* rendering/RenderRubyRun.cpp:
(WebCore::RenderRubyRun::layout):
Alter the layout of bopomofo ruby so that the distance between the base characters is the max of
the letter-spacing between the characters and the minimum required width to hold two rows of
Ruby.

Push the bopomofo ruby into the letter-spacing to ensure that it comes right after the base character
and not after all the letter-spacing.

LayoutTests:

* fast/ruby/bopomofo-letter-spacing.html: Added.
* platform/mac/fast/ruby/bopomofo-expected.png:
* platform/mac/fast/ruby/bopomofo-expected.txt:
* platform/mac/fast/ruby/bopomofo-letter-spacing-expected.png: Added.
* platform/mac/fast/ruby/bopomofo-letter-spacing-expected.txt: Added.



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