[webkit-changes] [WebKit/WebKit] 618d20: [IFC][Integration] Disable IFC for nested deprecat...

Alan Baradlay noreply at github.com
Sun Oct 30 07:16:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 618d203596c03dcba4d8e7860064052d88334ea3
      https://github.com/WebKit/WebKit/commit/618d203596c03dcba4d8e7860064052d88334ea3
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    A LayoutTests/fast/block/line-clamp-collapse-nested-blocks-expected.html
    A LayoutTests/fast/block/line-clamp-collapse-nested-blocks.html
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderElement.h

  Log Message:
  -----------
  [IFC][Integration] Disable IFC for nested deprecated flex content with line-clamp
https://bugs.webkit.org/show_bug.cgi?id=247234

Reviewed by Antti Koivisto.

line-clamp works nested block containers. It's not sufficient to check the parent's parent only.

* LayoutTests/fast/block/line-clamp-collapse-nested-blocks-expected.html: Added.
* LayoutTests/fast/block/line-clamp-collapse-nested-blocks.html: Added.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForStyle):
* Source/WebCore/rendering/RenderBox.h:
* Source/WebCore/rendering/RenderElement.h:

Canonical link: https://commits.webkit.org/256140@main




More information about the webkit-changes mailing list