Changeset 252922 in webkit


Ignore:
Timestamp:
Nov 28, 2019 6:34:45 AM (4 years ago)
Author:
Alan Bujtas
Message:

[LFC][IFC] adjustBaselineAndLineHeight should be called before resetting the line in quirk mode
https://bugs.webkit.org/show_bug.cgi?id=204662
<rdar://problem/57513178>

Reviewed by Antti Koivisto.

  • layout/inlineformatting/InlineLineBuilder.cpp:

(WebCore::Layout::LineBuilder::close):
(WebCore::Layout::LineBuilder::alignContentVertically):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r252921 r252922  
     12019-11-28  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][IFC] adjustBaselineAndLineHeight should be called before resetting the line in quirk mode
     4        https://bugs.webkit.org/show_bug.cgi?id=204662
     5        <rdar://problem/57513178>
     6
     7        Reviewed by Antti Koivisto.
     8
     9        * layout/inlineformatting/InlineLineBuilder.cpp:
     10        (WebCore::Layout::LineBuilder::close):
     11        (WebCore::Layout::LineBuilder::alignContentVertically):
     12
    1132019-11-28  Zalan Bujtas  <zalan@apple.com>
    214
  • trunk/Source/WebCore/layout/inlineformatting/InlineLineBuilder.cpp

    r252905 r252922  
    272272
    273273    if (!m_skipAlignment) {
     274        for (auto& run : runList) {
     275            adjustBaselineAndLineHeight(run);
     276            run.setLogicalHeight(runContentHeight(run));
     277        }
    274278        if (isVisuallyEmpty()) {
    275279            m_lineBox.resetBaseline();
     
    290294{
    291295    ASSERT(!m_skipAlignment);
    292     for (auto& run : runList) {
    293         adjustBaselineAndLineHeight(run);
    294         run.setLogicalHeight(runContentHeight(run));
    295     }
    296 
    297296    for (auto& run : runList) {
    298297        LayoutUnit logicalTop;
Note: See TracChangeset for help on using the changeset viewer.