[webkit-changes] [WebKit/WebKit] 1e8570: [LFC][Floats] Add FloatingState::hasLeftPositioned...

alan noreply at github.com
Mon Sep 5 10:23:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e857085f6729e460017f4a65639a08ab300be71
      https://github.com/WebKit/WebKit/commit/1e857085f6729e460017f4a65639a08ab300be71
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
    M Source/WebCore/layout/floats/FloatingContext.cpp
    M Source/WebCore/layout/floats/FloatingState.cpp
    M Source/WebCore/layout/floats/FloatingState.h

  Log Message:
  -----------
  [LFC][Floats] Add FloatingState::hasLeftPositioned/hasRightPositioned
https://bugs.webkit.org/show_bug.cgi?id=244786

Reviewed by Antti Koivisto.

* Source/WebCore/layout/floats/FloatingContext.cpp:
(WebCore::Layout::FloatingContext::constraints const): Bail out early when only left/right side floats are present.
* Source/WebCore/layout/floats/FloatingState.cpp:
(WebCore::Layout::FloatingState::append):
(WebCore::Layout::FloatingState::clear):
* Source/WebCore/layout/floats/FloatingState.h:
(WebCore::Layout::FloatingState::hasLeftPositioned const):
(WebCore::Layout::FloatingState::hasRightPositioned const):
(WebCore::Layout::FloatingState::clear): Deleted.

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




More information about the webkit-changes mailing list