[webkit-changes] [WebKit/WebKit] 3b7a3e: [IFC] Containing DIV with "display: inline; white-...

Alan Baradlay noreply at github.com
Mon Jan 29 21:04:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b7a3e8caba68d7b9a93f4ae63c08d84a0047875
      https://github.com/WebKit/WebKit/commit/3b7a3e8caba68d7b9a93f4ae63c08d84a0047875
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    A LayoutTests/fast/inline/overflowing-inline-box-decoration-in-nowrap-expected.html
    A LayoutTests/fast/inline/overflowing-inline-box-decoration-in-nowrap.html
    M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp

  Log Message:
  -----------
  [IFC] Containing DIV with "display: inline; white-space: nowrap;" is breaking at the gap between two contained elements
https://bugs.webkit.org/show_bug.cgi?id=268323
<rdar://121859917>

Reviewed by Antti Koivisto.

Overflowing inline box decoration (e.g. <span style="border-inline-end: solid 20px blue">) is still considered part of the inline box content
and the inline box's white-space value should apply (as opposed to its parent's style).

* LayoutTests/fast/inline/overflowing-inline-box-decoration-in-nowrap-expected.html: Added.
* LayoutTests/fast/inline/overflowing-inline-box-decoration-in-nowrap.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::InlineContentBreaker::processOverflowingContent const):

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




More information about the webkit-changes mailing list