[webkit-changes] [WebKit/WebKit] eda7c8: [IFC] Fix imported/w3c/web-platform-tests/css/css-...

Alan Baradlay noreply at github.com
Tue Mar 28 07:44:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eda7c8257fb440133f32a650021c22baffd4869f
      https://github.com/WebKit/WebKit/commit/eda7c8257fb440133f32a650021c22baffd4869f
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h

  Log Message:
  -----------
  [IFC] Fix imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html
https://bugs.webkit.org/show_bug.cgi?id=254561

Reviewed by Antti Koivisto.

This is in preparation for supporting out-of-flow/float content only. In such cases text-indent needs to know that there's no line at all in this block container.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::InlineFormattingGeometry::contentLeftAfterLastLine const):
(WebCore::Layout::InlineFormattingGeometry::staticPositionForOutOfFlowInlineLevelBox const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h:

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




More information about the webkit-changes mailing list