Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b7a3e8caba68d7b9a93f4ae63c08d84a0047875
      
https://github.com/WebKit/WebKit/commit/3b7a3e8caba68d7b9a93f4ae63c08d84a0047875
  Author: Alan Baradlay <za...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to