Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ffe153e2fe6f90f0126e881234c073caa3869037
      
https://github.com/WebKit/WebKit/commit/ffe153e2fe6f90f0126e881234c073caa3869037
  Author: Alan Baradlay <[email protected]>
  Date:   2022-12-24 (Sat, 24 Dec 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
    M 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
    M 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h

  Log Message:
  -----------
  [IFC][hanging punctuation] Non-whitespace hanging content contributes to 
scrollable overflow
https://bugs.webkit.org/show_bug.cgi?id=249857

Reviewed by Antti Koivisto.

"An overflowing hanging glyph should typically be considered ink overflow so as 
to avoid creating
unnecessary scrollbars, but the UA may treat it as scrollable overflow when the 
content is editable
or in other circumstances where treating it as scrollable overflow would be 
useful to the user"

https://w3c.github.io/csswg-drafts/css-text/#propdef-hanging-punctuation

* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
(WebCore::Layout::Line::isHangingTrailingContentWhitespace const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::horizontalAlignmentOffset):
(WebCore::Layout::LineBoxBuilder::build):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
* 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::InlineDisplayLineBuilder::collectEnclosingLineGeometry const):
(WebCore::Layout::InlineDisplayLineBuilder::build const):
* 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to