⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268818 in webkit


Ignore:
Timestamp:
Oct 21, 2020, 12:34:04 PM (6 years ago)
Author:
Antti Koivisto
Message:

[LFC][Integration] Update style of contained layout boxes
https://bugs.webkit.org/show_bug.cgi?id=218017
<rdar://problem/70531938>

Reviewed by Zalan Bujtas.

Followup fix.

  • layout/integration/LayoutIntegrationLineLayout.cpp:

(WebCore::LayoutIntegration::LineLayout::containing):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r268817 r268818  
     12020-10-21  Antti Koivisto  <antti@apple.com>
     2
     3        [LFC][Integration] Update style of contained layout boxes
     4        https://bugs.webkit.org/show_bug.cgi?id=218017
     5        <rdar://problem/70531938>
     6
     7        Reviewed by Zalan Bujtas.
     8
     9        Followup fix.
     10
     11        * layout/integration/LayoutIntegrationLineLayout.cpp:
     12        (WebCore::LayoutIntegration::LineLayout::containing):
     13
    1142020-10-21  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp

    r268798 r268818  
    6868LineLayout* LineLayout::containing(RenderObject& renderer)
    6969{
     70    if (!is<RenderText>(renderer) && !is<RenderLineBreak>(renderer) && !is<RenderImage>(renderer))
     71        return nullptr;
     72   
    7073    if (auto* parent = renderer.parent()) {
    7174        if (is<RenderBlockFlow>(*parent))
Note: See TracChangeset for help on using the changeset viewer.