outline-offset does not work for inlines.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jan 2016 20:32:01 +0000 (20:32 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jan 2016 20:32:01 +0000 (20:32 +0000)
commit824e6216f41a96261b88ca8304495aa8afa5ebac
tree9672ac9305bbb082caf16174bf29a6b8da37e23f
parentffb545f973a4e9226bac36ebfafef7000b16c539
outline-offset does not work for inlines.
https://bugs.webkit.org/show_bug.cgi?id=153238

Reviewed by Simon Fraser.

Adjust outline box width/height with outline-offset.

Test: fast/inline/inlines-with-outline-offset.html

Source/WebCore:

* rendering/RenderInline.cpp:
(WebCore::RenderInline::paintOutline):
(WebCore::RenderInline::paintOutlineForLine):

LayoutTests:

* fast/inline/inlines-with-outline-offset-expected.html: Added.
* fast/inline/inlines-with-outline-offset.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/inline/inline-with-outline-offset-expected.html [new file with mode: 0644]
LayoutTests/fast/inline/inline-with-outline-offset.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderInline.cpp