[LFC][IFC] Take nonBreakableStart/End into use.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2018 15:41:45 +0000 (15:41 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2018 15:41:45 +0000 (15:41 +0000)
commit99cae3fd59e5d59d5f7ff0a967adb0503f3db95b
tree9d69388e8bb6c44b5b0ac44dfe1d843a8c909a8a
parent8d4b64a928bba09d9b1d8e2adcab1fdbf5f1b74a
[LFC][IFC] Take nonBreakableStart/End into use.
https://bugs.webkit.org/show_bug.cgi?id=191873

Reviewed by Antti Koivisto.

Source/WebCore:

Offset the final inline runs with the nonBreakableStart/End values.
(This patch also fixes relative positioned run verification.)

Test: fast/inline/inline-content-with-padding-left-right.html

* layout/Verification.cpp:
(WebCore::Layout::LayoutState::verifyAndOutputMismatchingLayoutTree const):
* layout/inlineformatting/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::splitInlineRunIfNeeded const):

Tools:

* LayoutReloaded/misc/LFC-passing-tests.txt:

LayoutTests:

* fast/inline/inline-content-with-padding-left-right-expected.txt: Added.
* fast/inline/inline-content-with-padding-left-right.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/inline/inline-content-with-padding-left-right-expected.txt [new file with mode: 0644]
LayoutTests/fast/inline/inline-content-with-padding-left-right.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/layout/Verification.cpp
Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp
Tools/ChangeLog
Tools/LayoutReloaded/misc/LFC-passing-tests.txt