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

Changeset 286024 in webkit


Ignore:
Timestamp:
Nov 18, 2021, 1:14:07 PM (5 years ago)
Author:
Alan Bujtas
Message:

[IFC][Integration] Switching line layout path should invalidate preferred width
https://bugs.webkit.org/show_bug.cgi?id=233324

Reviewed by Antti Koivisto.

Since we don't propagate intrinsic width values between the line layout codepaths, switching
should invalidate these dirty bits.

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::invalidateLineLayoutPath):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r286021 r286024  
     12021-11-18  Alan Bujtas  <zalan@apple.com>
     2
     3        [IFC][Integration] Switching line layout path should invalidate preferred width
     4        https://bugs.webkit.org/show_bug.cgi?id=233324
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Since we don't propagate intrinsic width values between the line layout codepaths, switching
     9        should invalidate these dirty bits.
     10
     11        * rendering/RenderBlockFlow.cpp:
     12        (WebCore::RenderBlockFlow::invalidateLineLayoutPath):
     13
    1142021-11-18  Wenson Hsieh  <wenson_hsieh@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r285946 r286024  
    36833683            path = ForcedLegacyPath;
    36843684#endif
     3685#if ENABLE_MODERN_PREFERRED_WIDTH_COMPUTATION
     3686        for (auto walker = InlineWalker(*this); !walker.atEnd(); walker.advance())
     3687            walker.current()->setPreferredLogicalWidthsDirty(true);
     3688#endif
    36853689        m_lineLayout = std::monostate();
    36863690        setLineLayoutPath(path);
Note: See TracChangeset for help on using the changeset viewer.