[webkit-changes] [WebKit/WebKit] a5ff1b: [IFC][Integration][Line clamp] LayoutStateMaintain...

Alan Baradlay noreply at github.com
Wed Nov 23 08:42:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5ff1bcac2f0a234154a1772faf5ec3c7ce645fe
      https://github.com/WebKit/WebKit/commit/a5ff1bcac2f0a234154a1772faf5ec3c7ce645fe
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M Source/WebCore/page/FrameViewLayoutContext.cpp
    M Source/WebCore/rendering/RenderLayoutState.cpp
    M Source/WebCore/rendering/RenderLayoutState.h

  Log Message:
  -----------
  [IFC][Integration][Line clamp] LayoutStateMaintainer should not reset line clamp
https://bugs.webkit.org/show_bug.cgi?id=248257

Reviewed by Antti Koivisto.

Line-clamp is sticky across "layout states" (which we seem to create even when the renderer !needsFullRepaint())

* Source/WebCore/page/FrameViewLayoutContext.cpp:
(WebCore::FrameViewLayoutContext::pushLayoutState):
* Source/WebCore/rendering/RenderLayoutState.cpp:
(WebCore::RenderLayoutState::RenderLayoutState):
* Source/WebCore/rendering/RenderLayoutState.h:

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




More information about the webkit-changes mailing list