[webkit-changes] [WebKit/WebKit] 18c4cc: Check `text-wrap-mode` in `RenderStyle::autoWrap`

Tim Nguyen noreply at github.com
Fri Oct 27 09:25:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18c4cc104b1d78e4441de9e7fca8fe24619df876
      https://github.com/WebKit/WebKit/commit/18c4cc104b1d78e4441de9e7fca8fe24619df876
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h

  Log Message:
  -----------
  Check `text-wrap-mode` in `RenderStyle::autoWrap`
https://bugs.webkit.org/show_bug.cgi?id=263766
rdar://117570756

Reviewed by Alan Baradlay.

This helps towards removing `RenderStyle::whiteSpace()` and the WhiteSpace enum, which are superseded by the longhands equivalents (white-space-collapse / text-wrap-mode).

No behavior change.

* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::autoWrap const):
(WebCore::RenderStyle::autoWrap): Deleted.

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




More information about the webkit-changes mailing list